[mythtv-users] autologin

Dennis Lou dlou99 at yahoo.com
Sun May 4 20:05:11 EDT 2003


Someone was asking about autologin a couple weeks ago.

In case you haven't figured it out yet, here's what
I did:

cat > /root/autostartmyth
#!/bin/bash
su mythtv startx
^D

Then I did the .xinitrc mentioned in the docs.
Then in /etc/inittab, I changed "id:2:initdefault:"
to "id:4:initdefault" and 
"6:23:respawn:/sbin/getty 38400 tty6" to
"6:4:respawn:/sbin/getty -n -l /root/autostartmyth
38400 tty6".

I also disabled xdm for good measure.

I suppose if you want just an autologin instead of
an autostart, you could replace "su mythtv startx"
with "login -f mythtv".

-Dennis

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com


More information about the mythtv-users mailing list