LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Lenny Just upgraded to latest x.org (https://www.linuxquestions.org/questions/debian-26/lenny-just-upgraded-to-latest-x-org-747034/)

The PIT 08-12-2009 11:23 AM

Lenny Just upgraded to latest x.org
 
Running Lenny and everything was fine until it came along and said hey there's a new xorg. So I let it update it and I can no longer ctrl alt f1 to shut down X Windows.

ctrl alt backspace works but this is useless when the machine is running in it's kiosk mode as it just restarts the kiosk scripts.

The staff that use these machines in kiosk mode use the ctrl alt f1 to shut the machine down properly.

So how do I re-enable it??

pljvaldez 08-12-2009 11:42 AM

I think you need to add this section to xorg.conf
Code:

Section "ServerFlags"
  Option  "DontZap"      "on"
  Option  "DontVTSwitch"  "on"
EndSection

DontZap prohibits CTRL+ALT+Backspace from restarting X, DontVTSwitch prohibits CTRL+ALT+F1-F8.

jdkaye 08-12-2009 12:07 PM

Quote:

Originally Posted by The PIT (Post 3640686)
Running Lenny and everything was fine until it came along and said hey there's a new xorg. So I let it update it and I can no longer ctrl alt f1 to shut down X Windows.

ctl-alt-f1 doesn't shut down the X server. It switches you to a virtual terminal called tty1. ctl-alt-f7 gets you back to your X-session.

I'm not familar with "kiosk mode" so I can't help you with the rest. Normally you would just logout from your x-session using the "End current session" item.
jdk

mushroomboy 08-12-2009 12:10 PM

Does ctrl alt del still work? Heck if I even open xterm and hit ctrl alt del it still reboots, could try that.

jdkaye 08-12-2009 12:25 PM

Quote:

Originally Posted by mushroomboy (Post 3640749)
Does ctrl alt del still work? Heck if I even open xterm and hit ctrl alt del it still reboots, could try that.

Does the OP want to reboot? or just stop the X-server? I don't think I'd want to do ctl-alt-del to reboot anyway. Isn't that the equivalent of hitting the reset button? You'd run the risk of damaging your file system.

jdk

Quakeboy02 08-12-2009 12:35 PM

CTL-ALT-DEL is an orderly reboot.

mushroomboy 08-12-2009 12:52 PM

Yeah ctrl-alt-del is different from linux/windows, they don't have hard reset in linux unless your kernel panics or you hit the reset button on the computer itself. Though even the reset button can be changed to soft reboot I believe... I had them both disabled at one time, now they just work as shutdown/reset. But ctrl-alt-del works 100% fine... I'm running xfce and hate getting the reboot option to work with regular users, so I just logout and hit ctrl-alt-del to reboot whenever I need to.

The PIT 08-12-2009 03:03 PM

Quote:

Originally Posted by jdkaye (Post 3640746)
ctl-alt-f1 doesn't shut down the X server. It switches you to a virtual terminal called tty1. ctl-alt-f7 gets you back to your X-session.

I'm not familar with "kiosk mode" so I can't help you with the rest. Normally you would just logout from your x-session using the "End current session" item.
jdk

Yup you're right. One of the reasons why I go init 3 then pkill X to make sure it's dead.

Anyway I'll try the suggestions tomorrow and let you know what happens.

The PIT 08-13-2009 02:48 AM

Actually it turned out too be an invalid keyboard symbol. So thats solved.

jdkaye 08-13-2009 04:49 AM

Hi Pit,
If you're happy we're happy. Can you please click on Thread Tools button (at the top of this thread) and click on "Mark as solved".
thanks
jdk


All times are GMT -5. The time now is 08:15 AM.