LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-27-2003, 12:18 PM   #1
linuxfans
LQ Newbie
 
Registered: Jan 2003
Posts: 20

Rep: Reputation: 0
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,
 
Old 01-27-2003, 12:30 PM   #2
Wolven
Member
 
Registered: Jan 2003
Posts: 195

Rep: Reputation: 30
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.
 
Old 01-27-2003, 12:34 PM   #3
linuxfans
LQ Newbie
 
Registered: Jan 2003
Posts: 20

Original Poster
Rep: Reputation: 0
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
 
Old 01-27-2003, 01:03 PM   #4
Edward78
Member
 
Registered: Jul 2002
Distribution: OpenSuSE 11
Posts: 441

Rep: Reputation: 30
Alt-F2, should work it deos in KDE.
 
Old 01-27-2003, 01:15 PM   #5
Malicious
Member
 
Registered: Jan 2002
Location: Galveston Island
Distribution: suse, redhat
Posts: 208

Rep: Reputation: 30
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".

Last edited by Malicious; 01-27-2003 at 01:30 PM.
 
Old 01-27-2003, 02:59 PM   #6
linuxfans
LQ Newbie
 
Registered: Jan 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Great help guyes, Thanks
 
Old 01-29-2003, 11:22 AM   #7
Wolven
Member
 
Registered: Jan 2003
Posts: 195

Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting back to X mode wjleon Linux - Newbie 5 05-06-2005 08:04 AM
Can I back-up data from init3 rescue mode? d-kam Linux - Newbie 19 03-20-2005 02:38 PM
How to switch back to graphical mode in SUSE 9.2? snjbrian SUSE / openSUSE 2 11-12-2004 11:47 AM
how to get graphical mode back in grub ks_saru Linux - Software 1 02-02-2004 10:37 AM
How to resrat back in Terminal mode nilch Linux - General 1 01-04-2003 11:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration