On 24 Jul, Igor Nemilentsev wrote:
> Hi, list
> I have emerged x11-base/xorg-server-1.6.2 with '+hal'.
> I have into xorg.conf
> Section "ServerFlags"
>    Option "DontZap" "false"
> EndSection
> 
> Nonetheless the Ctrl+Alt+Backspace combination
> doesn't work.
> Can someone give me advice?

AFAIK, the DontZap option applies to the key sequences
<Alt> <Fx> to switch to a different terminal.

I have the same problem here (same configuration), i.e.
<Ctrl><Alt><Del> doesn't work.

If you can't exit via your window manager anymore,
I think, Neil Bothwick has posted the following advice
some days ago:

If you find yourself without a keyboard or mouse and can't get back to a
console, press and hold alt + sysreq then hit R and E.  I did this the
other day and it took me back to a console.

You're thinking of the complete Alt-SysRq sequence to (relatively)
cleanly reboot. Alt-SysRq-R returns keyboard control after it has
been locked out by X. You should then be able to do Ctrl-Alt-F1 to get
back to your VC.

 I got some SysRq commands printed out tho.  Question, do I have to hit
> the Alt key each time or what? 

Hold down Atl, hold down SysRq, press each of the keys in turn. The usual
full sequence is R-E-I-S-U-B

Reboot
Even
If
System
Utterly
Broken

---------------------------------------------------------------------

Then for example on tty2 start "sleep 300 ; /etc/init.d/xdm stop ;
killall X" and on tty1 do "/etc/init.d/xdm start"

Another approach is to use acpid. I've read this tip here posted by
Volker Hemmann IIRC. If you use acpid, there should be a file called
"/etc/acpi/default.sh"

Modify it, substituting the lines:

19                 case "$action" in
20                         power)
21                                /sbin/init 0

with

19                 case "$action" in
20                         power)
21                                /usr/bin/chvt 1


then do /etc/init.d/acpid restart.

Now pressing the power button on your machine should switch to the
active TTY to tty1


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany

Reply via email to