[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MediaCenter auto-login



{in response to linux.debian.user}

"Jacob221" wrote:
> Hi,
> I'm working on my computer to do a Linux MediaCenter (to play videos, DVS,
> music, maybe games, and such). Since this computer will not have internet
> nor LAN access, i'd like it to auto-login, so that by insterting a CD and
> booting up, everything is done and not a single key has to be pressed.
> How can I auto-login as a _user_ (still, not as root, since i wouldn't
> like any ap to corupt my system) in the Command Lie Interface? (the idea
> is not to use X)

install mingetty, then edit /etc/inittab so:

    1:2345:respawn:/sbin/mingetty --autologin jacob tty1

Get rid of the display manager(s):  rm -i /etc/rc2.d/*dm
If you eventually do want X to start, run startx from your .bash_profile :

    if [ `tty` = "/dev/tty1" ]; then
        startx
    fi



Reply to: