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.

I have a headless Debian server that will auto-login a user to KDE on startup and then locks the screen/session.

If I press the power button while the KDE session is locked, the button is ignored. If I press the power button while the KDE session is not locked, the server is shutdowned as expected.

Is there a possibility when pressing the power button to end the locked sessions and proceed with the power down as normal?

share|improve this question
    
Out of curiosity, why the autologin? –  cpast Feb 18 '13 at 23:48
    
I needed to start a vnc server and could only do that after the user has logged in. –  Alex Linte Feb 18 '13 at 23:51
    
Is there a reason that can't be done using init scripts, or using a non-graphical login? –  cpast Feb 18 '13 at 23:54
    
I tried init script but the vnc server was not starting. In the end i managed to make it work this way and i don't intend to change it unless i really have to. –  Alex Linte Feb 18 '13 at 23:56
    
OK, fair enough. –  cpast Feb 19 '13 at 0:06

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.