On 8/27/19 2:41 PM, Ken Moffat via blfs-dev wrote:
I've now spent far too much time looking at all manner of articles
and threads about rootless Xorg without systemd. My gut feeling now
is that, for a machine without systemd and multiple users on
different seats, old suid X is a working solution.
I've also tried various ways of snooping on why I can't get perms
for input devices, with no useful results.
However, I've apparently built all the infrastructure for what is
currently in the book (except that I want to run fluxbox rather than
twm, which I did not build). So, beforeI rip elogind out of my
builds, can anyone please offer .xinitrc scripts (hopefully,
minimal: mine are anything but) which work with rootless X using
elogind, plus a note of which video driver (and I suppose input,
i.e. full libinput or just evdev) is being used ?
$ ll /opt/xorg/libexec/
total 17820
-rwxr-xr-x 1 root root 18206928 Aug 16 15:09 Xorg
-rwsr-xr-x 1 root root 30728 Aug 16 15:09 Xorg.wrap
drwxr-xr-x 2 root root 4096 Aug 16 15:24 libinput
Fri 16 Aug 2019 03:20:59 PM CDT
/usr/src/xc/drivers/libevdev/libevdev-1.7.0.tar.xz
Fri 16 Aug 2019 03:21:53 PM CDT /usr/src/mtdev/mtdev-1.1.5.tar.bz2
Fri 16 Aug 2019 03:23:07 PM CDT
/usr/src/xc/drivers/evdev/xf86-input-evdev-2.10.6.tar.bz2
Fri 16 Aug 2019 03:24:07 PM CDT
/usr/src/xc/drivers/libinput/libinput-1.14.0.tar.xz
Fri 16 Aug 2019 03:26:33 PM CDT
/usr/src/xc/drivers/input-libinput/xf86-input-libinput-0.29.0.tar.bz2
Fri 16 Aug 2019 03:28:32 PM CDT
/usr/src/xc/drivers/fbdev/xf86-video-fbdev-0.5.0.tar.bz2
Fri 16 Aug 2019 03:29:20 PM CDT
/usr/src/xc/drivers/nouveau/xf86-video-nouveau-1.0.16.tar.bz2
$ cat /etc/X11/xorg.conf.d/nvidia.conf
Section "Device"
Identifier "nvidia"
Driver "nouveau"
#Option "AccelMethod" "glamor"
EndSection
$ ps -ef|grep elog
root 1069 1 0 Aug25 ? 00:00:00 elogind-daemon
$ cat .xinitrc
session=${2:-xfce}
dbus="dbus-launch --exit-with-session"
case $session in
fluxbox ) exec startfluxbox ;;
icewm ) exec icewm-session ;;
openbox ) exec openbox-session ;;
sawfish ) exec sawfish ;;
kde5|plasma ) exec /opt/kf5/bin/startkde ;;
xfce|xfce4 ) exec $dbus startxfce4 ;;
lxde ) exec startlxde ;;
gnome ) $dbus /usr/bin/gnome-session ;;
twm ) xterm -g 80x40+0+0 &
xclock -g 100x100-0+0 &
twm
;;
# No known session, just say so
*) echo "Cannot run $1" ;;
esac
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page