In a pinch, here's a few rescue commands:
if you're remote, to kill the X server without rebooting:
        killall -9 startx
If you're at the console:
        ctrl+alt+backspace
To put your console's virtual terminals back into a sane state:
        stty sane < /dev/tty1
(etc.)
Sometimes, I have been able to use the trick of changing runlevels to
do this for me all at once:
        init 2
        init 3
(where runlevel 3 is my default with full network and xdm support,
and runlevel 2 is the same as 3 but without xdm)  Hope this helps.

 - DeJay.

On Wed, 7 Oct 1998, Mario Olimpio de Menezes wrote:

> Hi,
> 
>       I having some troubles to reset keyb and screen of a linux server.
> I can connect to it via ssh/telnet but can't reset its local login prompt.
> The keyboard is locked, crtl+alt+func didn't work; the screen is messed
> with several graphics patterns. The problem started just with a startx by
> a normal user. I tried to put xdm and it works ok. Even with X running,
> the virtual consoles doesn't work. When xdm stop things come back to caos.
>       I tried some actions  (kill -HUP, MAKEDEV tty1-6) and can't
> get the login prompt again.
>       What could I do except shutdown the server? 
>       Thanks.
> 
> Mario O.de Menezes | "Many are the plans in a man's heart, but
> IPEN-CNEN/SP       | is the Lord's purpose that prevails" Prov. 19.21
> 
> 
> --  
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 

  _________
 / Bedrock \__________________________
| http://bedrock.dyn.ml.org/dejay     |
| [EMAIL PROTECTED]            |
|_____________________________________|

Reply via email to