Yeah!, I previously checked the wiki archlinux.
I think one of the options is install ly (I use XFCE4).
I use lightdm but -rc package is not installed? Is it strange?
$ rc-update
acpid | default
agetty.tty1 | default
agetty.tty2 | default
agetty.tty3 | default
agetty.tty4 | default
agetty.tty5 | default
agetty.tty6 | default
binfmt | boot
bluetoothd | default
bootmisc | boot
cgroups | sysinit
chrony | default
connmand | default
consolefont | boot
cronie | default
cupsd | default
dbus | default
devfs | sysinit
dmesg | sysinit
elogind | boot
fsck | boot
hostname | boot
hwclock | boot
keymaps | boot
killprocs | shutdown
kmod-static-nodes | sysinit
local | default nonetwork
localmount | boot
loopback | boot
ly | default
modules | boot
mount-ro | shutdown
mtab | boot
net.lo | boot
netmount | default
opensysusers | boot
opentmpfiles-dev | sysinit
opentmpfiles-setup | boot
procfs | boot
root | boot
save-keymaps | boot
save-termencoding | boot
savecache | shutdown
seedrng | boot
swap | boot
sysctl | boot
sysfs | sysinit
syslog-ng | default
termencoding | boot
tlp | default
udev | sysinit
udev-trigger | sysinit
ufw | default
xdm | default
[xan at coronari ~]$
ps aux | grep lightdm
root 2698 0.0 0.0 378868 6856 ? SLsl 14:51 0:00 /usr/bin/lightdm
root 2712 2.1 0.6 647864 111148 tty7 Ssl+ 14:51 0:13 /usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
root 3104 0.0 0.0 234264 8032 ? Sl 14:51 0:00 lightdm --session-child 14 21
xan 4688 0.0 0.0 9112 2388 pts/0 S+ 15:02 0:00 grep --colour=auto lightdm
Anyone knows what happens?
Xavier
On Wed, 24 May 2023 21:38:40 +0200
artist <artist at artixlinux.org> ha escrit:
> Hi Xavier,
>
> lightdm does not support root-less X:
> Note that some populardisplay managers
> <https://wiki.archlinux.org/title/Display_manager>do not support
> rootless Xorg (e.g.LightDM
> <https://github.com/canonical/lightdm/issues/18>orXDM
> <https://wiki.archlinux.org/title/XDM>).
>
> I use greetd for this, and there should be more alternatives.
>
> artist
>
> On a bended knee, or systemd, you will never live free
>
> On 5/24/23 19:45, Xavier B. wrote:
> > 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