You are not logged in.

#1 2009-09-03 16:06:39

daneel971
Member
Registered: 2008-03-28
Posts: 197

[openbox] xscreensaver can't find itself

The command "xscreensaver -no-splash &" is in my openbox autostart file. First I check that xscreensaver is running:

pidof xscreensaver
3501

It seems all right to me, so:

xscreensaver-command -lock

Nothing happens and .xsession-errors says:

xscreensaver-command: no screensaver is running on display :0.0

Second try: I run xscreensaver-demo in debug mode from a terminal, and it displays a popup saying:

The XScreenSaver daemon doesn't seem to be running on display ":0.0".  Launch it now?

I click "OK" and after a few secs another pop up tells me:

Error: the xscreensaver daemon did not start up properly. Please check your $PATH and permissions.

After closing xscreensaver-demo, I can read in the terminal:

xscreensaver: 17:56:49: DISPLAY=:0.0
xscreensaver: 17:56:49: added "/usr/lib/xscreensaver" to $PATH

No errors are reported.
Then, if I check again if xscreensaver is running, I find two processes:

pidof xscreensaver
7832 3501

Since I tried even in KDE, I don't think this is strictly openbox related (and on a different PC works fine).
Does someone have a clue? smile

Last edited by daneel971 (2009-09-03 20:14:28)

Offline

#2 2009-09-03 18:43:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [openbox] xscreensaver can't find itself

You could try

xscreensaver -no-splash &

and see if that makes a difference...

(It's not much of a clue, but it's all I've got) :-)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2009-09-03 19:27:27

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: [openbox] xscreensaver can't find itself

@ daneel971, try placing 'xscreensaver -no-splash &' in your .xinitrc.


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#4 2009-09-03 20:19:41

daneel971
Member
Registered: 2008-03-28
Posts: 197

Re: [openbox] xscreensaver can't find itself

Thanks both for your input smile - however, it didn't worked.
The command suggested by jasonwryan is exactly the one I use: I mistiped it above. As for the .xinitrc: i didn't launched the screensaver at all.
If I don't launch xscreensaver at login and let xscreensaver-demo run it for me, then the xscreensaver daemon starts, but xscreensaver-demo can't find it. I know it's not really a serious problem, but this is driving me crazy.

Offline

#5 2009-09-03 20:26:44

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [openbox] xscreensaver can't find itself

Can you post your .xinitrc - there may be something in there that provides a clue...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2009-09-04 05:32:34

daneel971
Member
Registered: 2008-03-28
Posts: 197

Re: [openbox] xscreensaver can't find itself

There's nothing in .xinitrc: all the lines are commented (I login with kdm from kdemod 3.5.10) and .xsession (called by gdm/xdm/kdm) just executes .xinitrc.

Offline

#7 2009-09-04 14:45:47

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: [openbox] xscreensaver can't find itself

jasonwryan has a point: the xscreensaver call on xinitrc should be before any lines.
@ daneel971, what do you mean "all the lines are commented", on xinitrc? Try placing '/usr/bin/xscreensaver -no-splash' ; Even if you use a LM to start X, it's going to run anything from xinitrc, isn't that right?
Another thing you could try to do is to reinstall xscreensaver. Are you using latest version?

Last edited by s3kt0r (2009-09-04 14:47:58)


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#8 2009-09-04 17:29:36

daneel971
Member
Registered: 2008-03-28
Posts: 197

Re: [openbox] xscreensaver can't find itself

s3kt0r wrote:

what do you mean "all the lines are commented", on xinitrc? Try placing '/usr/bin/xscreensaver -no-splash' ; Even if you use a LM to start X, it's going to run anything from xinitrc, isn't that right?

All the lines are commented (by default) because there's no need for .xinitrc if you use a login manager. I simply left it untouched.
The file is executed even when you use a LM, true, being called via .xsession - in this case you don't need to put the line that run your De/WM in it.
I did try to add xscreensaver as suggested, but it didn't work.

Another thing you could try to do is to reinstall xscreensaver. Are you using latest version?

I just updated the package, but nothign changed.

Offline

#9 2009-09-05 13:52:43

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: [openbox] xscreensaver can't find itself

Well, I don't know what else to tell you, I'm out of leads. I'm not running latest version as of today (latest is 5.09-1; I have 5.08-2).


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#10 2009-09-06 01:00:29

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [openbox] xscreensaver can't find itself

Maybe it's not xscreensaver itself.   Since the errors are permission problems, and when I do a "yaourt -Qi xscreensaver"  it shows  pam as being one of the dependencies,  perhaps it's a messed up dependency, such as pam or one of the others.


Knute

Offline

Board footer

Powered by FluxBB