LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Going back to command mode from GNOME (https://www.linuxquestions.org/questions/linux-general-1/going-back-to-command-mode-from-gnome-42962/)

linuxfans 01-27-2003 12:18 PM

Going back to command mode from GNOME
 
Hi,

I just changed some config files while I was in GNOME. But when I restarted I couldn't logon to the machine (REDHAT8.0). I thought if ican logon as root in the command mode using vi editor I can change the file back to the original format. Is there a way I can go back to the command level from GNOME (eg:- Ctrl+Alt+X)

Please help

Thanks,

Wolven 01-27-2003 12:30 PM

Not sure *exactly* what you mean, but you can usually specify a run level at the lilo prompt. Holding ALT early on in system boot will cause lilo to come up and let you type in something, if it doesn't already by default, and you can type in


Linux 1

in most cases, to get a single user (and non-graphical) boot up going on.


You may have a different kernel label, and can hit the TAB key at that prompt to see what your options are.



If this doesn't cover it, let me know, and I'll see if I can provide some more information.

linuxfans 01-27-2003 12:34 PM

Hi Wolven,

Thanks for the help.

What I did is changed the profile file and I added some wrong PATH statements. now the system is back on with normal logon screen, but after I typed the password it just hanging there.

Please help

Edward78 01-27-2003 01:03 PM

Alt-F2, should work it deos in KDE.

Malicious 01-27-2003 01:15 PM

You should be able to use "ctrl-alt-F2" to get to a new console window. At that point, you can login as root and undo whatever you did. There are eight "virtual terminals" available in Linux. There are six that have mgettys running for logins and you normally only see the first one and the one that X (by default is 7) runs on. Normally, to go from one vt to another, "alt-Fn" (n is vt number) is sufficient, but most xdms and window managers use these keys as shortcuts and map "ctrl-alt-Fn" to the console switching functions.

EDIT: I guess I should restate "some" xdms and window managers instead of "most". Like Edward78 says, Kde works with "alt-Fn". Gnome and Fluxbox both use "alt-Fn" to switch between workspaces and both requre "ctrl-alt-Fn" to go to another vt. The standard xdm (login screen) lets "alt-Fn" go to another vt, gdm (Gnome login) forces "ctrl-alt-Fn". Try "alt-Fn", if it doesn't work, try "ctrl-alt-Fn".

linuxfans 01-27-2003 02:59 PM

Great help guyes, Thanks

Wolven 01-29-2003 11:22 AM

They beat me to it. :_)

Also wanted to add that in some distributions (debian, for example) when you are the command line (or console, or whatever you want to call it) you can hold the left ALT key and press LEFT and RIGHT on the arrow keys. This will push you through the available virtual terminals. Once you are in X windows (terminal 7) however, you may have to use one of the other shortcut keys to get out of it.


I don't use X that much, and use multiple terminals as my multitasking environment.

Also wanted to say that I am really enjoying the forums here, guys. It feels nice to be able to help the community a bit, and to see so many helpful people.


All times are GMT -5. The time now is 06:23 AM.