On 04/09/2016 06:14 μμ, Paul Hentschel wrote:
I can't run "startx" as a normal user unless I build xorg-server using
"--disable-systemd-logind ----enable-install-setuid" options. The error
messages have to do with no permission for tty0. I should note that I
also have Linux-PAM installed. Is there anything I can do in my
configuration to allow a normal user to startx without disabling
systemd-logind? I am thinking I need to add a PAM module, but I am not
sure what to put in it. Thanks in advance for any help in understanding
this.

Paul

Try this:

XDG_VTNR must be set.
$ echo $XDG_VTNR

Put in ~/.xserverrc

#!/bin/sh

exec /usr/bin/Xorg -nolisten tcp "$@" vt$XDG_VTNR


--
Thanos
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to