[blfs-dev] xscreensaver shutdown behavior

Fernando de Oliveira famobr at yahoo.com.br
Wed Jun 4 04:25:47 PDT 2014

Em 04-06-2014 07:10, Ken Moffat escreveu:
> On Wed, Jun 04, 2014 at 11:31:44AM +0200, Armin K. wrote:
>> On 06/04/2014 08:01 AM, Bruce Dubbs wrote:
>>> I usually start Xorg from the command line and log out to the command
>>> line when done.  One thing I've noticed is a nasty message from
>>> xscreensaver about how we've installed it incorrectly or that we are
>>> running as root (suid) when we shouldn't be.

I don't have these messages, when logging out to command line.

>>> I've traced that down to a function that tries to restart xscreensaver
>>> when it gets a SIGHUP signal.  It is getting this either from the window
>>> manager (in my case xfce) or the kernel.  But of course the restart
>>> fails because Xorg has shut down the display.

>> How do you start xscreensaver? I don't remember seeing such message
>> here. I had "xscreensaver -no-splash" in my startup file and it worked
>> just fine. Did you try changing xscreensaver binary permissions to 755
>> instead of 4755?

Here, it is 4755.

>  I start it with 'xscreensaver &' from my .xinitrc and I have
> noticed these messages for some time.  Your suggestion of
> changingthe perms fixes the bogus message, but I now see that it
> cannot read /etc/passwd to check passwords.  That does not affect
> me, but anybody using the screensaver to lock the screen would
> presumably not like that.

Screen is blocked and unlocks properly.

I do start it with "xscreensaver -no-splash", as Armin wrote, and always
use "--with-setuid-hacks" in configure.


More information about the blfs-dev mailing list