我从一台 Ubuntu 20.04 KVM 服务器克隆了 Ubuntu 20.04,在另一台 Ubuntu 20.04 KVM 服务器上重新安装后,startx 不起作用

我从一台 Ubuntu 20.04 KVM 服务器克隆了 Ubuntu 20.04,在另一台 Ubuntu 20.04 KVM 服务器上重新安装后,startx 不起作用

我从 Ubuntu 20.04 KVM 服务器克隆了一个 VM Ubuntu 20.04。然后我将其重新安装在另一台 Ubuntu 20.04 KVM 服务器上。原始服务器比第二台服务器更新。我从克隆中创建 VM 服务器没有遇到任何问题。我只是无法让“startx”工作。我试过“apt purge gdm3”和“apt install gdm3”。我甚至重新安装了“ubuntu-desktop”。“.Xauthority”是正确的。“Xorg -configure”也不起作用。我尝试使用“nomodeset”启动。无论哪个用户,它甚至无法与“root”一起使用 lspci - 00:01.0 VGA 兼容控制器:Red Hat, Inc. QXL 半虚拟显卡(修订版 04)原始和克隆的 VM 服务器上的情况相同。

lspci - 08:00.0 VGA 兼容控制器:Matrox Electronics Systems Ltd. MGA G200e [Pilot] ServerEngines (SEP1) (rev 05) - 较旧的服务器

lspci- 05:00.0 VGA 兼容控制器:Matrox Electronics Systems Ltd. MGA G200e [Pilot] ServerEngines (SEP1) (rev 42) - 较新的服务器

在我启动“startx”之后

X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.15.0-140-generic x86_64 Ubuntu
Current Operating System: Linux 1099-VMUbuntu-2004 5.8.0-59-generic #66~20.04.1-Ubuntu SMP Thu Jun 17 11:14:10 UTC 2021 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-5.8.0-59-generic root=UUID=5e2188b4-e53f-4637-befa-279a3ce00e48 ro quiet splash vconsole.keymap=de-latin1-nodeadkeys video=640x480 vt.handoff=6
Build Date: 08 April 2021  12:29:22PM
xorg-server 2:1.20.9-2ubuntu1.2~20.04.2 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.38.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/auto/.local/share/xorg/Xorg.0.log", Time: Tue Apr  4 11:34:05 2023
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
(II) [KMS] Kernel modesetting enabled.
resizing primary to 1024x768
primary is 0x56473ac6ba90
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

我比较了 /home/USER/.local/share/xorg 日志。它们直到最后都是相同的。

[  2336.538] (II) event4  - spice vdagent tablet: device removed
[  2336.584] (II) systemd-logind: got pause for 13:67
[  2336.584] (II) systemd-logind: got pause for 13:65
[  2336.584] (II) systemd-logind: got pause for 13:64
[  2336.584] (II) systemd-logind: got pause for 13:66
[  2336.584] (II) systemd-logind: got pause for 13:68
[  2336.584] (II) systemd-logind: got pause for 226:0
[  2336.584] (II) config/udev: removing device spice vdagent tablet
[  2336.596] (II) UnloadModule: "libinput"
[  2336.596] (II) systemd-logind: releasing fd for 13:68
[  2336.607] (EE) systemd-logind: failed to release device: Device not taken
[  2341.129] (II) UnloadModule: "libinput"
[  2341.129] (II) systemd-logind: releasing fd for 13:66
[  2341.156] (II) UnloadModule: "libinput"
[  2341.156] (II) systemd-logind: releasing fd for 13:65
[  2341.176] (II) UnloadModule: "libinput"
[  2341.176] (II) systemd-logind: releasing fd for 13:67
[  2341.216] (II) UnloadModule: "libinput"
[  2341.216] (II) systemd-logind: releasing fd for 13:64
[  2341.250] (II) Server terminated successfully (0). Closing log file

相关内容