Monday, November 19, 2007

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

No comments:

Post a Comment