码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • Ubuntu18 无法加载登录界面【100%解决】


    Move xorg.conf file out of the way

    If display settings have been corrupted or modified incorrectly, it's good to remove the xorg.conf.

    mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old
    

    By default, X11 config files are instead stored here:

    /usr/share/X11/xorg.conf.d
    

    xorg.conf files saved in /etc/X11 can cause displays issues on boot, and should be avoided wherever possible.

    After moving those files and rebooting, try logging in again. (There may be files you need to move other than the common ones listed above.)

    Reinstall the login manager

    You can reinstall GNOME Display Manager (which handles the login screen), along with the desktop environment by running the below commands in :

    1. sudo apt install --reinstall gdm3 ubuntu-desktop gnome-shell
    2. sudo systemctl reboot

    After reinstalling those packages and rebooting, try logging in again.

    Reinstall NVIDIA Driver

    If your system is equipped with NVIDIA graphics, a recent update might be causing the login issues. (Usually, NVIDIA driver issues will prevent the login screen from loading at all; however, it's still worth reinstalling if you are unable to log in after the above steps.) Refer to the table below to determine if your system contains NVIDIA graphics:

    AlwaysMaybeNever
    Oryx ProWild Dog ProLemur (Pro)
    Adder WSRatelKudu
    Serval WSGalago Pro 5Meerkat
    Bonobo WSGazelleGalago Pro (4 or older)
    Leopard WSThelioDarter Pro
    Silverback WSThelio MiraPangolin
    Thelio MegaThelio Major
    Thelio Massive

    To remove the NVIDIA driver, run the following:

    1. sudo apt purge ~nnvidia
    2. sudo apt autoremove
    3. sudo apt clean

    After the NVIDIA driver has been removed, add it back using the following commands:

    1. sudo apt update
    2. sudo apt full-upgrade
    3. sudo apt install system76-driver-nvidia

    After the installation has completed, type sudo systemctl reboot and try logging in again.

     

     参考链接:

    Black Screen Or Login Issues (Ubuntu) - System76 Support

  • 相关阅读:
    webpack 自定义loader与插件
    用C#实现最小二乘法(用OxyPlot绘图)✨
    allegro中shape的一些基本操作(二)——铜皮添加网络、合并shape
    上位机工业协议-S7COMM
    【C进阶】之定义结构体及使用typedf
    最好的蓝牙耳机是哪种?品牌蓝牙耳机排行榜
    【无标题】
    kafka学习(七):消息队列与JMS
    五 RPM方式Jenkins环境搭建
    计算机组成原理学习笔记:奇偶校验码
  • 原文地址:https://blog.csdn.net/u010087338/article/details/128022045
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号