« Open WebMail 行事曆進階應用 | 首頁 | 讓 Outlook Express 不再出現壓縮郵件提示訊息 »
2009年01月14日
自動登入 Linux 系統
- 自動登入 GNOME 桌面
- 自動登入 tty 文字介面
自動登入 GNOME 桌面
vi /etc/gdm/custom.conf
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=account
TimedLoginEnable=true
TimedLogin=account
TimedLoginDelay=0
參考資料:
- The Fedora Community Portal - f9 gnome auto login questions
- Matt's Tech Blog - Auto Login on Fedora Core 9, 10 & 11
自動登入 tty 文字介面
vi /sbin/autologin
#!/bin/sh
exec 0</dev/$1 1>/dev/$1 2>&1
shift
exec $*vi /etc/event.d/tty1
respawn
#exec /sbin/getty 38400 tty1
exec /sbin/autologin tty1 login -f your_nameor
vi /etc/inittab
#1:2345:respawn:/sbin/mingetty tty1
1:2345:respawn:/sbin/autologin tty1 login -f your_name
Posted by Jamyy at 2009年01月14日 10:30