[Debug] VMware中Ubuntu重启Freeze

The issue is with Wayland. While Ubuntu defaults to an X11 session, for some reason they left it enabled for GDM.

You can certainly replace GDM with LightDM, but an easier option would be to:

1
sudo nano /etc/gdm3/custom.conf

Then change the line:

1
#WaylandEnable=false

to

1
WaylandEnable=false

Press Ctrl+O and then Ctrl+X and reboot.

[edit] If you don’t wish to reboot you can do

sudo systemctl restart gdm

which will restart your windows session (this assume ssh into the box to fix as above).

Or you cannot use ssh to your ubuntu, just hold shift on start up, and select recovery mode, root shell, follow instructions above, and reboot.