Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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. – AlexL 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. – AlexL Feb 18 '13 at 23:56
OK, fair enough. – cpast Feb 19 '13 at 0:06

You must log in to answer this question.

Browse other questions tagged .