Hi.

I've tried using xorg-server[elogind,-suid] and got an issue.

With x11-base/xorg-server-1.20.8[elogind,suid] I could just do "sudo -i
-u another-user DISPLAY= XAUTHORITY= startx $application $app_args --
:$nextdisplay" from running X11 session and get myself a separate new
X11 session running from different user.

With x11-base/xorg-server-1.20.8-r1[elogind,suid] it is also possible to
do this if line 'allowed_users = anybody' is added to file
'/etc/X11/X11/Xwrapper.config'.

But with x11-base/xorg-server-1.20.8-r1[elogind,-suid] I couldn't make a
similar setup to work. I've tried adding options '-keeptty' or 'vt?' or
both, but all I get are errors like these:

Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)

or

Fatal server error:
(EE) xf86OpenConsole: Cannot open virtual console 5 (Permission denied)


Is it possible to make setup like this work with elogind without suid?

Reply via email to