On Thu, 23 Jul 2020 15:15:04 +0300, i.Dark_Templar wrote: > 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)
Is your new user a member of the tty group? -- Neil Bothwick Old hitchhikers never die-they just throw in the towel.
pgpxgmHYN0ArJ.pgp
Description: OpenPGP digital signature