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*

重启,成功进入桌面!

相关推荐
一个平凡而乐于分享的小比特2 分钟前
Linux最小系统详解
linux·最小系统
Levin__NLP_CV_AIGC3 分钟前
Ubuntu部署Dufs
linux·运维·服务器·ubuntu·ssh
程序员agions5 分钟前
Unity 游戏开发邪修秘籍:从入门到被策划追杀的艺术
unity·cocoa·lucene
wulalalalalalalal19 分钟前
Linux 内网服务器通过代理访问外网
linux·运维·服务器
C_心欲无痕22 分钟前
ts - 模板字面量类型与 `keyof` 的魔法组合:`keyof T & `on${string}`使用
linux·运维·开发语言·前端·ubuntu·typescript
fy zs24 分钟前
网络编程套接字
linux·服务器·网络·c++
AC赳赳老秦28 分钟前
Unity游戏开发实战指南:核心逻辑与场景构建详解
开发语言·spring boot·爬虫·搜索引擎·全文检索·lucene·deepseek
望眼欲穿的程序猿31 分钟前
基于Linux&MacOS 开发Ai8051U
linux·运维·macos
Bigbig.34 分钟前
驱动工程师面试题 - 操作系统1
linux·开发语言·面试·硬件架构
oMcLin1 小时前
如何在 CentOS Stream 9 上配置并优化 PostgreSQL 15,支持高并发的数据插入与快速查询?
linux·postgresql·centos