1 |
23.07.2020 19:05, Walter Dnes пишет: |
2 |
> On Thu, Jul 23, 2020 at 03:15:04PM +0300, i.Dark_Templar wrote |
3 |
>> Hi. |
4 |
>> |
5 |
>> I've tried using xorg-server[elogind,-suid] and got an issue. |
6 |
> |
7 |
> I know this may sound too simple, but did you update world? News item |
8 |
> https://www.gentoo.org/support/news-items/2020-06-24-xorg-server-dropping-default-suid.html |
9 |
> says... |
10 |
> |
11 |
|
12 |
Yes, of course. I usually do 'emerge -avuDN system world', and I have |
13 |
following options in make.conf: |
14 |
|
15 |
EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y |
16 |
--autounmask=n --complete-graph=y --keep-going" |
17 |
|
18 |
And I did following sequence after emerging xorg-server with different |
19 |
USE-flags before testing it: logout out of X11 session, login into |
20 |
console session as root, restart xdm service (restart sddm), login into |
21 |
KDE session via SDDM. KDE session works fine, but I can't start one more |
22 |
X11 session from it. |
23 |
|
24 |
While I didn't test it, I guess X11 session could be started fine from |
25 |
user if you login into a console session (text-only session), but when I |
26 |
try to start one more X11 session from already running X11 session, I |
27 |
hit insufficient permissions error. |
28 |
|
29 |
>> to globally enable 'elogind' USE flag and update the system |
30 |
>> |
31 |
>> # emerge --newuse @world |
32 |
>> |
33 |
>> Afterwards, one will need to re-login, so the PAM can assign a |
34 |
>> seat. One can confirm that a seat has been assigned upon login |
35 |
>> by running: |
36 |
>> |
37 |
>> $ loginctl user-status |
38 |
> |
39 |
|
40 |
As far as I can see elogind works fine for me in usual scenario: login |
41 |
via SDDM. |