X and runlevels WAS xorg.conf: thought I would pass this alo…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: JT Moree
Date:  
To: Main PLUG discussion list
Old-Topics: xorg.conf: thought I would pass this along
Subject: X and runlevels WAS xorg.conf: thought I would pass this along
Jerry Davis wrote:
> So I changed xorg.conf and rebooted. (I don't know how to change the runlevel
> in kubuntu to 3 and then back to 5 [ if that is what is needed ] to restart
> X).


That's not how it works in the debian world. I actually prefer the
gentoo way of running x but debian's is almost as good.

the login manager (kdm in your case, gdm for gnome users) runs as a
service from /etc/init.d/kdm. Like most other services in the system
you simply type /etc/init.d/kdm restart to restart it.

I don't like the redhat way of doing it bc kdm really is a service and
it makes more sense to put it in the runlevels as one. Some distros put
the x definitions in inittab which is alright but is more of a pain to
deal with. It forces you to change runlevels to stop the display
manager. When in reality a simple killing of the process or
/etc/init.d/kdm stop is enough.

The other advantage to debian's approach is that you can stop kdm and
start gdm by
/etc/init.d/kdm stop
/etc/init.d/gdm start

again, no runlevel changes are needed. the other distros generally have
you changing configuration settings in obscure files and changing
runlevels to get the same effect. gentoo has only one display manager
script (xdm) and it controls all three (xdm,gdm,kdm) through some of
those obscure config files. . . . maybe I dont like it as much . . .

- --
JT Morée
PC Xperience, Inc.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss