Emergency exit from X to tty1

Henry de Valence hdevalence-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Dec 21 16:00:05 UTC 2007


On December 19, 2007 06:14:56 pm Walter Dnes wrote:
>   Here's a useful hint I picked up on the Gentoo mailing list.  This is
> for those occasions when you get stuck in X, with X hogging the
> keyboard, and refusing to let you exit to textmode.  With a bit of
> setup, you can use the big "Power" button (YES!!! the "ON/OFF" button)
> to force a jump to textmode tty1.  Here are the steps...
>
> as root
> cd /usr/src/linux
> make menuconfig
>   Power management options (ACPI, APM)  --->
>     [*] Power Management support
>         ACPI (Advanced Configuration and Power Interface) Support
>           [*] ACPI Support
>           <*>   Button
>
> Compile and re-boot into new kernel

Is it possible to do this without recompiling your kernel?

>
> emerge acpi
> (That's for Gentoo; other distros use apt-get/yum/rpm/whatever)
>
> change the uncommented lines in /etc/acpi/events/default to read
> event=.*
> action=chvt 1

Where can I find info on the different options for this file?
-- 
Harry de Valence
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list