安装卸载搜狗拼音输入法相关东西后出现启动转圈问题
当前使用的是lightdm,按网上说去切换成gdm3
(1)要在刚进入系统没显示圈圈和ubuntu时长按shift进入gurb。
(2)选择Ubuntu高级选项,enter
(3)选择recovery mode
(4)选择resume,进入命令行
(5)输入账号密码登陆
(6)输入 sudo dpkg-reconfigure gdm3
(7)选择gdm3
(8)reboot
正常进入桌面
————————————————
但使用 gdm3无法使用向日葵远程,继续折腾如何恢复使用lightdm
切换回lightdm3
然后执行
apt-get remove ubuntu-sesion
apt-get install unity-greeter
日志信息
/var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.00s] DEBUG: Seat seat0: Failed to find session configuration default
[+0.00s] DEBUG: Seat seat0: Failed to create greeter session
The core problem seems to be the Failed to find session configuration default
. Could be caused because the configuration set default
at some point (checkout the ${HOME}/.dmrc
files} but I was able to workaround the problem by using the unity-greeter package:
apt-get remove ubuntu-sesion apt-get install unity-greeter
Made the trick. It would be great to have a more elegant solution and keep ubuntu-desktop installed.
-----------------------
重启后输入密码无法登录 failed to start session
在登录界面按ctrl+alt+f1进入tty1界面并登录,之后输入命令
sudo apt update
sudo apt install ubuntu-desktop
sudo reboot