« July 2007 | Main | January 2008 »

November 20, 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

November 1, 2007

X11 Display on Vista with ssh

Need an X11 interface that works quickly and for free... install Cygwin with X11 and openssh.... then make sure your ssh on your remote host has X11forwarding=yes.

from your bash shell in cygwin type startx a x11 xterm will come up and type:

DISPLAY=localhost:0.0 ssh -Y remotehost


you set... then any remote x app will appear on your desktop