在ubuntu系统命令行窗口中以此执行:

sudo apt-get update
sudo apt-get upgrade
sudo apt install lightdm

重启电脑即可成功连接。

相关文章: