4 ms·
X protocol remoting is almost never what you want; with the client / server relationship swapped, all[1] the apps that you're running die once you disconnect. I
by barrkel 14y ago
X protocol remoting is almost never what you want; with the client / server relationship swapped, all[1] the apps that you're running die once you disconnect. If you assume unreliable networking - not rare at all in many remote work scenarios - it's a recipe for frustration.
[1] Yes, I know there are exceptions.
- rwmj 14y agoPlease don't tell me what I "almost never want", considering it's a feature that I do use all the time. My LAN is quite reliable and fast, thanks very much.
- AnthonBerg 14y ago+1 ... X protocol remoting is amazing.
- slurgfest 14y agoAmazing until a connection times out and apps close without being resumable
- rwmj 14y agoOn a LAN this doesn't happen unless the power goes down.
- AnthonBerg 14y agoDoesn't happen with NX.
- goodside 14y agoIt's not that everybody almost never wants it, it's that almost nobody ever wants it.
- apendleton 14y agoProbably should have been "almost never what one wants," but that's quibbling over English. Even if it were true that there were no mechanism for doing remoting on Wayland (which isn't the case; remoting just moves to a separate layer in the stack, as handled by NX or VNC or whatever), it would still be a reasonable sacrifice, because it's not what most users want. Doing X remoting is the exception, not the rule, and there's no reason for the *nix world to get stuck in the Windows mentality of having to be backwards-compatible with every application and protocol written since the dawn of time. Having a huge networking layer shoved into the middle of the display stack has measurable costs in terms of both maintainability and performance, and users that have any use case other than yours suffer as a result. Android, which is now the most-installed Linux "distribution" (such as it is) ever, had to invent its own display layer because X was a terrifying, bloated hacktastrophe, and they come up with something specific to their platform such that now no other Linux users can benefit from any of their display work. That sucks. Keeping network transparency as a core feature doesn't pass the cost-benefit smell test.
- webreac 14y agoWell, having spend all my day on an Xterminal, I think you are stuck in Windows mentality. Unix mentality is network transparency. Just inform you about plan9. In unix, you do not care where your program is running, it just runs and you can interact with it on your X server. VNC is windows mentality and it just happen to be useful on unix because X toolkit layers are network hogs.
- apendleton 14y agoI haven't owned or operated a Windows machine in almost a decade, and have ten terminal tabs open as we speak; pretty sure my Unix cred is intact, thanks. And I thought the Unix philosophy was to do one thing and do it well (Wikipedia agrees: http://en.wikipedia.org/wiki/Unix_way#McIlroy:_A_Quarter_Century_of_Unix http://en.wikipedia.org/wiki/Unix_way#McIlroy:_A_Quarter_Cen... ). Separating the thing that paints the screen from the thing that pushes pixels over the network seems in perfect keeping with this philosophy. Bash isn't network-transparent; if you want to use it over a network, you use SSH.