Ubuntu18 登录界面死循环 Ubuntu进不了桌面

今天碰到这个问题,真是把我恶心到了

网上很多方法都不靠谱,最后我还是自己摸索出一个方法

先进入终端

开机后在登陆界面按下shift + ctrl + F1(或者F2,一直按)进入tty命令行终端登陆后输入(本人的用户名为hp,因此chown后面跟了hp:hp若为其他用户名修改成相应的名称即可)

检查xseesion-error文件

bash 复制代码
vim ~/.xseesion-error

然后就看到以下内容

bash 复制代码
X1ib:extension "GLX"missing on display .o"
ukexlib: extension "GLx"missing on display ";ou
Script for ibus started at run_im、
Script for auto started at run_im.
Script for default started at run im、
init:at-spi2-registryd main process ended, respauning
init:at-spi2-registryd main process ended, respauning
init:at-spi2-registryd main process ended, respawning
init:at-spi2-registryd main process ended, respauning
LiGinit:at-spi2-registryd main process ended, respauning
init:gnome-session (Unity) main process (2967) terminated with status
init:at-spi2-registryd main process ended, respawning
init:unity-settings-daemon main process (2952) killed by TERM signal
init:logrotate main process (2856) killed by TERM signal
init:update-notifier-crash(/var/crash/_usr_hin_ibus-daemon.1000.crash) main process (2892) killed
by TERM Signal
uceinit:indicator-bluetooth main process (3035) killed by TERM signal
init:indicator-powermain process (3037) killed by TERM signal
init:indicator-datetime main process (3039) killed by TERM signal
init:indicator-sound main process(3046) killed by TERM signal
init:indicator-printers main process (3047) killed by TERM signal
init:indicator-session main process (3048) killed by TERM signal
init:indicator-application main process (3067) terminated with status 1
init:Disconnected from notified D-Bus bus
snaplinit: unity-panel-service main process (2973) killed by KILL signal
vk s
/.xsession-errors" 24L, 1430
A11

第一行就写着问题所在
X1ib:extension "GLX"missing on display .o"

那么如何解决呢?

卸载nvidia驱动!!!!!!

bash 复制代码
sudo apt-get --purge remove nvidia*

重启,成功进入桌面!

相关推荐
wenlonglanying21 小时前
Ubuntu 系统下安装 Nginx
数据库·nginx·ubuntu
biubiubiu070621 小时前
Linux / Ubuntu systemd 服务使用说明
linux·运维·ubuntu
MaximusCoder1 天前
等保测评命令——Anolis Linux
linux·运维·服务器·网络·经验分享·安全·php
zhojiew1 天前
为agent实现渐进式Skills能力的思考和实践
linux·python·算法
相思难忘成疾1 天前
《RHEL9虚拟机部署及SSH远程登录实践手册》
linux·运维·ssh·虚拟机
cg_ssh1 天前
Vue3中样式变量的使用
linux·运维·服务器
balmtv1 天前
Linux(CentOS)安装 MySQL
linux·mysql·centos
轻颂呀1 天前
Linux总结
linux·运维·服务器
-ONLY-¥1 天前
LNMP架构部署实战全解析
linux
AMoon丶1 天前
C++模版-函数模版,类模版基础
java·linux·c语言·开发语言·jvm·c++·算法