Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I type xlock and press return key, I am getting the following error:

Unknown mode: xlock:  bad command line option "swarm"

What should I do? I just need the basic xlock screen locking functionality.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

'xlock' is trying to run the 'swarm' display mode (rather than simply blanking the screen) and is doing it wrong.

Maybe you are running

xlock -swarm

instead of

xlock -mode swarm

Or is it that your xlock hasn't been compiled/configured with the swarm screensaver on your system?

share|improve this answer
    
I am just typing xlock. I have no idea whether it is configured or not. I just want the basic xlock locking functionality. What should I do? –  Lazer Jan 23 '10 at 20:11
1  
try xlock -mode dclock or (i think) xlock -mode blank –  user23307 Jan 23 '10 at 21:34
    
thanks! xlock -mode blank works! –  Lazer Jan 25 '10 at 3:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.