restarting a virtual terminal
Anton Markov
anton-F0u+EriZ6ihBDgjK7y7TUQ at public.gmane.org
Sat Jun 26 21:09:53 UTC 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Jon,
First, switch to tty2 and try typing in "reset" blindly. It may help
unfreeze the terminal. Also try doing a "ps aux | grep tty2" and kill
all processes running on the terminal (there should be a bash or
equivalent process that you have to kill with a "KILL" signal "kill -s
KILL <pid>"). In theory once the shell exits, init should restart the
mingetty process (or whatever your /etc/inittab) file says. That should
give you a login prompt.
I am no expert on virtual consoles, so someone else may be able to give
you a more elegant way of doing it.
Jon Thiele wrote:
> on my redhat v7.3 server, i had a midnight commander (mc) program
freeze on
> me in virtual terminal session (tty2). for some reason, it stopped
> responding to all keystrokes. i logged into another terminal, found the
> process id and used the kill command to end the process. how do i now
> restart tty2??? my redhat manual and google are somewhat silent on
this...
- --
Anton Markov <("anton" + "@" + "truxtar" + "." + "com")>
GnuPG Key fingerprint =
5546 A6E2 1FFB 9BB8 15C3 CE34 46B7 8D93 3AD1 44B4
*** LINUX - MAY THE SOURCE BE WITH YOU! ***
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFA3eYfRreNkzrRRLQRAtTYAJ9TVTFhYO1cEWbF7R+KIKnsaKGvSwCdEjkT
lE/k4MRxqYFMx7R5TJvkfLI=
=kAbo
-----END PGP SIGNATURE-----
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list