Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xorg-server[elogind,-suid] and starting additional Xorg session from running Xorg session
Date: Thu, 23 Jul 2020 19:25:53
Message-Id: 20200723202536.480c7b57@digimed.co.uk
In Reply to: [gentoo-user] xorg-server[elogind,-suid] and starting additional Xorg session from running Xorg session by "i.Dark_Templar"
1 On Thu, 23 Jul 2020 15:15:04 +0300, i.Dark_Templar wrote:
2
3 > With x11-base/xorg-server-1.20.8[elogind,suid] I could just do "sudo -i
4 > -u another-user DISPLAY= XAUTHORITY= startx $application $app_args --
5 > :$nextdisplay" from running X11 session and get myself a separate new
6 > X11 session running from different user.
7 >
8 > With x11-base/xorg-server-1.20.8-r1[elogind,suid] it is also possible to
9 > do this if line 'allowed_users = anybody' is added to file
10 > '/etc/X11/X11/Xwrapper.config'.
11 >
12 > But with x11-base/xorg-server-1.20.8-r1[elogind,-suid] I couldn't make a
13 > similar setup to work. I've tried adding options '-keeptty' or 'vt?' or
14 > both, but all I get are errors like these:
15 >
16 > Fatal server error:
17 > (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
18
19 Is your new user a member of the tty group?
20
21
22 --
23 Neil Bothwick
24
25 Old hitchhikers never die-they just throw in the towel.

Replies

Subject Author
Re: [gentoo-user] xorg-server[elogind,-suid] and starting additional Xorg session from running Xorg session "i.Dark_Templar" <darktemplar@×××××××××××××××××××××.net>