You are not logged in.

#1 2009-07-16 05:36:19

fh
Member
Registered: 2009-07-11
Posts: 31

[SOLVED] Xscreensaver daemon not starting in XFCE

I've set up my laptop too boot directly into xfce and go into my default user ('faraz') without login menu. My .xinitrc has:

exec ck-launch-session xfce4-session

This is working fine. What I want now is that it should automatically start the screensaver. I think for that I need to basically start xscreensaver and then use xflock4. This combination works fine when I try it from the command line.

Although xscreensaver command works from the command line, its not working  if I put it in either .xinitrc or .bash_profile.  I even tried to put it in "Session & Startup -> application autostart"m but no lock.

How do I get my screen saver to start every time Xfce starts?

Last edited by fh (2009-07-22 21:29:00)

Offline

#2 2009-07-22 21:28:44

fh
Member
Registered: 2009-07-11
Posts: 31

Re: [SOLVED] Xscreensaver daemon not starting in XFCE

Inserting the first two lines in my in my .xinitrc worked:


xscreensaver -nosplash&
xflock4&
exec ck-launch-session xfce4-session

Offline

Board footer

Powered by FluxBB