Re: [opensuse] a stupid sudo question
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2020-01-21 at 21:10 +0300, Andrei Borzenkov wrote:
21.01.2020 17:46, stakanov пишет:
In data martedì 21 gennaio 2020 14:43:22 CET, Andrei Borzenkov ha scritto:
On Tue, Jan 21, 2020 at 4:32 PM stakanov <stakanov@eclipso.eu> wrote:
I hope now that the problematic became somewhat clearer.
I still miss desktop environment for each user and openSUSE version, as well as how exactly you start multiple sessions.
My bad, as I am always on the "KDE is default thought". Multiple session are started from KDE with sddm as session manager and "start new session". However I do never start multiple sessions for the same user. /home is on a separate partition see also below the listing of devices.
I tested on Leap 15.1 with XFCE + lightdm. I added custom polkit rule to force root authentication for active session. I switched user using dm-tool switch-to-user (I did not find XFCE GUI element for it). dm-tool talks to lightdm and makes it allocate new session or switch to existing one.
Wow! Thanks for telling of "dm-tool switch-to-user". Will it work with sddm and XFCE? Switch to another user from XFCE seems to be broken currently. I have not investigated, but I noticed recently that it does not work, while it did work months ago. The option is there in my exit menu (action buttons applet), but does nothing.
I logged in as user u1, u2, u3, then switched to u2 session and checked that u2 session was active. After inserting USB stick I got password request for u2. I checked process list that there was just one active password request. After cancelling this request it was started for another user. In this case it was u3. Switching to u3 and cancelling request now started request for u1.
So it seems to basically work as expected. I do not know how exactly requests are ordered (it was new to me that request would be cycled across all current sessions).
Interesting. New to me as well. - -- Cheers, Carlos E. R. (from openSUSE 15.1 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCXjKw5Bwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfV/D4AnjyOG+andu9KGYQKwg1P R5hJEMcsAJ9lgXnrOWN5A+CJxynxSEPQE1qexQ== =QaJn -----END PGP SIGNATURE-----
participants (1)
-
Carlos E. R.