当前位置: 首页 > 工具软件 > LightDM > 使用案例 >

Ubuntu使用lightdm避坑

阎冠玉
2023-12-01

项目中需要使用lightdm来远程桌面,发现掉坑里
1.使用阿里源 /etc/apt/source.list

deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

2、安装
$sudo apt update
$ sudo apt install -y lightdm

3、启动界面配置为lightdm
$ sudo dpkg-reconfigure lightdm

注意,如果使用默认源,可能导致重启时桌面卡在log处;

 类似资料: