Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Unable to easily unlock the desktop
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Robbo5000
n00b
n00b


Joined: 11 Nov 2020
Posts: 8

PostPosted: Wed Nov 11, 2020 2:22 am    Post subject: [Solved] Unable to easily unlock the desktop Reply with quote

Hi,
I've recently installed Gentoo on a gen 3 Intel i7 PC and mostly everything is OK.
I've used the default/17.1/desktop profile and installed XFCE, with LightDM as the display manager.

Logging in is fine and works no problem, however when I'm away and the screen turns off and locks the desktop I have a little trouble unlocking the desktop again. Entering the password in the default unlock dialog fails to unlock the desktop. As a workaraound I need to click on switch user, which brings the normal LightDM dialog (gtk3 greeter??). Entering my password and clicking unlock here works fine.

My assumption is that the initial unlock diaolg application needs appropriate config in the pam.d folder, but I don't know where this dialog is from.

I'm a little new to Gentoo and the more hands on Linux world in general, so let me know if more info (logs, config files, etc.) is needed and where to find that info.

Many Thanks


Last edited by Robbo5000 on Wed Nov 11, 2020 6:13 am; edited 1 time in total
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2964
Location: Edge of marsh USA

PostPosted: Wed Nov 11, 2020 3:32 am    Post subject: Reply with quote

What is locking the screen? xscreensaver? Something else?
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Robbo5000
n00b
n00b


Joined: 11 Nov 2020
Posts: 8

PostPosted: Wed Nov 11, 2020 4:04 am    Post subject: Reply with quote

figueroa wrote:
What is locking the screen? xscreensaver? Something else?


Not sure exactly? Whatever xfce4-screensaver-preferences uses underneath. Not sure if that is its own thing, or if it is a wrapper for another service.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2964
Location: Edge of marsh USA

PostPosted: Wed Nov 11, 2020 4:53 am    Post subject: Reply with quote

Maybe look and see what process is running:
Code:
$ pgrep -l save
26738 xscreensaver


xscreensaver is a dependency of xfce4-session because I have xscreensaver set as a use flag in /etc/portage/make.conf. That's the configuration that I'm familiar with, though it may be a holdover from many years ago. If you are not using xscreensaver, maybe it would be worth trying it. It works for me.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Robbo5000
n00b
n00b


Joined: 11 Nov 2020
Posts: 8

PostPosted: Wed Nov 11, 2020 5:18 am    Post subject: Reply with quote

figueroa wrote:
Maybe look and see what process is running:
Code:
$ pgrep -l save
26738 xscreensaver


xscreensaver is a dependency of xfce4-session because I have xscreensaver set as a use flag in /etc/portage/make.conf. That's the configuration that I'm familiar with, though it may be a holdover from many years ago. If you are not using xscreensaver, maybe it would be worth trying it. It works for me.


That returns nothing. Bit of digging and it looks XFCE is using its own screensaver xfce4-screensaver. There is a file in pam.d

/etc/pam.d/xfce4-screensaver
Code:

auth include system-auth
auth optional pam_gnome_keyring.so
Back to top
View user's profile Send private message
Robbo5000
n00b
n00b


Joined: 11 Nov 2020
Posts: 8

PostPosted: Wed Nov 11, 2020 6:14 am    Post subject: Reply with quote

So I found this on the XFCE forums
https://forum.xfce.org/viewtopic.php?id=13640

Followed the last post and re-emerged sys-libs/pam. Now it seems to be working correctly.
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