[artix-general] Xorg rootless

Xavier B. somenxavier at posteo.net
Wed May 24 19:45:31 CEST 2023


Hi,

I want to run Xorg without root. I want to follow this guide [1] but obviously it's systemd centric.
How can I achieve this?

I confirm Xorg runs as root:

$ ps -o user= -C Xorg
root


I have lightdm installed

$ ps aux | grep lightdm
root      2499  0.0  0.0 378868  8372 ?        SLsl 19:16   0:00 /usr/bin/lightdm
root      2513  3.7  0.6 646632 99836 tty7     Ssl+ 19:16   1:04 /usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
root      2903  0.0  0.0 234224  8008 ?        Sl   19:16   0:00 lightdm --session-child 14 21
xan       5774  0.0  0.0   9112  2304 pts/0    S+   19:44   0:00 grep --colour=auto lightdm


Can you please provide an specific steps I have to make to achieve that.

Thanks in advance,
Xavier

[1] https://wiki.archlinux.org/title/Xorg#Rootless_Xorg


More information about the artix-general mailing list