The irony
The irony
Posted Nov 5, 2010 2:37 UTC (Fri) by martinfick (subscriber, #4455)Parent article: Shuttleworth: Unity on Wayland
Posted Nov 5, 2010 3:00 UTC (Fri)
by bjacob (guest, #58566)
[Link] (23 responses)
* in the network-transparent X desktop, the graphics are (at least partially) done *server-side*. So we're killing ourselves doing roundtrips between the client and the server (so GUI snappiness is hurt by network latency), and we don't scale as we tax the poor server too much.
* in modern web apps, the graphics are done on the *client side* (in the browser, in JS). No round trips, and newer web standards (canvas! WebGL!) allow web apps to do client-side the same graphics operations that a local application could do, with WebGL even giving fairly direct access to the GPU.
Posted Nov 5, 2010 3:14 UTC (Fri)
by martinfick (subscriber, #4455)
[Link] (22 responses)
Posted Nov 5, 2010 3:33 UTC (Fri)
by bjacob (guest, #58566)
[Link] (9 responses)
Then, about your point that least the network transparency of X should come for free when the server is local --- no idea, letting others reply here. But what's the point of a network protocol if it's going to be less and less used with remote servers.
Posted Nov 5, 2010 11:47 UTC (Fri)
by sorpigal (guest, #36106)
[Link] (8 responses)
Posted Nov 5, 2010 12:58 UTC (Fri)
by ibukanov (subscriber, #3942)
[Link] (7 responses)
Over the network VNC have been working better for me than X especially on high-latency links. That tells that from a practical point of view X alone does not provide the right answer.
Posted Nov 5, 2010 15:23 UTC (Fri)
by drag (guest, #31333)
[Link]
VNC is not the only game in town, of course. X Windows networking is, indeed, very very cool. But it's been a very long time since it had any sort of monopoly over remote applications.
Windows users have been enjoying Windows-apps-over-internet for many many years now.
Does anybody have a good how many people use 'Go to My PC'? It's a huge number and they all do it over the internet and it works far better, far easier, then X Windows does.
Posted Nov 5, 2010 15:54 UTC (Fri)
by deepfire (guest, #26138)
[Link] (5 responses)
As I've already said below, if you want an apples to apples comparison see Nomachine's NX. As I said, I use it daily, and my experience is extremely positive.
And yes, it's open source.
Posted Nov 6, 2010 22:17 UTC (Sat)
by ceswiedler (guest, #24638)
[Link] (4 responses)
NX is excellent and I highly recommend it for remote X access, even on a local network since it provides session restoration and "just works". From what I understand, it compresses extremely well due to the nature of the X protocol, since it can see when things actually need to be sent to the client. A VNC or RDP server by comparison only has the final rendered product.
Posted Nov 7, 2010 11:24 UTC (Sun)
by deepfire (guest, #26138)
[Link] (3 responses)
The sources for the core transport libraries are all there.
The missing stuff is the end-user application code, which they make money from.
Posted Nov 7, 2010 20:41 UTC (Sun)
by dtlin (subscriber, #36537)
[Link] (2 responses)
http://www.nomachine.com/redesigned-core.php
Posted Nov 7, 2010 21:27 UTC (Sun)
by rahulsundaram (subscriber, #21946)
[Link] (1 responses)
Posted Nov 8, 2010 17:12 UTC (Mon)
by dtlin (subscriber, #36537)
[Link]
neatx is a wrapper for the 3.x NX core libraries, much like NoMachine's nxserver.
It does not support the NX 4.0 progress, and never will because there's nobody working on it anymore and the libraries are not open.
Posted Nov 5, 2010 3:42 UTC (Fri)
by davide.del.vento (guest, #59196)
[Link] (8 responses)
Posted Nov 5, 2010 4:17 UTC (Fri)
by dlang (guest, #313)
[Link] (2 responses)
over high-latency links X performs poorly because it serializes everything and so you have a huge number of round trips, but since these are very standard messages that have the same answer for all applications, most of this data can be cached and replied to locally, eliminating the network latency. there's still the message passing and parsing latency, and most of these messages could be combined to save that, but still keep the network transparency in place.
Posted Nov 5, 2010 13:30 UTC (Fri)
by rgoates (guest, #3280)
[Link] (1 responses)
Posted Nov 6, 2010 3:42 UTC (Sat)
by mfedyk (guest, #55303)
[Link]
please explain why nx hasn't become the wire protocol for x...
Posted Nov 5, 2010 7:32 UTC (Fri)
by kevinm (guest, #69913)
[Link]
if a user click a button, that info must go to the server to decide what that button does, right? and latency is there to kill us... Not necessarily. We can solve the problem in the same way that web applications do: provide a lightweight VM on the UI side, and allow the application to push small chunks of bytecode down to the UI to tell it how to respond to things like button-pushes.
Posted Nov 5, 2010 16:03 UTC (Fri)
by deepfire (guest, #26138)
[Link] (3 responses)
So, there are these Nomachine people from Italy, and they seem to have done some pretty good open-source work on optimising the hell out of the X protocol implementation.
At least I use NX daily, my experience is very positive and by now I consider it indispensable.
Posted Nov 5, 2010 19:10 UTC (Fri)
by boog (subscriber, #30882)
[Link] (2 responses)
Posted Nov 10, 2010 9:56 UTC (Wed)
by nix (subscriber, #2304)
[Link]
Posted Nov 11, 2010 5:10 UTC (Thu)
by njs (subscriber, #40338)
[Link]
Disclaimer: I wrote it, so any show-stopper bugs affecting me *would* be fixed now, wouldn't they ;-).
Posted Nov 5, 2010 4:41 UTC (Fri)
by jwb (guest, #15467)
[Link] (2 responses)
Another famous one of course was Display PostScript.
Posted Nov 5, 2010 13:14 UTC (Fri)
by vonbrand (subscriber, #4458)
[Link]
Oh, you mean that junk that came with Suns, and made me compile plain X for them on arrival because anything using the display was unbearably slow?
Posted Nov 12, 2010 2:54 UTC (Fri)
by jmorris42 (guest, #2203)
[Link]
And of course it lives. It started at Next and evolved into Display PDF and is still around in the end product of NextStep now known as Apple's OS X. If they can separate the display rendering from the application I really don't understand why this argument is even taking place. If it is possible the argument should be focused on identifying limitations in X that are preventing a similar performing system and how they might be corrected.
Posted Nov 5, 2010 13:16 UTC (Fri)
by alankila (guest, #47141)
[Link] (1 responses)
JavaScript RPC model is actually pretty interesting. The web is evolving to allow the programmer the freedom to select a suitable boundary between client and server. Sometimes you just want dump data frames from server as stream (similar to VNC in browser, it's doable), sometimes you run almost the entire application on client and only send data to server so that it can save the work which really occurred almost completely on the client. In fact, the most extreme design has server just feed the original UI files and afterwards no more interaction with server occurs.
Your comment also seems to be missing the point that linux webapps still do run over X. The browser is a X client. It worries me that you seem to jumble everything together here.
Posted Nov 5, 2010 15:53 UTC (Fri)
by lacostej (guest, #2760)
[Link]
and buffered on the client side !
The irony
The irony
The irony
I strongly disagree. X does network transparency at the right level, or at least a much better level than any other current system.
The irony
The irony
The irony
* Microsoft RDP
* Redhat Spice
The irony
The irony
The irony
The irony
The new core of NX 4.0 is made up of a set of libraries written from the ground up to ensure portability, flexibility and state-of-the art performance. NX 4.0 core libraries will not be made open source. Although NX 3.x core compression technology and earlier versions will remain GPL, NoMachine engineers will not be developing the code further.
The irony
The irony
The irony
Nevertheless, running remote X apps on the network, can be painful. I speak because we do that. One day we had a dozen laptops, connecting wireless to a single router, running interactive X sessions on a system in the basement. It sucked.
I'm sure we could improve the X protocol and make it much faster, but I am not sure we can improve it enough (e.g. if a user click a button, that info must go to the server to decide what that button does, right? and latency is there to kill us...)
Now completely killing network transparency doesn't solve the problem either, or does it? Besides that installing some exotic "hi performance" stuff in our "basement machine" would be almost impossible.... Or is wayland transparent on the "basement machine" and requires only stuff on the laptops?
The irony
The irony
The irony
The irony
The irony
NX and others
NX and others
NX and others
The irony
The irony
Another famous one of course was Display PostScript.
The irony
The irony
The irony