You are not logged in.

#1 2008-01-12 07:26:58

B-Con
Member
From: USA
Registered: 2007-12-17
Posts: 553
Website

Kill Xorg without restart

I can kill Xorg via a simple "killall Xorg", but how can I prevent it from starting up again? To auto-start Gnome, I have gdm in my rc.conf, so is that what's causing it to restart? Is rc.conf being run each time? I'd like to be able to kill Xorg and drop back to a plain VC.

Offline

#2 2008-01-12 07:33:23

FizDev
Member
From: Canada
Registered: 2007-06-29
Posts: 57

Re: Kill Xorg without restart

kill gdm then kill xorg

Offline

#3 2008-01-12 12:58:50

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: Kill Xorg without restart

init 3 lol


I need real, proper pen and paper for this.

Offline

#4 2008-01-12 13:21:04

Partition
Forum Fellow
From: Kraków, Poland
Registered: 2007-02-25
Posts: 21

Re: Kill Xorg without restart

Type:

/etc/rc.d/gdm stop

From console.

Last edited by Partition (2008-01-12 13:21:42)

Offline

#5 2008-01-16 06:25:02

B-Con
Member
From: USA
Registered: 2007-12-17
Posts: 553
Website

Re: Kill Xorg without restart

Mm, thanks guys.

Offline

#6 2008-01-16 13:34:44

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: Kill Xorg without restart

B-Con wrote:

Is rc.conf being run each time?

You probably have gdm in your DAEMONS array. rc.conf is not being run each time, but gdm is still running when you kill X, and it will re-start X automatically. That's why you have to kill gdm too.

Offline

Board footer

Powered by FluxBB