You are not logged in.
Pages: 1
I messed up an option in my xorg.conf, and I want to nano it, but how do I get back to the shell and not go into X and gdm(auto start in rc.conf)?
Last edited by caelestis (2009-04-11 03:37:57)
Offline
If you use grub, you can hit 'e' at the grub menu and add a '3' to the end of the kernel line. You could also boot a livecd and change /etc/inittab to boot to runlevel 3.
Offline
I messed up an option in my xorg.conf, and I want to nano it, but how do I get back to the shell and not go into X and gdm(auto start in rc.conf)?
to stop a running x server (as root):
/etc/rc.d/gdm stop
to stop it permanently, remove gdm from your daemon list in /etc/rc.conf
hope this helps
SIG
Offline
well as i understand it, he's stuck on gdm and can't get to a shell to execute that command or edit his /etc/rc.conf. A quicker solution than what I posted earlier might be to just do ctrl-alt-f5 or some other vc.
Offline
run level "3" didn't work, however "single" did. Can't do the keyboard shortcuts, because as soon as gdm starts screen powers off and nothing happens from there.
Many failed searches because I didn't know what tool I had to use, but ended at grub.
TY tho
Last edited by caelestis (2009-04-11 03:40:10)
Offline
well as i understand it, he's stuck on gdm and can't get to a shell to execute that command or edit his /etc/rc.conf. A quicker solution than what I posted earlier might be to just do ctrl-alt-f5 or some other vc.
my replay was based on the assumption that x configured the keyboard correctly (that is, he can use it to switch to another terminal, ctrl-altf5 for example). if x did not set up his keyboard correctly, i guess there isn't any way to switch to a vetual terminal and a reboot is required (or in his case, the rest button).
to sum it up, /etc/rc.d/gdm if you can switch to a virtual terminal, or rest and go into "safe mode".
*too late*
Last edited by SIGTERMer (2009-04-11 03:46:36)
Offline
Pages: 1