12-08-2008
1,033,
8
Join Date: Sep 2008
Last Activity: 1 July 2013, 6:45 PM EDT
Location: Malvern, Worcs. U.K.
Posts: 1,033
Thanks Given: 0
Thanked 8 Times in 8 Posts
xscreensaver must be running already in order for xscreensaver-lock to work so you need to start xscreensaver as the user logs on, e.g. add a call to xscreensaver into/etc/.dt/sessions/sessionetc script if you are using CDE, I did a check that ${LOGNAME} matched the owner of the console so that users SSHing in and starting a CDE desktop do not get xscreensaver!
Once you have done the change, logged and and back on again run:
$ ps -ef | grep xscreensaver | grep -v grep
to check that xscreensaver has been started.