2

I'm no longer able to lock my screen with Ctrl-Alt-L, and

$ xscreensaver-command -lock
xscreensaver-command: already locked.

What is going on here? Is this functionality broken?

xscreensaver-command -activate still works, but that doesn't prompt for the password when dismissing.

$ uname -a
Linux hostname 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 20:45:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
l0b0
  • 8,819
  • Congrats on getting it solved, can you add that as an answer? :) – fossfreedom Apr 10 '12 at 18:56
  • I wouldn't call it a solution as much as a clobbering of the running processes to get where I wanted. But I'll post it until and unless someone has an explanation of how this could have happened. – l0b0 Apr 11 '12 at 07:27
  • +1 great - dont forget to tick the accept button. thanks. – fossfreedom Apr 11 '12 at 08:14
  • If anybody knows how gnome-screensaver could usurp the place of xscreensaver I'll accept that answer. – l0b0 Apr 11 '12 at 08:18

1 Answers1

1

While investigating for a bug report, I found that gnome-screensaver for some unknown reason was running. The following workaround did the trick:

gnome-screensaver-command --exit && xscreensaver &

I'd like to emphasize that it's just a workaround, not an answer to why xscreensaver died nor how gnome-screensaver came to run.

l0b0
  • 8,819