Today, Paul Lussier gleaned this insight:

> Well, assuming you're using either KDM or GDM as a log in GUI, you can just 
> log each one in and choose which one you want them to use the first time 
> (there's a drop down menu that allows you to choose). This will become the
> default for them for future sessions.
> 
> > And while I'm asking, how does the "startx" command know which to
> >start ?  I looked and didn't see anything.
> 
> 'startx' runs xinit, which looks for a file in the user's homedir
> called either .xinit or .xsession.  This file contains commands to be
> exec'ed at "log in time".  There's also a default Xinit file somewhere
> which it will fall back to if it doesn't find anything in the user's
> homedir.

This is almost true, but not quite.  When starting X with startx, .xinitrc
is the only file looked for (actually you can specify a startup script on
the command line if you like).  From the xinit(1) man page:

       If no specific client program  is  given  on  the  command
       line, xinit will look for a file in the user's home direc�
       tory called .xinitrc to run as a shell script to start  up
       client  programs.   If no such file exists, xinit will use
       the following as a default:

            xterm  -geometry  +1+1  -n  login  -display  :0

[Ignorant indeed!  Grrr...]


Man pages are your friend!  :)


> >I admit that still have not really >figured out what XFree86 is doing
> and why it is used in both environments. >X is still s puzzle to me.

A really good book for figuring it all out is X User Tools, published by
O'Rielly, but unfortunately it's out of print.  You still may be able to
find it here or there though...  Best book on X I ever did see.


> Examples of window managers are:
> 
>       ctwm
>       Enlightenment   (default for Gnome)

It used to be, but now its Sawfish (formerly Sawmill).

[Or I could be wrong, because I'm ignorant... But I'm not bitter.]


-- 
You know that everytime I try to go where I really want to be,
It's already where I am, cuz I'm already there...
---------------------------------------------------------------
Derek D. Martin              |  Unix/Linux Geek
[EMAIL PROTECTED] |  [EMAIL PROTECTED]
---------------------------------------------------------------


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to