Chris Gianelloni wrote:
On Thu, 2006-07-20 at 22:29 +0000, Alex wrote:
You said the code was wrong. does it mean it does now auto-login? (or is it an interpretation failure again?)

Yes and no.

What it *should* do is auto-login to the command line as root, just like
a CD that is not X-based will do.  However, root's /root/.bashrc should
be setup to do the following:

#1. Determine if "nox" appears on the command line, if it does, abort
#2. Determine if X is even installed
#3. Look for /etc/startx (created by catalyst automatically for the
"generic-livecd" livecd/type
#4. Remove /etc/startx, so it doesn't try to auto-start X repeatedly
#5. Start X as the first user defined in livecd/users using "su"
#6. Spit out the MOTD again so you can see it when you switch back to
the console

Now, this is what it is *designed* to do.  If it doesn't do this, then
it's a bug and it needs to be fixed in the code.

What this will *not* do is setup any kind of auto-login via any display
manager.  If you want the display manager configured, you need to do so
yourself.  The reason for this is actually pretty simple, we've found
that people's tastes when it comes to how their display manager looks is
much more rabid than we'd like.  Using "startx" and allowing the user to
customize via *either* livecd/xsession to start a particular session or
livecd/xinitrc to start something that isn't even defined by a session
gives the user the maximum flexibility, without making it overly
complex.


I think this way is lots better than auto-login via a display manager, too, because so

#1. nobody needs to install a dm on the cd
#2. it is easier for you, because you needn't write a configuration file for each dm ;)

btw would it maybe nice if there's a var in the config to specifiy which user should login, if anyone wants no user to login. Maybe you get this implemented for catalyst 2.0, or I write a patch for such a feature ;). But not now, here is it very late and so i cant concentrate.
Just an idea ;)

bye.
--
[EMAIL PROTECTED] mailing list

Reply via email to