Update On Wayland and X11 Support
Phoronix was at the Linux Foundation Collaboration
Summit and has two articles on the status of Wayland and X11
integration. The second talk was about the current
status of Wayland, and its impending release (version 1.0 is due
this summer). The developers also have an experimental GNOME-Shell
working on Wayland. There's a (kind of shaky) video of this
talk (attached, and at youtube for those wanting the html5
version). The first talk (by Keith Packard) covered X11
support on Wayland. It's basically ready to go, but window
management is implemented only as a hack right now. The next year
could be quite exciting for GNU/Linux and BSD users as distributions
begin including Wayland as an alternative to X.org.
Someone enlighten me, why Wayland?
-- 4 8 15 16 23 42
Okay so I understand the whole desire to toss out X and it's extreme amount of legacy code, but Wayland to me seems like even at version 1 will be crippled compared to X. The no network transparency I can handle (just barely), but no apps that require full OpenGL? I've tinkered around with OpenGL ES in the past and it does not seem like an acceptable substitute when you need full OpenGL. Why are distros planning on adopting it so quickly? Are these flaws that normal users would not notice or care about?
To start with: the best wayland-related comment of all time appeared right here on slashdot:
http://tech.slashdot.org/comments.pl?sid=2699657&cid=39198273
Second, please note that all comments in this post are regarding unix or linux as a desktop operating system as opposed to HPC or server-based usage.
Now to move on: Currently the only wayland compositor implementation is weston. Weston requires kms, which makes it pragmatically linux-only, and it also requires udev, which makes it *actually* linux-only. To compound the problem, the developers are talking about integrating it with systemd. When asked how that will affect porting efforts, developer response was along the lines of "just port systemd to bsd."
Wayland is meant to replace x.org entirely, but it simply replaces the overcomplicated xorg ecosystem with an overcomplicated mess of build-time dependencies while removing all of the features that have kept x11 on top. To make the whole situation an absolute joke, x11 integration is regarded as the most important part of wayland's code.
Fedora and Ubuntu want to switch to Wayland entirely. This is another in a series of awful interface decisions that have lead to things like Linux Mint and Scientific Linux creeping up and taking userbase away from what have been powerhouses. What I can't figure out is why no overarching community has arisen among the 'conservative' linux users. There's clearly a lot of backlash to the ridiculous things going on at freedesktop.org -- xcb, wayland, systemd, journald, et al -- but there seems to be no alternative standards committee coalescing... and that will be the death of linux as an alternative for power users.
Comment removed based on user account deletion
Comment removed based on user account deletion
One of the features that always distinguished X from other display systems like Mac and Windows has been network transparency. You can ssh to another Linux system, start an X application, and that X application will appear on the system you ssh'd from. This is immensely useful and evidence of a well-thought-out design, but it's an afterthought to Wayland. They say they might be able to render to a VNC server, but VNC works like crap and is full-desktop forwarding rather than individual window forwarding.
It's extremely ironic that when X was created in the 80s they recognized the importance of distributed systems and network transparency, but now it's 2012, the Internet and the cloud is king, yet network transparency isn't a core feature.
All this because you can't cross-fade when switching VTs in X or have a "rotating cube" animation (see "Is wayland replacing the X server").
A shaky 15-minute amateur video of a powerpoint presentation? WHY
In Unix/X parlance, the 'window manager' is distinct from, and higher-level than, the 'windowing system'. XFree86 and X.org are display servers like Wayland but have also taken over the job of being a windowing system. In contrast, examples of window managers are twm, openbox, compiz, etc.
Take off every sig. For great justice.
Remote Desktop on Windows seems to be somewhat more intelligent then just "screen scraping".
Similarly, VNC on Linux can be like this.
But by far the best solution I've encountered is x2go, which is based on NX, which notably just caches and removes some of the overhead of straight networked X.
Surely, the better answer here would be to tackle that problem - implement a well behaved network protocol.
Comment removed based on user account deletion
My understanding is Wayland is not ready for prime-time just yet, but when distros start using it will have X11 legacy support to handle stuff like this.
By putting a 1.0 out there they are telling developers of X11 apps to start planning/testing/adapting.
VNC or RDP does not replace the network transparency of X. it would just be a terrible kludge to get around lost core functionality.
---- Booth was a patriot ----
Discussions of Wayland on Slashdot tend to be all about a lack of network forwarding or missing features, so I think I'll share some of the positive things I expect to see from Wayland:
I'm not aware of any X.org implementation that's gotten 60 FPS on an embedded GPU. That's not me trying to knock X.org, say anyone should stop using it, or say people need to "upgrade" to Wayland before it's feature-complete. That's me recognizing the reality of X.org not being "one size fits all" in a world where embedded or mobile Linux (think Android) outsells (and out-deploys) Linux on big core 10 or maybe 100-to-1.
Disclaimer: A big part of my job of performance optimization of applications on Linux running on mobile devices.
Except that it requires the x server (or wayland/etc) to be RUNNING on the remote machine. With remote X, I can cold-boot a machine that doesn't even have x11 *installed*, and then ssh -X into it and run any gui application I want, without EVER having to install OR RUN x11 on the remote machine. THAT is the true power of remote X.
A compositor plug-in can track changes & present this using VNC server protocol. It doesn't exist yet because it's not the focus, but it's fairly easy. Then the VNC Client under Wayland works like most any other client. Someone started on it for a Google Summer of Code project last year, but didn't finish.
Science & open-source build trust from peer review. Learn systems you can trust.
In Wayland the client draws the window borders (and before you blurt out "but they will be different from each other and 'confuse the user'" be aware that nothing on X makes anything other than the window borders draw identically, but somehow there are all these applications where they draw their own scrollbars and buttons and text editors and they all look alike and fail to "confuse the user".)
X ICCCM window management was invented before there were shared libraries, so now there is a huge messy complex api built on top of the limited atom+value and signalling that existed in X11. Having written a toolkit (fltk) I can confirm that talking to the window manager literally takes 10 to 20 times as much code as if I drew the window borders myself. And we still have horrific problems where various window managers disagree on whether a window should vanish when the app loses focus and how "stay on top" should work, and we can't put the most trivial buttons or items in the window pulldown menu, something Windows allows and is making it increasingly difficult to port applications from Windows.
Wayland wisely has decided to scrap this mess by having the clients draw the borders.
Emulating X is trivial if you just work with the windows the X client knows about and repliate them on Wayland. The problem is that all that ICCCM stuff will need to be interpreted by something and draw window borders as well. It is not clear if this should be done by a local "act like xlib" library, or by a fake X server, or by an actual X11 window manager running on the fake X server. That's why window management is currently a "hack" because this has not been decided.
No you can't. You need the X11 client installed to talk the X protocol. You don't need to be running a desktop (X11 server) but you absolutely need X11.
I was running OpenGL stuff from a IRIX box in the next building on a fairly low end linux box with a low end 3D card in 2000, and it worked better than you describe. Just about everything that runs X now, including any recent purpose built terminal, is a hell of a lot better than that now.
My desktop machine at work now is getting a bit old so I'm actually posting this using firefox on a fairly fast cluster node via X. While that's not 3D some of the geophysics stuff my co-workers use involves a lot of 3D content, and I've played with Blender on some nodes during setup to see how they handle it. That's with Nvidia's accelerated driver in nearly every case.
By the way, what's the "modern CAD system"? I'm only familiar with the old stuff (I'm putting the most recent AutoCAD in that category since it hasn't really changed in years and is low end anyway) so you may have a point I'm not aware of.