ubuntu 자동로그인 10.04

페이지 정보

작성자 조희승 댓글 0건 조회 6,115회 작성일 12-08-17 15:24

본문

Open /etc/init/tty1.conf as root:
sudo nano /etc/init/tty1.conf
Change the last line of this file to (where USERNAME is the username of the user you want to log in):
exec /bin/login -f root </dev/tty1> /dev/tty1 2>&1
nano ~/.bashrc
Add the following to the end of the file:
if [ $(tty) == "/dev/tty1" ]; then
startx
fi

댓글목록

등록된 댓글이 없습니다.