V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
bigpigeon
V2EX  ›  问与答

ubuntu 手贱安装 nvidia-current nvidia-settings 导致无法启动桌面

  •  
  •   bigpigeon · 2016-12-29 10:34:42 +08:00 · 6550 次点击
    这是一个创建于 2681 天前的主题,其中的信息可能已经有所发展或是发生改变。

    有什么办法可以恢复吗?我的 ubuntu 版本是 16.04

    .xsession-errors 的错误是

    Xlib:  extension "GLX" missing on display ":0".
    openConnection: connect: No such file or directory
    cannot connect to brltty at :0
    upstart: gnome-session (Unity) main process (2254) terminated with status 1
    upstart: unity-settings-daemon main process (2245) killed by TERM signal
    upstart: Disconnected from notified D-Bus bus
    upstart: logrotate main process (2082) killed by TERM signal
    upstart: bamfdaemon main process (2173) killed by TERM signal
    upstart: hud main process (2243) killed by TERM signal
    upstart: indicator-messages main process (2293) killed by TERM signal
    upstart: indicator-bluetooth main process (2294) killed by TERM signal
    upstart: indicator-power main process (2295) killed by TERM signal
    upstart: indicator-session main process (2300) killed by TERM signal
    upstart: indicator-datetime main process (2296) killed by TERM signal
    upstart: indicator-printers main process (2299) killed by TERM signal
    upstart: unity-panel-service main process (2261) killed by TERM signal
    upstart: indicator-keyboard main process (2297) killed by TERM signal
    upstart: indicator-sound main process (2298) killed by TERM signal
    
    7 条回复    2019-07-14 22:45:44 +08:00
    jmc891205
        1
    jmc891205  
       2016-12-29 10:41:03 +08:00
    登录界面 ctrl+alt+f1 进命令行把这两个包删掉试试?
    bigpigeon
        2
    bigpigeon  
    OP
       2016-12-29 10:49:54 +08:00
    我通过使用 bumblebee-nvidia 弄好了,不过另一个显示器还是不亮
    bigpigeon
        3
    bigpigeon  
    OP
       2016-12-29 10:50:21 +08:00
    @jmc891205 试过删掉,但不行
    sleeperqp
        4
    sleeperqp  
       2016-12-29 11:24:15 +08:00
    http://unix.stackexchange.com/questions/254377/xlib-extension-glx-missing-with-an-nvidia-card-and-on-board-graphics 试一试? 最好的安装方法应该是装 cuda 的离线 deb 包, 妥妥的没问题
    bigpigeon
        5
    bigpigeon  
    OP
       2016-12-29 11:37:25 +08:00
    @sleeperqp 我用 bumblebee-nvidia 了,不过另一个显示器还是没显示
    现在.xsession-errors 是
    openConnection: connect: No such file or directory
    cannot connect to brltty at :0
    bigpigeon
        6
    bigpigeon  
    OP
       2016-12-29 16:29:27 +08:00
    如果用光盘启动的 ubuntu 就可以检测到 2 个显示器
    不知道是哪里配错了,有什么简单的还原方法么
    faith0724
        7
    faith0724  
       2019-07-14 22:45:44 +08:00
    请问楼主这个问题解决了吗?我也遇到了类似的问题,试了好多办法都行不通.......
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   747 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 21:15 · PVG 05:15 · LAX 14:15 · JFK 17:15
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.