329 points · by emillon · 12y ago · 65 comments
X11's client-server model is seriously underappreciated, and the continuing efforts to make X behave exactly like Microsoft Windows frequently forget about network transparency.
Conversely, trying to make X behave like Microsoft Remote Desktop is often unreasonably painful. I've not yet seen a nice solution for detaching and reattaching X applications like screen(1)
https://github.com/magcius/xplain/blob/gh-pages/src/server/s...
It's fake in a lot of ways, especially in its input model. It's well-commented and designed as a codebase to learn from, not as a real implementation of an X server that's reusable.
Unfortunately, while it appears to run just fine under Safari, the window inspector is broken. It's not vertically splitting the area and putting the attributes on the right; it's horizontally splitting and putting the attributes below the window list, except there's no room to see any of the attributes like that.
It seems a real shame for the layout of the window inspector to be the only compatibility issue with Safari. Any chance you can get that fixed?
Wayland's model is much more likely to end up with useful network support.
Modern graphics simply does not scale across networks naively.
And yet every single time someone brings this up, plenty of people chime it that it is useful, because they're using it. Unless RDP and VNC have fixed their performance problems and don't break UI flow by putting the whole remote desktop in a separate window (instead of making windows for remote apps seamless), then many would contend that RDP and VNC don't give better results.
And yet Wayland keeps steamrolling over these objections. Oh well, at least they finally admitted that network support isn't just some useless toy that can be added on later, "if anybody even uses it".
I should really do a Show HN of my X11rdp-o-Matic script, which automatically builds and installs X11rdp/xrdp from the github repo - it's been in existence for 2 years and I update the script(s) with enhancements from time to time.
xrdp and the X11rdp back-end X server is in constant and full development, with an actual Xorg module being worked on as well.
Edit: Indeed, I just submitted a Show HN at https://news.ycombinator.com/item?id=8021592
It bills itself as "screen for X"
A big problem with xpra in myind is that the wire protocol doesn't even try to be version independent. If you're using slightly different versions on client and server, it just falls down.
If you're using distro packages this is fine e as long as all clients and servers are similar enough to have overlap in the versions that they package. Otherwise you're building from source on every client and server, on various platforms.
Really, a big part of Wayland is that there isn't much there. It's not a ridiculously complicated system to explain with lots of extensions, you're just having clients pass image files around and get streams of messages for input. The easiest way to get a feel for the system is to use the built-in protocol dumper:
$ WAYLAND_DEBUG=client weston-terminal
... or so... and that's it, that's the entire system.If anybody has any more questions on Wayland internals, I'll certainly consider writing a series of articles on it.
So I don't know much about the wayland architecture outside of the docs and Daniel Stone's linux.conf.au talk on it. It seemed like a clean and smart replacement to what X has become, after using it for a while have you run into any serious limitations or is everything still going along smoothly?
I've poked my head in a few times, but is there anywhere good to keep up on progress other than the mailing lists?
http://cgit.freedesktop.org/wayland/weston/tree/src/composit...
I haven't been so excited about a piece of software for ages. Reading this and looking at demos gives me the same feeling of amazement I got reading paper magazines when I was younger. Exploring floppies included with books, hearing the modem connecting for the first time, short pause, stream of characters before the login prompt. Magical.
Thank you Jasper_ for doing this and emillion for the link.
It's a super convenient workflow for me, and there's nothing else like it in my opinion. If there is, please let me know! I hate rsync / scp for deploying static sites, but that's the best thing we have right now.
http://www.x.org/releases/current/doc/libX11/libX11/libX11.h... http://www.x.org/releases/current/doc/xorg-docs/icccm/icccm....
I haven't read the tutorial, so maybe that's perfectly OK.
Today's xkcd is relevant :( ( http://xkcd.com/1393/ )