20.04 更新后登录循环 - startx 不起作用

20.04 更新后登录循环 - startx 不起作用

我今天早上更新(自动更新程序)后遇到了登录循环,我找到的建议解决方案没有帮助。含义:

  • 自动登录已禁用/etc/gdm3/custom.conf
  • 权限.Xauthority-rw------- username username
  • 所有者/tmproot root并且权限是drwxrwxrwt

我注意到当我从控制台尝试时 xserver 没有启动。我无法显示整个日志文件,因为它显然“看起来像垃圾邮件”(这让我抓狂),所以这是最后一部分:

[    57.686] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    57.686] (II) FBDEV: driver for framebuffer: fbdev
[    57.686] (II) VESA: driver for VESA chipsets: vesa
[    57.687] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[    57.811] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
[    57.811] (WW) Falling back to old probe method for modesetting
[    57.811] (II) modeset(1): using default device
[    57.811] (II) Loading sub module "fbdevhw"
[    57.811] (II) LoadModule: "fbdevhw"
[    57.812] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    57.812] (II) Module fbdevhw: vendor="X.Org Foundation"
[    57.812]    compiled for 1.20.8, module version = 0.0.2
[    57.812]    ABI class: X.Org Video Driver, version 24.1
[    57.812] (EE) open /dev/fb0: Permission denied
[    57.812] (WW) Falling back to old probe method for fbdev
[    57.812] (II) Loading sub module "fbdevhw"
[    57.812] (II) LoadModule: "fbdevhw"
[    57.812] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    57.812] (II) Module fbdevhw: vendor="X.Org Foundation"
[    57.812]    compiled for 1.20.8, module version = 0.0.2
[    57.812]    ABI class: X.Org Video Driver, version 24.1
[    57.812] (EE) open /dev/fb0: Permission denied
[    57.812] (II) modeset(G0): using drv /dev/dri/card0
[    57.812] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    57.812] (EE) Screen 0 deleted because of no matching config section.
[    57.812] (II) UnloadModule: "modesetting"
[    57.812] (EE) Screen 1 deleted because of no matching config section.
[    57.812] (II) UnloadModule: "fbdev"
[    57.812] (II) UnloadSubModule: "fbdevhw"
[    57.812] (EE) 
Fatal server error:
[    57.812] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices

[    57.836] (EE) Server terminated with error (1). Closing log file.

有什么提示可能出了什么问题吗?我有点绝望,应该重新开始使用这个站,我会非常感激任何帮助。

亲切的问候。

答案1

更新后缺少 xorg.conf。运行后会在工作目录中Xorg -configure创建。将其复制到 /etc/X11/ 文件夹并重新启动 x-server 即可解决问题。xorg.conf.newcp xorg.conf.new /etc/X11/xorg.conf

相关内容