[mythtv-users] Autologin with gdm

Stephen Tait tait at digitallaw.co.uk
Fri Jun 18 11:32:57 EDT 2004


At 13:04 18/06/2004 +0100, you wrote:
>Hi,
>
>I hope this isn't too off topic, sorry if it is.

Well, not too offtopic to me, been trying to do something very similar myself.


>I've been starting up X, using XFCE as a window manager and running
>mythfrontend manually up till now.  I did an emerge gdm (Gentoo) the
>other day and ran it to see if I could get an autologin setup now I've
>got X and things happy on my TV.  When I log in from the gdm greeter
>though, it says something about not having Gnome and just gives me an
>xterm.

I'm assuming you've set up your default session at xfce? Not used GDM, but 
it might define a default session of GNOME first.

Open up /etc/rc.conf and change the variable to XSESSION="xfce" or whatever 
it happens to be called. You can get a list of all your possible sessions 
if you ls /etc/X11/Sessions

If you want X and your login manager to start up automatically, you need to 
do rc-update add xdm default, after editing your /etc/rc.conf do that 
DISPLAYMANAGER="gdm". Then XDM will start on boot.


>Does anyone know how to configure gdm to log my mythtv user in so that
>I just get X with XFCE as a window manager?

That should do it. It should also be in the gentoo docs...! I dunno how to 
configure the autologin though.

I'm trying to do the same thing using xdm and fluxbox, but it's a world of 
pain. It seems the only login managers that'll let you do autologin are kdm 
and gdm, neither of which I want to use.


>Thanks,
>
>        Steve
>
>--
>Stephen Longhurst
>steve at longsteve.com
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list