Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xscreensaver not being able to read shadow to unlock itself?
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
Ginta
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2006
Posts: 138
Location: Spain

PostPosted: Fri Aug 14, 2015 3:45 pm    Post subject: xscreensaver not being able to read shadow to unlock itself? Reply with quote

When I lock screen with xscreensaver, then I have to manually kill it from a tty as it always say login failed.

Reading over the internet, there are ubuntu solutions like changing /etc/shadow permissions, but I have no clue of what is really happenning here.

My current permissions are:
ls -lh /etc/shadow
-rw-r----- 1 root root 859 ago 14 13:22 /etc/shadow

Is there anything (else) I can so? As I don't like to set dangerous permissions on things like this one, or maybe it is not related at all?
_________________
Somebody should use emerge brain on theirselves...
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sun Aug 16, 2015 10:05 pm    Post subject: Reply with quote

I usually get that error message after having done some system upgrades (including upgrading xscreensaver)

then a system reboot helps :)


But the reason that it always happens and what to do against it

no clue :(


got the same permissions on /etc/shadow
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
fantasma13
n00b
n00b


Joined: 15 Jul 2004
Posts: 28
Location: Europe

PostPosted: Fri Aug 21, 2015 11:55 am    Post subject: Reply with quote

kernelOfTruth wrote:
I usually get that error message after having done some system upgrades (including upgrading xscreensaver)

then a system reboot helps :)


But the reason that it always happens and what to do against it

no clue :(


got the same permissions on /etc/shadow


me too!
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Fri Aug 21, 2015 2:21 pm    Post subject: Reply with quote

xscreensaver is broken here too.

Keyboard and mouse events do not reset the lock timer of xscreensaver.
Back to top
View user's profile Send private message
v_2e
n00b
n00b


Joined: 28 Dec 2008
Posts: 21

PostPosted: Sat Dec 26, 2015 10:56 am    Post subject: Reply with quote

It looks like it is still broken. Or has anybody managed to get it workig correctly?
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Dec 26, 2015 12:07 pm    Post subject: Reply with quote

Update to version 5.34 (from 5.33) "fixed" it

Use-flags needed for 5.33 were:
Code:
jpeg new-login opengl perl xinerama suid


(suid)

for 5.34 suffices:
Code:
jpeg new-login opengl perl xinerama
(no suid needed)
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
v_2e
n00b
n00b


Joined: 28 Dec 2008
Posts: 21

PostPosted: Sat Dec 26, 2015 2:27 pm    Post subject: Reply with quote

The "new-login" USE-flag makes it pull the lightdm package which I do not need. Is it really necessary?
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Dec 26, 2015 2:32 pm    Post subject: Reply with quote

v_2e wrote:
The "new-login" USE-flag makes it pull the lightdm package which I do not need. Is it really necessary?


If you don't need the new-login, then leave it out :)
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Syl20
Guru
Guru


Joined: 04 Aug 2005
Posts: 564
Location: France

PostPosted: Mon Dec 28, 2015 1:59 pm    Post subject: Re: xscreensaver not being able to read shadow to unlock its Reply with quote

Ginta wrote:
My current permissions are:
ls -lh /etc/shadow
-rw-r----- 1 root root 859 ago 14 13:22 /etc/shadow

Is there anything (else) I can so? As I don't like to set dangerous permissions on things like this one, or maybe it is not related at all?

/etc/shadow should be 0400. And xscreensaver doesn't need to read /etc/shadow. Xscreensaver relies on PAM (if installed, of course... But it is, no ?) to determine if a user is authorized to unlock it or not.
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