On Wednesday 21 Feb 2007 18:36:59 Etaoin Shrdlu wrote:
> On Wednesday 21 February 2007 13:19, John covici wrote:
> > Yep, that does work, but I had no idea that functionality was even
> > there -- the line was commented out in the file.
>
> That sets a systemwide default. As others suggested, the file ~/.xinitrc
> might be used to choose on a per-user basis the X session to run (it has
> to be created by each user who wants it).

Actually, GDM uses Xsessions and startx uses xinitrc files.

If you look at the /etc/X11/xinitrc file, it looks for and uses the ~/.xinitrc 
file if present. Otherwise, it uses the system default 
of /etc/X11/chooser.sh, which uses the variable XSESSION.

If neither of the methods works, it starts a twm session.

Correct me if I'm wrong please.

HTH.

-- 
----------------------------------------
Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net
----------------------------------------

Attachment: pgprnaz4AOvRf.pgp
Description: PGP signature

Reply via email to