« X11 Display on Vista with ssh | Main | Freebsd PHP ports tree »

Mythtv and Centos Gnome Autologin

After a bit of time playing with Media portal, which is GREAT, I have gone back to mythtv, which is not quite as intuitive, and setting up a recording is the worst ui experience, I only hope it gets better, but step one for me is to get the autologin working on Centos 5 the howto is below

Super simple way:

go to your mythtv user dir (~mythtv), make sure that the mythtv user has a valid shell:

vipw
in vipw "/mythtv"
if it has /sbin/nologin as the shell change it to /bin/bash or your favorite shell

next edit your /etc/gdm/custom.conf

add:

[daemon]
AutomaticLoginEnable=true
AutomaticLogin=mythtv
or
TimedLoginEnable=true
TimedLogin=mythtv
TimedLoginDelay=20
for a timer

then
edit ~mythtv/.xsession

add the lines:
#!/bin/bash
metacity &
i#xterm &
mythwelcome
chmod 755 ~mythtv/.xsession

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)