树莓派自动登录

1.打开终端,编辑/etc/lightdm/lightdm.conf
2.找到 [Seat] 那一行,在其 下面 添加如下内容
autologin-user=pi原有
autologin-user=root
autologin-user-timeout=0
(注意,一定要找对地方,否则会失败)

posted @ 2022-11-22 08:06  myrj  阅读(25)  评论(0编辑  收藏  举报