Toybrick

Toybrick开发板的Linux系统能自动登录吗

appleUncle

中级会员

积分
440
楼主
发表于 2020-5-23 16:01:32 | 显示全部楼层

/etc/lxdm/lxdm.conf里面配置autologin。如下:


## uncomment and set autologin username to enable autologin
autologin=toybrick

## uncomment and set timeout to enable timeout autologin,
## the value should >=5
timeout=0

## default session or desktop used when no systemwide config
# session=/usr/bin/startlxde

## uncomment and set to set numlock on your keyboard
# numlock=0

## set this if you don't want to put xauth file at ~/.Xauthority
# xauth_path=/tmp

# not ask password for users who have empty password
skip_password=1
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表