4 ms·
The X server on a modern Linux system hasn't run as root since around 2013 or so.
by Jasper_ 5y ago
The X server on a modern Linux system hasn't run as root since around 2013 or so.
- chasil 5y agoUnfortunately, that didn't make it into CentOS 7. # cat /etc/redhat-release; ps aux | grep X\ :0 | grep -v grep Red Hat Enterprise Linux Server release 7.9 (Maipo) root 2114 0.0 0.1 380804 33900 tty1 Ssl+ Aug03 0:51 /usr/bin/X :0 -background none CentOS 8 does appear to run without root. Maybe someday I can use it in production. # cat /etc/redhat-release; ps aux | grep Xorg | grep -v grep Red Hat Enterprise Linux release 8.4 (Ootpa) gdm 1967 0.0 0.0 1586600 21436 tty1 Sl+ Jan13 2:38 /usr/libexec/Xorg vt1 I was not aware that this had happened.