到目前为止,在 Kubuntu 18 中按Alt+ Ctrl+L允许我在已登录用户之间切换。现在,在几天前安装 NVidia 驱动程序后,它停止工作并注销其他用户!
的对数cat ~/.xsession-errors
为:
(...)
The X11 connection broke: I/O error (code 1)
XIO: fatal IO error 11 (Zasoby chwilowo niedostępne) on X server ":0"
after 86 requests (86 known processed) with 0 events remaining.
The X11 connection broke (error 1). Did the X11 server die?
kdeinit5: Fatal IO error: client killed
kdeinit5: sending SIGHUP to children.
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
klauncher: Exiting on signal 1
The X11 connection broke (error 1). Did the X11 server die?
kdeinit5: sending SIGTERM to children.
kdeinit5: Exit.
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
Qt: Dead lock detected while activating a BlockingQueuedConnection: Sender is QObject(0x55dd0c424b50), receiver is QDBusConnectionPrivate(0x7f435c004e80)
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke: I/O error (code 1)
XIO: fatal IO error 25 (Niewłaściwy ioctl dla urządzenia) on X server ":0"
after 2096 requests (2096 known processed) with 0 events remaining.
Unexpected response from KInit (response = 0).
startkde: Could not start ksmserver. Check your installation.
Error: Can't open display: :0
The X11 connection broke (error 1). Did the X11 server die?
file:///usr/share/plasma/plasmoids/org.kde.plasma.clipboard/contents/ui/ClipboardPage.qml:107:26: Unable to assign [undefined] to QAbstractItemModel*
startkde: Shutting down...
kdeinit5_wrapper: Warning: connect(/run/user/1003/kdeinit5__0) failed: : No such file or directory
Error: Can not contact kdeinit5!
xprop: unable to open display ':0'
xprop: unable to open display ':0'
startkde: Done.
Nvidia 驱动版本:430
,试过也还是390
同样的问题。内核版本:4.15.0-55-generic
。
卸载 Nvidia 驱动程序可以解决问题,但是 3D 游戏运行起来非常慢,所以这不是解决方案 :-(
答案1
经过长时间的搜索,以下内容对我有帮助:
- 安装大黄蜂:https://float-middle.com/ubuntu-18-04-steam-and-nvidia-390/(仅在玩游戏时才加载 nvidia 驱动程序)
- 为 Steam 启用 Bumblebee:https://support.steampowered.com/kb_article.php?ref=6316-GJKC-7437&l=portuguese