Getting Rootless Xorg Working in Slackware-current
by Charadon from LinuxQuestions.org on (#5SW2G)
I was wondering if anyone has actually gotten Rootless Xorg working in Slackware-current, now that it uses elogind? I've been trying to get it working, but so far i've been stumped. I've tried:
- Setting --enable-systemd-logind in x11's slackbuild.
- Removing the suid bit from /usr/bin/Xorg, /usr/libexec/Xorg.wrap, and /usr/libexec/Xorg.
- Creating a file called /etc/X11/Xwrapper.config and adding the lines:
Code:needs_root_rights = no
allowed_users = anybody(Also tried it with needs_root_rights = yes)
- Adding elogind.so to /etc/pam.d/system-auth.
- Making sure dbus is loaded before startx is called via:
Code:eval $(dbus-launch --sh-syntax)- Adding user to the following groups: video, audio, input.
If anyone has any suggestions on how to get this working, i'm all ears. Also, it's not a neccesity that I got rootless xorg working, but it'd be really cool though, wouldn't it? :hattip:
- Setting --enable-systemd-logind in x11's slackbuild.
- Removing the suid bit from /usr/bin/Xorg, /usr/libexec/Xorg.wrap, and /usr/libexec/Xorg.
- Creating a file called /etc/X11/Xwrapper.config and adding the lines:
Code:needs_root_rights = no
allowed_users = anybody(Also tried it with needs_root_rights = yes)
- Adding elogind.so to /etc/pam.d/system-auth.
- Making sure dbus is loaded before startx is called via:
Code:eval $(dbus-launch --sh-syntax)- Adding user to the following groups: video, audio, input.
If anyone has any suggestions on how to get this working, i'm all ears. Also, it's not a neccesity that I got rootless xorg working, but it'd be really cool though, wouldn't it? :hattip: