【求助】20.04版本无法进入图形界面

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
Suphappy
帖子: 3
注册时间: 2023-02-16 18:11
系统: Ubuntu20.04

【求助】20.04版本无法进入图形界面

#1

帖子 Suphappy » 2023-02-16 18:23

各位大神,求助! :Adore :Adore 开机突然无法进入图形界面,昨天还可以。查了一天还没找到解决办法,只能来求助了 :Cry :Cry
现象:开机黑屏,左上角有一个光标

1.可以ssh进去,除了桌面其他都正常
2.执行startx也没报错,但是闪烁一下就没反应了

X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
Build Operating System: linux Ubuntu
Current Operating System: Linux ubuntu 5.15.0-60-generic #66~20.04.1-Ubuntu SMP Wed Jan 25 09:41:30 UTC 2023 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.15.0-60-generic root=UUID=6d1d22c8-5256-4984-a62d-ce6ba39ae374 ro find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US quiet
Build Date: 07 February 2023 12:48:13PM
xorg-server 2:1.20.13-1ubuntu1~20.04.6 (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: "/var/log/Xorg.1.log", Time: Thu Feb 16 18:20:52 2023
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xinit: connection to X server lost

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


3.启动gdm3服务,发现提示
2月 16 17:38:54 ubuntu gdm3[21509]: GdmDisplay: Session never registered, failing
2月 16 17:38:54 ubuntu gdm3[21509]: Child process -21670 was already dead.
2月 16 17:38:54 ubuntu gdm3[21509]: Child process -21670 was already dead.
2月 16 17:38:54 ubuntu gdm-launch-environment][21681]: pam_unix(gdm-launch-environment:session): session opened for user gdm by (uid=0)
2月 16 17:38:56 ubuntu gdm3[21509]: GdmDisplay: Session never registered, failing
2月 16 17:38:56 ubuntu gdm3[21509]: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors
2月 16 17:38:56 ubuntu gdm3[21509]: Child process -21688 was already dead.
2月 16 17:42:14 ubuntu systemd[1]: Stopping GNOME Display Manager...
2月 16 17:42:14 ubuntu systemd[1]: gdm.service: Succeeded.
2月 16 17:42:14 ubuntu systemd[1]: Stopped GNOME Display Manager.

4.查看xorg的log: 反正我是看不出哪里异常了
lwn@ubuntu:~$ cat /var/log/Xorg.1.log
[ 13004.423]
X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
[ 13004.423] Build Operating System: linux Ubuntu
[ 13004.423] Current Operating System: Linux ubuntu 5.15.0-60-generic #66~20.04.1-Ubuntu SMP Wed Jan 25 09:41:30 UTC 2023 x86_64
[ 13004.423] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.15.0-60-generic root=UUID=6d1d22c8-5256-4984-a62d-ce6ba39ae374 ro find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US quiet
[ 13004.423] Build Date: 07 February 2023 12:48:13PM
[ 13004.423] xorg-server 2:1.20.13-1ubuntu1~20.04.6 (For technical support please see http://www.ubuntu.com/support)
[ 13004.423] Current version of pixman: 0.38.4
[ 13004.423] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 13004.423] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 13004.423] (==) Log file: "/var/log/Xorg.1.log", Time: Thu Feb 16 17:44:14 2023
[ 13004.423] (==) Using config file: "/etc/X11/xorg.conf"
[ 13004.423] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 13004.423] (==) ServerLayout "X.org Configured"
[ 13004.423] (**) |-->Screen "Screen0" (0)
[ 13004.423] (**) | |-->Monitor "Monitor0"
[ 13004.424] (**) | |-->Device "Card0"
[ 13004.424] (**) |-->Input Device "Mouse0"
[ 13004.424] (**) |-->Input Device "Keyboard0"
[ 13004.424] (==) Automatically adding devices
[ 13004.424] (==) Automatically enabling devices
[ 13004.424] (==) Automatically adding GPU devices
[ 13004.424] (==) Automatically binding GPU devices
[ 13004.424] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 13004.424] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 13004.424] Entry deleted from font path.
[ 13004.424] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 13004.424] Entry deleted from font path.
[ 13004.424] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 13004.424] Entry deleted from font path.
[ 13004.424] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 13004.424] Entry deleted from font path.
[ 13004.424] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 13004.424] Entry deleted from font path.
[ 13004.424] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 13004.424] Entry deleted from font path.
[ 13004.424] (**) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
built-ins,
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
built-ins
[ 13004.424] (**) ModulePath set to "/usr/lib/xorg/modules"
[ 13004.424] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 13004.424] (WW) Disabling Mouse0
[ 13004.424] (WW) Disabling Keyboard0
[ 13004.424] (II) Loader magic: 0x55cc63ba3020
[ 13004.424] (II) Module ABI versions:
[ 13004.424] X.Org ANSI C Emulation: 0.4
[ 13004.424] X.Org Video Driver: 24.1
[ 13004.424] X.Org XInput driver : 24.1
[ 13004.424] X.Org Server Extension : 10.0
[ 13004.425] (--) using VT number 1

[ 13004.425] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 13004.426] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 13004.430] (--) PCI:*(0@0:15:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xe8000000/134217728, 0xfe000000/8388608, I/O @ 0x00001070/16, BIOS @ 0x????????/131072
[ 13004.430] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 13004.430] (II) LoadModule: "glx"
[ 13004.430] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 13004.431] (II) Module glx: vendor="X.Org Foundation"
[ 13004.431] compiled for 1.20.13, module version = 1.0.0
[ 13004.431] ABI class: X.Org Server Extension, version 10.0
[ 13004.431] (II) LoadModule: "vmware"
[ 13004.431] (II) Loading /usr/lib/xorg/modules/drivers/vmware_drv.so
[ 13004.442] (II) Module vmware: vendor="X.Org Foundation"
[ 13004.442] compiled for 1.20.8, module version = 13.3.0
[ 13004.442] Module class: X.Org Video Driver
[ 13004.442] ABI class: X.Org Video Driver, version 24.1
[ 13004.442] (II) vmware: driver for VMware SVGA: vmware0405, vmware0710
[ 13004.442] (--) vmware(0): DRM driver version is 2.19.0
[ 13004.442] (==) vmware(0): Depth 24, (--) framebuffer bpp 32
[ 13004.442] (==) vmware(0): RGB weight 888
[ 13004.442] (==) vmware(0): Default visual is TrueColor
[ 13004.442] (--) vmware(0): Min width 1, Max Width 16384.
[ 13004.442] (--) vmware(0): Min height 1, Max Height 16384.
[ 13004.443] (II) vmware(0): Output Virtual1 using monitor section Monitor0
[ 13004.443] (II) vmware(0): Output Virtual2 has no monitor section
[ 13004.443] (II) vmware(0): Output Virtual3 has no monitor section
[ 13004.443] (II) vmware(0): Output Virtual4 has no monitor section
[ 13004.443] (II) vmware(0): Output Virtual5 has no monitor section
[ 13004.443] (II) vmware(0): Output Virtual6 has no monitor section
[ 13004.443] (II) vmware(0): Output Virtual7 has no monitor section
[ 13004.443] (II) vmware(0): Output Virtual8 has no monitor section
[ 13004.443] (II) vmware(0): Printing probed modes for output Virtual1
[ 13004.443] (II) vmware(0): Modeline "800x600"x60.0 42.75 800 850 900 950 600 650 700 750 -hsync +vsync (45.0 kHz eP)
[ 13004.443] (II) vmware(0): Modeline "3840x2400"x60.0 592.25 3840 3888 3920 4000 2400 2403 2409 2469 +hsync -vsync (148.1 kHz e)
[ 13004.443] (II) vmware(0): Modeline "3840x2160"x60.0 533.00 3840 3888 3920 4000 2160 2163 2168 2222 +hsync -vsync (133.2 kHz e)
[ 13004.443] (II) vmware(0): Modeline "2880x1800"x59.9 337.50 2880 2928 2960 3040 1800 1803 1809 1852 +hsync -vsync (111.0 kHz e)
[ 13004.443] (II) vmware(0): Modeline "2560x1600"x60.0 348.50 2560 2752 3032 3504 1600 1603 1609 1658 -hsync +vsync (99.5 kHz e)
[ 13004.443] (II) vmware(0): Modeline "2560x1440"x60.0 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync (88.8 kHz e)
[ 13004.443] (II) vmware(0): Modeline "1920x1440"x60.0 234.00 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync (90.0 kHz e)
[ 13004.443] (II) vmware(0): Modeline "1856x1392"x60.0 218.25 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync (86.3 kHz e)
[ 13004.443] (II) vmware(0): Modeline "1792x1344"x60.0 204.75 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync (83.6 kHz e)
[ 13004.443] (II) vmware(0): Modeline "1920x1200"x59.9 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync (74.6 kHz e)
[ 13004.443] (II) vmware(0): Modeline "1920x1080"x60.0 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync (67.2 kHz e)
[ 13004.443] (II) vmware(0): Modeline "1600x1200"x60.0 162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[ 13004.443] (II) vmware(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[ 13004.443] (II) vmware(0): Modeline "1400x1050"x60.0 121.75 1400 1488 1632 1864 1050 1053 1057 1089 -hsync +vsync (65.3 kHz e)
[ 13004.443] (II) vmware(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 13004.443] (II) vmware(0): Modeline "1440x900"x59.9 106.50 1440 1520 1672 1904 900 903 909 934 -hsync +vsync (55.9 kHz e)
[ 13004.443] (II) vmware(0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz e)
[ 13004.443] (II) vmware(0): Modeline "1360x768"x60.0 85.50 1360 1424 1536 1792 768 771 777 795 +hsync +vsync (47.7 kHz e)
[ 13004.443] (II) vmware(0): Modeline "1280x800"x59.8 83.50 1280 1352 1480 1680 800 803 809 831 +hsync -vsync (49.7 kHz e)
[ 13004.443] (II) vmware(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz e)
[ 13004.443] (II) vmware(0): Modeline "1280x768"x59.9 79.50 1280 1344 1472 1664 768 771 778 798 -hsync +vsync (47.8 kHz e)
[ 13004.443] (II) vmware(0): Modeline "1280x720"x59.9 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync (44.8 kHz e)
[ 13004.443] (II) vmware(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 13004.443] (II) vmware(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 13004.443] (II) vmware(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 489 492 525 -hsync -vsync (31.5 kHz e)
[ 13004.443] (II) vmware(0): EDID for output Virtual2
[ 13004.443] (II) vmware(0): EDID for output Virtual3
[ 13004.443] (II) vmware(0): EDID for output Virtual4
[ 13004.443] (II) vmware(0): EDID for output Virtual5
[ 13004.443] (II) vmware(0): EDID for output Virtual6
[ 13004.443] (II) vmware(0): EDID for output Virtual7
[ 13004.443] (II) vmware(0): EDID for output Virtual8
[ 13004.443] (II) vmware(0): Output Virtual1 connected
[ 13004.443] (II) vmware(0): Output Virtual2 disconnected
[ 13004.443] (II) vmware(0): Output Virtual3 disconnected
[ 13004.443] (II) vmware(0): Output Virtual4 disconnected
[ 13004.443] (II) vmware(0): Output Virtual5 disconnected
[ 13004.443] (II) vmware(0): Output Virtual6 disconnected
[ 13004.443] (II) vmware(0): Output Virtual7 disconnected
[ 13004.443] (II) vmware(0): Output Virtual8 disconnected
[ 13004.443] (II) vmware(0): Using exact sizes for initial modes
[ 13004.443] (II) vmware(0): Output Virtual1 using initial mode 800x600 +0+0
[ 13004.443] (==) vmware(0): DPI set to (96, 96)
[ 13004.443] (==) vmware(0): Using gamma correction (1.0, 1.0, 1.0)
[ 13004.443] (II) Loading sub module "fb"
[ 13004.443] (II) LoadModule: "fb"
[ 13004.443] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 13004.443] (II) Module fb: vendor="X.Org Foundation"
[ 13004.443] compiled for 1.20.13, module version = 1.0.0
[ 13004.443] ABI class: X.Org ANSI C Emulation, version 0.4
[ 13004.443] (II) Loading sub module "dri2"
[ 13004.443] (II) LoadModule: "dri2"
[ 13004.443] (II) Module "dri2" already built-in
[ 13004.443] (II) Loading sub module "dri3"
[ 13004.443] (II) LoadModule: "dri3"
[ 13004.443] (II) Module "dri3" already built-in
[ 13004.443] (II) vmware(0): Initialized VMWARE_CTRL extension version 0.2
[ 13004.449] (II) vmware(0): Gallium3D XA version: 2.5.0.
[ 13004.449] (II) vmware(0): Path of drm device is "/dev/dri/card0".
[ 13004.449] (II) vmware(0): [DRI2] Setup complete
[ 13004.449] (II) vmware(0): [DRI2] DRI driver: vmwgfx
[ 13006.960] (--) vmware(0): Render acceleration is enabled.
[ 13006.960] (==) vmware(0): Rendercheck mode is disabled.
[ 13006.960] (--) vmware(0): Direct rendering (DRI2 3D) is enabled.
[ 13006.960] (--) vmware(0): Direct rendering (DRI3 3D) is enabled.
[ 13006.960] (==) vmware(0): Direct presents are disabled.
[ 13006.960] (==) vmware(0): Hardware only presents are automatic per scanout.
[ 13006.960] (==) vmware(0): Backing store enabled
[ 13006.960] (==) vmware(0): Silken mouse enabled
[ 13006.960] (==) vmware(0): DPMS enabled
[ 13006.961] (II) Initializing extension Generic Event Extension
[ 13006.961] (II) Initializing extension SHAPE
[ 13006.961] (II) Initializing extension MIT-SHM
[ 13006.961] (II) Initializing extension XInputExtension
[ 13006.961] (II) Initializing extension XTEST
[ 13006.961] (II) Initializing extension BIG-REQUESTS
[ 13006.961] (II) Initializing extension SYNC
[ 13006.962] (II) Initializing extension XKEYBOARD
[ 13006.962] (II) Initializing extension XC-MISC
[ 13006.962] (II) Initializing extension SECURITY
[ 13006.962] (II) Initializing extension XFIXES
[ 13006.962] (II) Initializing extension RENDER
[ 13006.962] (II) Initializing extension RANDR
[ 13006.962] (II) Initializing extension COMPOSITE
[ 13006.962] (II) Initializing extension DAMAGE
[ 13006.963] (II) Initializing extension MIT-SCREEN-SAVER
[ 13006.963] (II) Initializing extension DOUBLE-BUFFER
[ 13006.963] (II) Initializing extension RECORD
[ 13006.963] (II) Initializing extension DPMS
[ 13006.963] (II) Initializing extension Present
[ 13006.963] (II) Initializing extension DRI3
[ 13006.963] (II) Initializing extension X-Resource
[ 13006.963] (II) Initializing extension XVideo
[ 13006.964] (II) Initializing extension XVideo-MotionCompensation
[ 13006.964] (II) Initializing extension SELinux
[ 13006.964] (II) SELinux: Disabled on system
[ 13006.964] (II) Initializing extension GLX
[ 13006.972] (II) AIGLX: Loaded and initialized vmwgfx
[ 13006.972] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 13006.972] (II) Initializing extension XFree86-VidModeExtension
[ 13006.972] (II) Initializing extension XFree86-DGA
[ 13006.972] (II) Initializing extension XFree86-DRI
[ 13006.972] (II) Initializing extension DRI2
[ 13006.974] (II) vmware(0): Setting screen physical size to 211 x 158
[ 13007.016] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[ 13007.017] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 13007.017] (II) LoadModule: "libinput"
[ 13007.017] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 13007.017] (II) Module libinput: vendor="X.Org Foundation"
[ 13007.017] compiled for 1.20.4, module version = 0.29.0
[ 13007.017] Module class: X.Org XInput Driver
[ 13007.018] ABI class: X.Org XInput driver, version 24.1
[ 13007.018] (II) Using input driver 'libinput' for 'Power Button'
[ 13007.018] (**) Power Button: always reports core events
[ 13007.018] (**) Option "Device" "/dev/input/event0"
[ 13007.018] (**) Option "_source" "server/udev"
[ 13007.019] (II) event0 - Power Button: is tagged by udev as: Keyboard
[ 13007.019] (II) event0 - Power Button: device is a keyboard
[ 13007.019] (II) event0 - Power Button: device removed
[ 13007.044] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0/event0"
[ 13007.044] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 13007.044] (**) Option "xkb_layout" "us"
[ 13007.045] (II) event0 - Power Button: is tagged by udev as: Keyboard
[ 13007.045] (II) event0 - Power Button: device is a keyboard
[ 13007.046] (II) config/udev: Adding input device VMware VMware Virtual USB Mouse (/dev/input/event4)
[ 13007.046] (**) VMware VMware Virtual USB Mouse: Applying InputClass "libinput pointer catchall"
[ 13007.046] (II) Using input driver 'libinput' for 'VMware VMware Virtual USB Mouse'
[ 13007.046] (**) VMware VMware Virtual USB Mouse: always reports core events
[ 13007.046] (**) Option "Device" "/dev/input/event4"
[ 13007.046] (**) Option "_source" "server/udev"
[ 13007.104] (II) event4 - VMware VMware Virtual USB Mouse: is tagged by udev as: Mouse
[ 13007.104] (II) event4 - VMware VMware Virtual USB Mouse: device is a pointer
[ 13007.105] (II) event4 - VMware VMware Virtual USB Mouse: device removed
[ 13007.140] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.0/0000:03:00.0/usb3/3-1/3-1:1.0/0003:0E0F:0003.0001/input/input5/event4"
[ 13007.140] (II) XINPUT: Adding extended input device "VMware VMware Virtual USB Mouse" (type: MOUSE, id 7)
[ 13007.141] (**) Option "AccelerationScheme" "none"
[ 13007.141] (**) VMware VMware Virtual USB Mouse: (accel) selected scheme none/0
[ 13007.141] (**) VMware VMware Virtual USB Mouse: (accel) acceleration factor: 2.000
[ 13007.141] (**) VMware VMware Virtual USB Mouse: (accel) acceleration threshold: 4
[ 13007.201] (II) event4 - VMware VMware Virtual USB Mouse: is tagged by udev as: Mouse
[ 13007.201] (II) event4 - VMware VMware Virtual USB Mouse: device is a pointer
[ 13007.202] (II) config/udev: Adding input device VMware VMware Virtual USB Mouse (/dev/input/mouse2)
[ 13007.202] (II) No input driver specified, ignoring this device.
[ 13007.202] (II) This device may have been added with another device file.
[ 13007.203] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event1)
[ 13007.203] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[ 13007.203] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[ 13007.203] (**) AT Translated Set 2 keyboard: always reports core events
[ 13007.203] (**) Option "Device" "/dev/input/event1"
[ 13007.203] (**) Option "_source" "server/udev"
[ 13007.203] (II) event1 - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[ 13007.203] (II) event1 - AT Translated Set 2 keyboard: device is a keyboard
[ 13007.204] (II) event1 - AT Translated Set 2 keyboard: device removed
[ 13007.228] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input1/event1"
[ 13007.228] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 8)
[ 13007.228] (**) Option "xkb_layout" "us"
[ 13007.229] (II) event1 - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[ 13007.229] (II) event1 - AT Translated Set 2 keyboard: device is a keyboard
[ 13007.230] (II) config/udev: Adding input device VirtualPS/2 VMware VMMouse (/dev/input/event3)
[ 13007.230] (**) VirtualPS/2 VMware VMMouse: Applying InputClass "libinput pointer catchall"
[ 13007.230] (II) Using input driver 'libinput' for 'VirtualPS/2 VMware VMMouse'
[ 13007.230] (**) VirtualPS/2 VMware VMMouse: always reports core events
[ 13007.230] (**) Option "Device" "/dev/input/event3"
[ 13007.230] (**) Option "_source" "server/udev"
[ 13007.231] (II) event3 - VirtualPS/2 VMware VMMouse: is tagged by udev as: Mouse
[ 13007.231] (II) event3 - VirtualPS/2 VMware VMMouse: device is a pointer
[ 13007.231] (II) event3 - VirtualPS/2 VMware VMMouse: device removed
[ 13007.287] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input3/event3"
[ 13007.287] (II) XINPUT: Adding extended input device "VirtualPS/2 VMware VMMouse" (type: MOUSE, id 9)
[ 13007.287] (**) Option "AccelerationScheme" "none"
[ 13007.287] (**) VirtualPS/2 VMware VMMouse: (accel) selected scheme none/0
[ 13007.287] (**) VirtualPS/2 VMware VMMouse: (accel) acceleration factor: 2.000
[ 13007.287] (**) VirtualPS/2 VMware VMMouse: (accel) acceleration threshold: 4
[ 13007.288] (II) event3 - VirtualPS/2 VMware VMMouse: is tagged by udev as: Mouse
[ 13007.288] (II) event3 - VirtualPS/2 VMware VMMouse: device is a pointer
[ 13007.288] (II) config/udev: Adding input device VirtualPS/2 VMware VMMouse (/dev/input/mouse1)
[ 13007.288] (II) No input driver specified, ignoring this device.
[ 13007.288] (II) This device may have been added with another device file.
[ 13007.289] (II) config/udev: Adding input device VirtualPS/2 VMware VMMouse (/dev/input/event2)
[ 13007.289] (**) VirtualPS/2 VMware VMMouse: Applying InputClass "libinput pointer catchall"
[ 13007.289] (II) Using input driver 'libinput' for 'VirtualPS/2 VMware VMMouse'
[ 13007.289] (**) VirtualPS/2 VMware VMMouse: always reports core events
[ 13007.289] (**) Option "Device" "/dev/input/event2"
[ 13007.289] (**) Option "_source" "server/udev"
[ 13007.289] (II) event2 - VirtualPS/2 VMware VMMouse: is tagged by udev as: Mouse
[ 13007.289] (II) event2 - VirtualPS/2 VMware VMMouse: device is a pointer
[ 13007.290] (II) event2 - VirtualPS/2 VMware VMMouse: device removed
[ 13007.318] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input4/event2"
[ 13007.318] (II) XINPUT: Adding extended input device "VirtualPS/2 VMware VMMouse" (type: MOUSE, id 10)
[ 13007.318] (**) Option "AccelerationScheme" "none"
[ 13007.318] (**) VirtualPS/2 VMware VMMouse: (accel) selected scheme none/0
[ 13007.318] (**) VirtualPS/2 VMware VMMouse: (accel) acceleration factor: 2.000
[ 13007.318] (**) VirtualPS/2 VMware VMMouse: (accel) acceleration threshold: 4
[ 13007.319] (II) event2 - VirtualPS/2 VMware VMMouse: is tagged by udev as: Mouse
[ 13007.319] (II) event2 - VirtualPS/2 VMware VMMouse: device is a pointer
[ 13007.320] (II) config/udev: Adding input device VirtualPS/2 VMware VMMouse (/dev/input/mouse0)
[ 13007.320] (II) No input driver specified, ignoring this device.
[ 13007.320] (II) This device may have been added with another device file.
[ 13007.414] (II) event0 - Power Button: device removed
[ 13007.428] (II) event4 - VMware VMware Virtual USB Mouse: device removed
[ 13007.477] (II) event1 - AT Translated Set 2 keyboard: device removed
[ 13007.501] (II) event3 - VirtualPS/2 VMware VMMouse: device removed
[ 13007.539] (II) event2 - VirtualPS/2 VMware VMMouse: device removed
[ 13007.582] (II) UnloadModule: "libinput"
[ 13007.582] (II) UnloadModule: "libinput"
[ 13007.582] (II) UnloadModule: "libinput"
[ 13007.582] (II) UnloadModule: "libinput"
[ 13007.582] (II) UnloadModule: "libinput"
[ 13007.591] (II) Server terminated successfully (0). Closing log file.
homtoo
帖子: 307
注册时间: 2006-12-06 11:52
联系:

Re: 【求助】20.04版本无法进入图形界面

#2

帖子 homtoo » 2023-02-16 23:06

应该是设定的屏幕分辨率超出硬件能力,要修改回来,可以修改得低一些先让屏幕显示,然后再在图形界面下改。命令下怎么改可以搜索下。这在早期版本碰到过,后来的版本没碰过。
Suphappy
帖子: 3
注册时间: 2023-02-16 18:11
系统: Ubuntu20.04

Re: 【求助】20.04版本无法进入图形界面

#3

帖子 Suphappy » 2023-02-17 14:32

homtoo 写了: 2023-02-16 23:06 应该是设定的屏幕分辨率超出硬件能力,要修改回来,可以修改得低一些先让屏幕显示,然后再在图形界面下改。命令下怎么改可以搜索下。这在早期版本碰到过,后来的版本没碰过。
我去试了,xrandr提示can't not dispaly;然后我又修改了/etc/default/grub,修改为1920*1080的分辨率,执行update-grub之后重启,依然问题依旧。我笔记本分辨率是2.8K的,应该没问题
头像
flwwater
帖子: 765
注册时间: 2010-10-31 9:15
系统: kubuntu 24.04

Re: 【求助】20.04版本无法进入图形界面

#4

帖子 flwwater » 2023-02-17 16:08

重装显卡驱动
个人收藏的数百个精美动态壁纸:
https://url17.ctfile.com/d/15983117-593 ... 768?p=6220
(访问密码:6220


个人收藏的经典国语音乐和纯音乐(钢琴,笛子,二胡等):
https://url17.ctfile.com/d/15983117-446 ... 33e?p=6220
(访问密码:6220



如果访问密码不对,可试试这个密码 566816
Suphappy
帖子: 3
注册时间: 2023-02-16 18:11
系统: Ubuntu20.04

Re: 【求助】20.04版本无法进入图形界面

#5

帖子 Suphappy » 2023-02-17 22:33

flwwater 写了: 2023-02-17 16:08 重装显卡驱动
我按您说的,我的CPU是R7 4800H,核显。去amd官网下载相应的驱动【amdgpu-pro-21.20-1271047-ubuntu-20.04.tar.xz】,然后安装的时候报错,最后将内核降级到5.4之后安装成功,可是依然是无法进入图形界面,startx依然是启动后闪烁一下就退出,而且没报错
homtoo
帖子: 307
注册时间: 2006-12-06 11:52
联系:

Re: 【求助】20.04版本无法进入图形界面

#6

帖子 homtoo » 2023-06-01 11:02

Suphappy 写了: 2023-02-17 14:32
homtoo 写了: 2023-02-16 23:06 应该是设定的屏幕分辨率超出硬件能力,要修改回来,可以修改得低一些先让屏幕显示,然后再在图形界面下改。命令下怎么改可以搜索下。这在早期版本碰到过,后来的版本没碰过。
我去试了,xrandr提示can't not dispaly;然后我又修改了/etc/default/grub,修改为1920*1080的分辨率,执行update-grub之后重启,依然问题依旧。我笔记本分辨率是2.8K的,应该没问题
经验是要修改得更低才行。不要迷信硬件规格,主要在于驱动的支持。
回复