Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SDDM and KDE5 (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
andrewwalker27
l33t
l33t


Joined: 27 Jun 2005
Posts: 647

PostPosted: Tue Apr 12, 2016 10:00 am    Post subject: SDDM and KDE5 (SOLVED) Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6824
Location: Austria

PostPosted: Tue Apr 12, 2016 10:13 am    Post subject: Reply with quote

lightdm should just work fine with pam, not sure I can follow?

Have you added the sddm user to the video group?
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
andrewwalker27
l33t
l33t


Joined: 27 Jun 2005
Posts: 647

PostPosted: Tue Apr 12, 2016 11:30 am    Post subject: Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6824
Location: Austria

PostPosted: Tue Apr 12, 2016 12:39 pm    Post subject: Reply with quote

You need to add those lines to lightdm's PAM file.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
davidm
Guru
Guru


Joined: 26 Apr 2009
Posts: 557
Location: US

PostPosted: Tue Apr 12, 2016 1:19 pm    Post subject: Reply with quote

Sddm + nvidia binary works excellent here but I'm also using systemd.
Back to top
View user's profile Send private message
andrewwalker27
l33t
l33t


Joined: 27 Jun 2005
Posts: 647

PostPosted: Thu Apr 14, 2016 8:56 am    Post subject: Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6824
Location: Austria

PostPosted: Thu Apr 14, 2016 9:06 am    Post subject: Reply with quote

Yes, this is covered by the upgrade guide in Gentoo Wiki.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum