4 ms·
Confusingly, in classic X Window terminology, the "server" is the display manager running on the user's workstation, and the "client" is the application running
by Animats 3y ago
Confusingly, in classic X Window terminology, the "server" is the display manager running on the user's workstation, and the "client" is the application running on a remote machine that wants to display something. This article uses that terminology.
- lproven 3y agoBecause that is the correct terminology in this context.
- taeric 3y agoHonestly, this isn't that confusing. I think even back in the day, it didn't take long to understand the reasoning behind this naming.
- ssl-3 3y agoIt's OK terminology. In networking, clients usually initiate the connection to a server, a server is usually intended to be able to serve multiple clients, and servers tend not to talk much with other servers that might exist on a network. And that's how it be with the X Window System.
- starspangled 3y agoWell, and obviously X is providing a windowing and drawing service to the clients. Doesn't matter who initiates the connection or the M:Nness of the communication, X is providing the service to the applications, and they are not performing any service for X.
- lproven 3y agoYup. Compare: Windows Services for Linux.
- kazinator 3y agoIt's the reverse that would be confusing. Your "web client" would have to be called an "X server"! I suspect the X terminology is confusing to two groups of people: 1. Those who are used to the idea that when the computer and the display are separated by distance, the local display is a mirror of the remote machine's desktop, courtesy of a service on that machine to which the local display connects as a client. X isn't a remote desktop mirroring protocol, though; those people have the wrong model. 2. Those who are used to the idea that a server is something that runs in the background (daemon), not visible in the desktop. How can the X desktop be the server, when it's shoving pixels in your face, right in the foreground? Well, you know, someone serving you a punch also does it in your face.
- ajross 3y agoAn X Server is a server in exactly the same way and for the same reason that a web server is a server (or a database server, or a file server, or a DNS server...). It runs in perpetuity and waits for connections from ephemeral clients who will direct it to do stuff. I genuinely don't know anyone who remained confused about this once this was explained to them the first time.
- Karellen 3y agoOne slight variation on that way of thinking about it - a server mediates access to a resource for its clients. A file server mediates access to a file system; clients connect to access files. A database server mediates access to a collection of data; clients connect to access data. A print server mediates access to a printer; clients connect to access the printer. And an X server mediates access to the graphics device; clients connect to access the display and its related peripherals (keyboard, mouse).
- glhaynes 3y agoI think a key part of why this was confusing to many back in the day was that the big thing at the time was "client-server computing". If you wanted to do email on your home computer, you'd [buy and] install an email client. You wanted to go on AOL? Install the AOL client. Need to use Lotus Notes? Have MIS send a guy over to install the Notes client. Wanted to run X programs? Install an X server. What? Seemed weird! You still hear that terminology some, but nowadays you're much more likely to hear about an email app.
- ShamelessC 3y ago> I think a key part of why this was confusing to many back in the day was that the big thing at the time was "client-server computing". Anecdata, but that's why it's confusing to me even today.
- shrimp_emoji 3y agoYep. Networking was the beginning of the end of anything comprehensible.
- krallja 3y agoI still don’t know the difference between “upstream” and “downstream!” Envoy uses the opposite definitions from what I’m used to. And has a perfectly cromulent explanation for why; I’m convinced. But now I don’t know why I started calling them the opposite.
- magicalhippo 3y ago> I still don’t know the difference between “upstream” and “downstream!” I just envision being Darkly Noon, sitting at the river bed, watching the giant shoe floating into view from upstream, going downstream. Anything else don't make sense.
- krallja 3y ago
- somat 3y agoConsider a print server. clients connect to it, pictures come out. a display server is the same. clients connect to it to print pictures and get user input.
- p_l 3y agoFunnily enough, both macOS (and nextstep and iOS, though differently combined) have a "windowserver" that applications are clients of, similarly BeOS, and even Windows NT pre NT4 and since DWM. It's the MacOS Classic and GDI and similar direct-to-hw toolkits that are now outliers