LWN.net Logo

NX for Wayland?

NX for Wayland?

Posted Apr 9, 2012 14:37 UTC (Mon) by littlesandra88 (guest, #64017)
Parent article: The state of Wayland

NoMachine is in the process of close sourcing their NX server/client which heavy uses X11 sources.

http://www.nomachine.com/sources.php

Can something like NX/FreeNX/NeatX be done with Wayland?


(Log in to post comments)

NX for Wayland?

Posted Apr 9, 2012 14:54 UTC (Mon) by quartz (guest, #37351) [Link]

Not that I doubt it, but where did you see that they're closing the source? The front page still states it's "open", for some measure of open.

NX for Wayland?

Posted Apr 9, 2012 15:44 UTC (Mon) by hans (subscriber, #148) [Link]

Not that I doubt it, but where did you see that they're closing the source? The front page still states it's "open", for some measure of open.

It was in the press release for version 4:

This release marks an important milestone in the history of the company. Version 4 of the software, in fact, will be only available under a closed source license.

NX for Wayland?

Posted Apr 9, 2012 16:10 UTC (Mon) by drag (subscriber, #31333) [Link]

> Can something like NX/FreeNX/NeatX be done with Wayland?

What I would like to see is a virtual video driver for the Linux kernel in order to implement SPICE support on real hardware. (SPICE depends on virtualized hardware to provide it's connects)

Then I would also like to see a WAN profile for SPICE. Currently it seems to only be really good for LAN connections.

That way instead of just having your GUI work over the network you have _everything_ work over the network. Virtual consoles, framebuffers, and anything else. Any sort of video output post-initrd would be able to be sent over the network.

NX for Wayland?

Posted Apr 9, 2012 16:23 UTC (Mon) by njs (guest, #40338) [Link]

But making this usable for unprivileged users would be... tricky.

NX for Wayland?

Posted Apr 9, 2012 16:24 UTC (Mon) by drag (subscriber, #31333) [Link]

Yes. You would have to treat it like a multihead workstation were you have a video card dedicated for each user.

NX for Wayland?

Posted Apr 9, 2012 17:48 UTC (Mon) by slashdot (guest, #22014) [Link]

Surely userspace can just send the command buffers over the network rather than to the DRM driver?

Don't see much point in using a kernel driver.

NX for Wayland?

Posted Apr 9, 2012 17:51 UTC (Mon) by Cyberax (✭ supporter ✭, #52523) [Link]

Nope. Command buffers are too huge for that.

NX for Wayland?

Posted Apr 9, 2012 20:46 UTC (Mon) by littlesandra88 (guest, #64017) [Link]

Why is Spice hard to implement in Wayland? Isn't it just a protocol?

Or is Wayland the problem rather than Spice?

NX for Wayland?

Posted Apr 9, 2012 21:06 UTC (Mon) by Cyberax (✭ supporter ✭, #52523) [Link]

Spice is not particularly hard to implement for Wayland. But nobody got around to doing this.

NX for Wayland?

Posted Apr 10, 2012 7:26 UTC (Tue) by pbonzini (subscriber, #60935) [Link]

> What I would like to see is a virtual video driver for the Linux kernel in order to implement SPICE support on real hardware.

You mean like XSpice?

NX for Wayland?

Posted Apr 10, 2012 9:29 UTC (Tue) by nix (subscriber, #2304) [Link]

Oh, is that what XSpice does? It's hard to tell: the page you link to never actually says what it is. Actually I'm still not sure. Is it an X video driver that sends the image over a spice connection to a remote client? (If so, that's not going to work for anything but X.)

NX for Wayland?

Posted Apr 11, 2012 18:35 UTC (Wed) by Lennie (subscriber, #49641) [Link]

Basically it seems to be a 'virtual GPU' (driver) for X.org:

http://lists.freedesktop.org/archives/xorg-announce/2010-...

But the same principle obviously can be applied to Wayland...?

NX for Wayland?

Posted Apr 13, 2012 13:50 UTC (Fri) by nix (subscriber, #2304) [Link]

Oh, hang on, it's just another name for x86-video-qxl. Of course. *slaps self*

NX for Wayland?

Posted Apr 13, 2012 14:08 UTC (Fri) by nix (subscriber, #2304) [Link]

That would be xf86-video-qxl and my fingers are dropping keys and LWN needs an edit option and a pony.

NX for Wayland?

Posted Apr 9, 2012 19:26 UTC (Mon) by geofft (subscriber, #59789) [Link]

You can get a lot of what NX does today with xpra.

NX for Wayland?

Posted Apr 9, 2012 20:57 UTC (Mon) by littlesandra88 (guest, #64017) [Link]

That sure looks promising!

How is performance compared to FreeNX/NeatX?

try xpra

Posted Apr 10, 2012 15:32 UTC (Tue) by amtota (guest, #4012) [Link]

Try the x264 support currently in trunk (no releases yet), according to the preliminary figures we have it is an order of magnitude more efficient than anything (open-source) out there.

It is lossy but more than good enough to use a terminal over it, and if you really must have a pixel perfect image then use png encoding.

try xpra

Posted Apr 11, 2012 19:42 UTC (Wed) by littlesandra88 (guest, #64017) [Link]

That's very impressive!

How will Wayland affect xpre, when Fedora and Ubuntu adopts Wayland?

try xpra

Posted Oct 10, 2012 8:20 UTC (Wed) by amtota (guest, #4012) [Link]

First, it looks like Wayland adoption is not going as fast as originally thought.
Second, although there are talks of remoting support in Wayland, it does not look like this is going to have anywhere near feature parity with xpra: no video/lossy compression, not support for re-connection, etc...

NX for Wayland?

Posted Apr 12, 2012 22:36 UTC (Thu) by przemoc (subscriber, #67594) [Link]

Thank you for mentioning xpra! I wasn't aware of this "screen for X" tool till today. Works fine.

NX for Wayland?

Posted Apr 12, 2012 22:44 UTC (Thu) by przemoc (subscriber, #67594) [Link]

By the used semantics, I should call it "tmux for X" after all...

NX for Wayland?

Posted Apr 9, 2012 20:25 UTC (Mon) by sciurus (subscriber, #58832) [Link]

"Jesse has been playing around a bit with some remote Wayland support using libvncserver. He's apparently had some success with this and expects to push some code upstream soon." - from http://www.phoronix.com/scan.php?page=news_item&px=MT...

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds