ubuntu启动转圈,无法进入登录界面

安装卸载搜狗拼音输入法相关东西后出现启动转圈问题

当前使用的是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
 

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值