[opensuse-factory] lightdm & kwallet - sddm doesn't remember last session
Good Morning. Due to an annoying sddm bug (https://github.com/sddm/sddm/issues/510) the session selector in sddm doesn't save the last session per user, instead it saves the last used session regardless of the user. This is annoying, because userA wants to use XFCE and userB wants to use KDE. Therefore I am using lightdm (which saves last session per user). But what's missing in this picture with lightdm is that lightdm is unable to open the kwallet when selecting/starting KDE. I installed "pam_kwallet" but it doesn't seem to integrate well with PAM because after logging in with KDE it asks for password to unlock kwallet. Is anyone using this setup? Is a multiuser/multi-DM environment that esoteric? :) thanks! Alex -- *** Jabber thalunil@kallisti.at *** Fon +43 - 676 - 7805392 *** Web https://bihlmaier.at *** Einethöfe 10, 6091 Götzens, Österreich
Hi, Am Dienstag, 3. September 2019, 08:25:30 CEST schrieb Alex Christoph Bihlmaier:
Good Morning. Due to an annoying sddm bug (https://github.com/sddm/sddm/issues/510) the session selector in sddm doesn't save the last session per user, instead it saves the last used session regardless of the user.
Yes, this is unfortunately something which is not easy to fix (like the missing integration for PAM features) as it would need new APIs supported by all themes. It would be possible to show a virtual "last session" entry, but that way it's not possible to tell which that would be without actually logging in.
This is annoying, because userA wants to use XFCE and userB wants to use KDE.
You could make a hack and write your own xsession .desktop file which just starts either Xfce or Plasma depending on the user. Ugly, but should work.
Therefore I am using lightdm (which saves last session per user).
But what's missing in this picture with lightdm is that lightdm is unable to open the kwallet when selecting/starting KDE.
I installed "pam_kwallet" but it doesn't seem to integrate well with PAM because after logging in with KDE it asks for password to unlock kwallet.
That's funny, because someone on IRC had the opposite issue, pam_kwallet worked from lightdm but not sddm... Please open a bug report and attach the journal for the login timeframe as well as the /etc/pam.d/{lightdm,common-session,common-auth} files. Cheers, Fabian
Is anyone using this setup? Is a multiuser/multi-DM environment that esoteric? :)
thanks! Alex
-- SUSE Software Solutions Germany GmbH Maxfeldstr. 5 90409 Nürnberg Germany (HRB 247165, AG München) Geschäftsführer: Felix Imendörffer -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
I don't know if that's the problem here, but: If you have pam-32bit installed, you should make sure you also have pam_kwallet-32bit installed. (this should be done automatically via Supplements, but you may have installing recommended packages disabled... ;-) ) If that's not there, pam-config will refuse to add the necessary entry to the PAM config files in that case, presumably because a missing module might break 32bit applications. Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Alex Christoph Bihlmaier
-
Fabian Vogt
-
Wolfgang Bauer