boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - Autologin
相关主题
usb文件的mount权限问题
在线升级ubuntu 11.10中...
u盘的自动sync?
Let a non-root user turn off computer
what packages needed to init 5 X11
MATLAB 2009 on RHEL5
这边高手多,问个简单网络问题
成功安装Chrome OS到硬盘上
问个基础问题,关于linux command存放地址
Newbie question
相关话题的讨论汇总
话题: autologin话题: edit话题: tty1话题: change话题: user
进入Linux版参与讨论
1 (共1页)
h*******c
发帖数: 248
1
看到autorun的帖子,顺便贡献一个autologin的方法。
I'm the only user of my linux box. I want to have autologin w/o gdm/kdm or
any other unnecessary stuff. Here is the solution:
- Change boot level to 3:
edit /etc/inittab: id:3:initdefault:
- Autologin w/o X:
edit /etc/event.d/tty1: change the last line to
exec /sbin/mingetty --autologin your-user-name tty1
- Auto start X:
edit your .bash_profile and add a line at the end
[ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ] && startx
1 (共1页)
进入Linux版参与讨论
相关主题
Newbie question
ubuntu sudo PATH issue
装个无线usb adapter把u-nas iv的debian系统搞费了
iptables禁用的ip存在哪里?
busybox ined problem
how to do this Iptables setting?
expect question
iptables can kill the network connection if booting from nfs ?
simulate connection drop by iptables?
echo $VAR is not working in bash shell script ?
相关话题的讨论汇总
话题: autologin话题: edit话题: tty1话题: change话题: user