Gentoo Archives: gentoo-catalyst

From: Chris Gianelloni <wolf31o2@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] Auto Login
Date: Fri, 09 Sep 2005 19:07:18
Message-Id: 1126292760.29257.91.camel@cgianelloni.nuvox.net
In Reply to: [gentoo-catalyst] Auto Login by "Kessler
1 On Fri, 2005-09-09 at 13:37 -0500, Kessler, Paul wrote:
2 > Well I am back up and running, my image boots great once again. I am
3 > adding a user named gentoo in my stage2 spec with livecd/users:
4 > gentoo. In my fsscript I edit the rc.conf and set the following
5 > values:
6 >
7 >
8 >
9 > EDITOR=/usr/bin/vim
10 >
11 > DISPLAYMANAGER=gdm
12 >
13 > XSESSION=”Gnome”
14 >
15 >
16 >
17 > I also set the gdm.conf to autologin user gentoo in 10 seconds. When I
18 > boot and X starts I get the gdm screen and the counter is ticking,
19 > user gentoo is logged in but Gnome does not start. The changes in
20 > rc.conf should start Gnome by default unless there is a .xinitrc in
21 > the user directory. At least that is the impression I am under from
22 > the comments in rc.conf. I double checked Gnome is
23 > in /etc/X11/Sessions/. Even if I log out and get back to gdm, and
24 > manually select Gnome, it doesn’t start. Any thoughts?
25
26 Here's what I do:
27
28 echo "[Desktop]" > /home/gentoo/.dmrc
29 echo "Session=gnome" >> /home/gentoo/.dmrc
30 chown -R 1000:100 /home/gentoo
31
32 Remember that session managers do *not* read .xinitrc, but read .dmrc
33 instead. I honestly don't know why it doesn't work as it is supposed
34 to, but I do know that this solution works.
35
36 --
37 Chris Gianelloni
38 Release Engineering - Strategic Lead/QA Manager
39 Games - Developer
40 Gentoo Linux

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-catalyst] Auto Login Andreas Rueckert <a_rueckert@×××.net>