lubuntu自动登录(lxde)

  lubuntu 是个轻量级的发行版本,非常简洁!值得一试!好吧,上主题,设置自动登录(两步):

1. /etc/lxdm/default.conf

sudo vi /etc/lxdm/default.conf
autologin=username

2./etc/lightdm/lightdm.conf

sudo vi /etc/lightdm/lightdm.conf 
[SeatDefaults]
autologin-user=username
autologin-user-timeout=0
greeter-session=lightdm-gtk-greeter
user-session=Lubuntu
 

注:没有这个文件,则可以新建。

注意黑色部分为添加的内容,还要替换斜体的内容。

转自:https://www.cnblogs.com/xiangzi888/archive/2012/06/20/2557093.html

 

ubuntu自启动默认登录(不需要输入密码)

修改/etc/lightdm/lightdm.conf配置文件如下所示
[SeatDefaults]
autologin-guest=false
autologin-user=username

autologin-user-timeout=0
autologin-session=lightdm-autologin
user-session=ubuntu
greeter-session=unity-greeter

转自:https://blog.csdn.net/lida2003/article/details/9187769

posted on 2023-06-05 15:10  苦涩的茶  阅读(451)  评论(0编辑  收藏  举报

// 1.生成目录索引列表