Hacker News new | ask | show | jobs
by rascul 1342 days ago
I see /usr/X11R6 and it brings back memories of when Linux distros separated X in such a manner. Then I realized that r6 is kinda old.
3 comments

OpenBSD's X distribution (xenocara) is based on X11R7.7 + updated components, it's just a historical naming convention. Other systems have merged X into /usr or /usr/local, OpenBSD kept the install prefix.

https://man.openbsd.org/hier

OpenBSD does not run the X server as root, so it does have a security benefit over more modern systems.

  USER       PID %CPU %MEM   VSZ   RSS TT  STAT   STARTED       TIME COMMAND
  _x11     71289  0.0  0.6 11164 24992 ??  S       9:06AM    0:00.41 /usr/X11R6/bin/X :0 vt05 ...
  root      2878  0.0  0.0  2696  1412 ??  IpU     9:06AM    0:00.04 X: [priv] (Xorg)
I understand that their malloc conversion from sbrk to mmap flushed out some long-standing X bugs as well.

http://www.undeadly.org/cgi?action=article&sid=2005082419031...

Do you remember what distro used to do this?
All of them that I can remember. Note that this is from the '90s. At some point they all merged the X stuff into /usr. Maybe it was with the x.org switch, as XFree86 does indeed mention /usr/X11R6 in the docs.

https://xfree86.org/4.8.0/Install4.html#6

Ah, you meant as a directory. Sure, I remember that, I just thought you meant as a partition.