You are not logged in.

#1 2009-04-11 02:58:27

caelestis
Member
Registered: 2009-04-04
Posts: 88

[SOLVED]Stop X from starting?

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

#2 2009-04-11 03:28:16

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: [SOLVED]Stop X from starting?

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

#3 2009-04-11 03:30:13

SIGTERMer
Member
From: South Sura, Kuwait
Registered: 2009-01-24
Posts: 41
Website

Re: [SOLVED]Stop X from starting?

caelestis wrote:

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

#4 2009-04-11 03:36:43

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: [SOLVED]Stop X from starting?

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

#5 2009-04-11 03:39:33

caelestis
Member
Registered: 2009-04-04
Posts: 88

Re: [SOLVED]Stop X from starting?

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

#6 2009-04-11 03:45:50

SIGTERMer
Member
From: South Sura, Kuwait
Registered: 2009-01-24
Posts: 41
Website

Re: [SOLVED]Stop X from starting?

tdy wrote:

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

Board footer

Powered by FluxBB