View previous topic :: View next topic |
Author |
Message |
andrewwalker27 l33t
Joined: 27 Jun 2005 Posts: 660
|
Posted: Tue Apr 12, 2016 10:00 am Post subject: SDDM and KDE5 (SOLVED) |
|
|
I've recently upgraded to KDE5 now it's appeared stable and whilst it works perfectly, the login manager sddm fails miserably and locks my machine up. I've tried it on another machine with Gentoo with the same result, the only thing they have in common is they use the nvidia-drivers rather than nouveau.
Has anyone actually got sddm to work? Is it a compatibility issue with the nvidia drivers? I've switched to lightdm for the moment but it doesn't support pam so isn't ideal.
Last edited by andrewwalker27 on Thu Apr 14, 2016 8:57 am; edited 1 time in total |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8933
|
Posted: Tue Apr 12, 2016 10:13 am Post subject: |
|
|
lightdm should just work fine with pam, not sure I can follow?
Have you added the sddm user to the video group? |
|
Back to top |
|
|
andrewwalker27 l33t
Joined: 27 Jun 2005 Posts: 660
|
Posted: Tue Apr 12, 2016 11:30 am Post subject: |
|
|
Maybe I've misunderstood this message and there is an issue with my set up
Code: | * Messages for package kde-plasma/kwallet-pam-5.6.2-r1:
*
* This package enables auto-unlocking of kde-frameworks/kwallet:5.
* You have also selected support for legacy kde-apps/kwalletd:4.
* List of things to make it work:
* 1. Use same password for login and kwallet
* 2. A display manager with support for PAM
* 3.a Have the following lines in the display manager's pam.d file:
* -auth optional pam_kwallet5.so
* -session optional pam_kwallet5.so auto_start
* -auth optional pam_kwallet.so kdehome=.kde4
* -session optional pam_kwallet.so
* 3.b Checking installed DMs...
* LightDM - /etc/pam.d/lightdm ...BAD
|
I've checked that I'm in the video group and my session seems ok
Code: | gentoo init.d # ck-list-sessions
Session4:
unix-user = '500'
realname = 'Andrew Walker'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2016-04-07T11:24:01.241954Z'
login-session-id = '4'
gentoo init.d #
|
I'd rather use sddm as that is the recommended KDE manager though. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8933
|
Posted: Tue Apr 12, 2016 12:39 pm Post subject: |
|
|
You need to add those lines to lightdm's PAM file. |
|
Back to top |
|
|
davidm Guru
Joined: 26 Apr 2009 Posts: 557 Location: US
|
Posted: Tue Apr 12, 2016 1:19 pm Post subject: |
|
|
Sddm + nvidia binary works excellent here but I'm also using systemd. |
|
Back to top |
|
|
andrewwalker27 l33t
Joined: 27 Jun 2005 Posts: 660
|
Posted: Thu Apr 14, 2016 8:56 am Post subject: |
|
|
Fixed it! The problem appears to be that the user 'sddm' needs to be in the 'video' group for it to work. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8933
|
Posted: Thu Apr 14, 2016 9:06 am Post subject: |
|
|
Yes, this is covered by the upgrade guide in Gentoo Wiki. |
|
Back to top |
|
|
|