Re: Exit GNOME login...



Andrew O. Mellinger wrote:

Greetings!

Is there an easy way to exit the GNOME login back to the console? Is there some special login name, or command sequence?

Thanks,
-Andrew

If you just want to switch temporarily to a console to, say, execute some commands and then return to Gnome and Xwindow, all you have to do is press ALT-Fn (press the ALT key at the same time as the function key) where n is the number of the virtual terminal you wish to use. By default, if I am not mistaken, Red Hat will create 7 or 8 virtual terminals. Xwindow typically runs in the 7th or 8th. In order to get back to the Xwindow session from the virtual terminal, just use ALT-RIGHT_ARROW or ALT-LEFT_ARROW repeatedly until you return to the Xwindow session. Note that because the right ALT key is not always (ever?) recognized by the virtual terminal in Linux, you must use only the ALT key located on the left side of the keyboard.

To stop any X sessions altogether, once in you are in a virtual terminal, you can type (assuming you are logged in as root) "telinit 3" (without the quotes, of course). That should switch the system from graphical to text mode. To make this your default mode (if you are using Red Hat or something similar) just change the line in /etc/inittab which says:

id:5:initdefault:

to read:

id:3:initdefault:

Hope this helps.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]