[Discuss] The Register: Forgetting the history of Unix is coding us into a corner

Rich Pieri richard.pieri at gmail.com
Mon Feb 26 15:31:32 EST 2024


On Mon, 26 Feb 2024 14:24:28 -0500
Bill Bogstad <bogstad at pobox.com> wrote:

> If I look into the /tmp/.X11 directory I can see multiple socket files
> which appear to correspond to the $DISPLAY variable that X clients
> use to find their server.   So if you subscribe to the idea that
> /dev/tty is an example of 'everything is a file', then

Local Linux X11 clients typically use Linux abstract sockets, so if
these are X11 clients then this likely is something Ubuntu or XWayland
are doing. On my Debian (IceWM running in xvnc) and Tumbleweed (KDE
Plasma/X11) machines there is no /tmp/.X11. There is /tmp/.X11-unix/Xn,
where "n" is the display number, which is a domain socket that local
X11 clients can use instead of TCP/IP if I'm not mistaken.

-- 
\m/ (--) \m/


More information about the Discuss mailing list