News for hackers. Stuff that matters.
Re:Phoenix: A modern X server written from scratch in Zig by hitex on Wednesday December 24, 2025 @06:47PM (#46380586)
The server runs on the machine that allows clients to connect to it. What is the confusing part about this?
Re:Phoenix: A modern X server written from scratch in Zig by cloudfudge on Wednesday December 24, 2025 @08:00PM (#46381092)
The part that is counterintuitive to most people when it comes to the "server" terminology is that, with X, your end-user workstation (which may be an incredibly dumb X terminal) is the "display server", which means you remote into a server (in the traditional sense) elsewhere, which then acts as an X client by making requests to your local machine to display windows.

The way most people think about it, "client" is your local machine and "server" is the remote machine that has lots of applications and is potentially multi-user, but X turns that backwards. The big iron is the client and the relatively dumb terminal is the server.

Re:Phoenix: A modern X server written from scratch in Zig by jeroenhd on Wednesday December 24, 2025 @07:51PM (#46381038)
X has the terminology the other way around compared to all other consumer facing software.

This is because of its mainframe style history and technically it does make sense, it's just that everybody else does things the other way around.

For the people who weren't around in the ancient mainframe times who end up messing with Linux for the first time, this is confusing for a while.

Re:Phoenix: A modern X server written from scratch in Zig by jbverschoor on Thursday December 25, 2025 @05:24AM (#46383506)
Xhost and xapps
Re:Phoenix: A modern X server written from scratch in Zig by quesera on Wednesday December 24, 2025 @07:20PM (#46380841)
I think the confusion is obvious, given a little empathy for the range of people who use computers.

The server is usually a remote machine, especially back in the time when "client-server" architecture was emerging in mainstream (business) vernacular.

Re:Phoenix: A modern X server written from scratch in Zig by bdhcuidbebe on Wednesday December 24, 2025 @07:32PM (#46380922)
The server is not usually a remote machine. The server is the app accepting remote connections.

This has been true for decades.

https://en.wikipedia.org/wiki/Server_(computing)

Re:Phoenix: A modern X server written from scratch in Zig by quesera on Wednesday December 24, 2025 @07:42PM (#46380977)
Please don't imagine that I don't fully understand this.

Nevertheless, it has confused very smart and highly technical people. I have had the entertainment of explaining it dozens of times, though rarely recently.

However, still, a server is usually a remote machine in all common usage. When "the server's down", it is usually not a problem on your local machine.

Re:Phoenix: A modern X server written from scratch in Zig by drdec on Wednesday December 24, 2025 @10:04PM (#46381704)
I think most of the confusion arises because when you are tunneling X via ssh, the X client/server is the reverse of the shh client/server.

Add to that that the user manages the ssh connection while the X connection is managed for them...