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

JT Moree moreejt at pcxperience.com
Tue Dec 5 21:18:37 MST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFdkSd1JwGi/ukQqERAnAZAKDg7Ikt8XiDfulNnLgwWjgfj6N6VACdGuiW
7fCO2kdZmIxKp62vZY3ZSsk=
=J8CG
-----END PGP SIGNATURE-----

-- 
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.



More information about the PLUG-discuss mailing list