0
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?
Out of curiosity, why the autologin? – cpast – 2013-02-18T23:48:44.997
I needed to start a vnc server and could only do that after the user has logged in. – AlexL – 2013-02-18T23:51:51.920
Is there a reason that can't be done using init scripts, or using a non-graphical login? – cpast – 2013-02-18T23:54:04.250
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 – 2013-02-18T23:56:13.457
OK, fair enough. – cpast – 2013-02-19T00:06:40.723