VMWare esxi 8 and Ubuntu 24.04 web console Black screen

https://github.com/vmware/open-vm-tools/issues/725

roblange opened on Jul 15, 2024 Describe the bug

Installed a new Ubuntu 24.04 desktop enabled vm on VMWare ESXi 8.0.2 and if I leave them and go in to the Web Console after a while there is just a black screen.

16 procs 16gb memory 200GB disk

I installed the vmtools version 12.3.5.46049 build-22544099 as the vmware tools did the same thing. blackscreen

The vm is fully accessible via SSH during this time.

To see the desktop again, I would need to reset the vm on vmware while the web console is open.

I created 8 Ubuntu 24 VMs and all of them do the same thing.

If someone has any ideas please let me know. Reproduction steps

install VMWare esxi 8
2.Install Ubuntu 24.04 (ubuntu-24.04-desktop-amd64.iso)
3.Patch OS fully and install SSH and disable firewall, restarted, .
4.Install vmtools version 12.3.5.46049 build-22544099
Logged out and left the vm.
1 hour later, black screen that wont show desktop.

Expected behaviour

If I leave them and go in to the Web Console after a while there is just a black screen on all of them. I have tried waiting for up to 10 minutes and still nothing appears. Additional context

There are other servers and desktops running on the VMWare from windows 2019, Centos 7, ubuntu 20 and Debian 8. None of them have this issue but they are running the vmtools from the vmware esxi 8 standard issue which is version 10. Activity roblange added bug on Jul 15, 2024 rprabhud rprabhud commented on Jul 17, 2024 rprabhud on Jul 17, 2024

Hi, Thanks for reporting the issue. I have filed an internal bug with the relevant team for this issue. I have tested on my setup that this issue is seen only in Wayland session but not in X11. As a workaround you can try modifying the session to “Ubuntu on Xorg” before installing open-vm-tools. Thanks. roblange roblange commented on Jul 18, 2024 roblange on Jul 18, 2024 Author

Thanks for the advice, I will try that today on one of the servers and see if it makes a difference. roblange roblange commented on Jul 18, 2024 roblange on Jul 18, 2024 Author

So update on the issue. I changed the settings in /etc/gdm3/custom.conf to WaylandEnable=false on the Ubuntu 24.04 servers it has fixed the issue. I have monitored for the last 3 hours and all looks well. Thanks for the advice. amundead amundead commented on Sep 2, 2024 amundead on Sep 2, 2024

any update for this issue ? roblange roblange commented on Sep 2, 2024 roblange on Sep 2, 2024 Author

As far as I have seen, no patch has been released for it. However the workaround is working fine. I just make sure the config change is done as soon as I create a new Ubuntu 24 server. The problem does not happen with VMWare version 6.7 or 7 as far as I can see when testing. sliddjur sliddjur commented on Nov 20, 2024 sliddjur on Nov 20, 2024

image same issue here, ubuntu 24.04, but using esxi 7.0 u2 vincenthoehn vincenthoehn commented on Nov 26, 2024 vincenthoehn on Nov 26, 2024

Same issue and same environment as @sliddjur. The config change solved the issue, but a patch would be great! richardlrzjw richardlrzjw commented on Dec 5, 2024 richardlrzjw on Dec 5, 2024 · edited by richardlrzjw

So update on the issue. I changed the settings in /etc/gdm3/custom.conf to WaylandEnable=false on the Ubuntu 24.04 servers it has fixed the issue. I have monitored for the last 3 hours and all looks well. Thanks for the advice.

I have done the same way as you did , use WaylandEnable=false /etc/gdm3/custom.conf and after I reboot I can not even restart the server and I have tested onexsi 8 and exsi 6.7 , behaves same. I am using ubuntu 24 LTS desktop version. instead of the pure black screen, I can see the flash line at upper left corner no matter how many time I rebooted or did the cold start up. ubuntu 24 blackscreen LukeG25 LukeG25 commented on Jan 3 LukeG25 on Jan 3

    So update on the issue. I changed the settings in /etc/gdm3/custom.conf to WaylandEnable=false on the Ubuntu 24.04 servers it has fixed the issue. I have monitored for the last 3 hours and all looks well. Thanks for the advice.

I have done the same way as you did , use WaylandEnable=false /etc/gdm3/custom.conf and after I reboot I can not even restart the server and I have tested onexsi 8 and exsi 6.7 , behaves same. I am using ubuntu 24 LTS desktop version. instead of the pure black screen, I can see the flash line at upper left corner no matter how many time I rebooted or did the cold start up. ubuntu 24 blackscreen

I am experiencing the same issue as @richardlrzjw setting WaylandEnable=false in /etc/gdm3/custom.conf does not solve the problem, it leads to VM displaying only a black screen. nizammmusa nizammmusa commented on Jan 6 nizammmusa on Jan 6

issue also happens on centos stream 10 where the only option is wayland. no more xorg in centos stream 10 to fallback to. probably will also affect rhel 10 in the future zarandija zarandija commented on Jan 20 zarandija on Jan 20

So update on the issue. I changed the settings in /etc/gdm3/custom.conf to WaylandEnable=false on the Ubuntu 24.04 servers it has fixed the issue. I have monitored for the last 3 hours and all looks well. Thanks for the advice.

Work for me. LukeG25 mentioned this on Jan 20

VMWare Esxi 6.5.0 and Ubuntu 24.04 web console Black screen #756

jbravo94 jbravo94 commented on Jan 27 jbravo94 on Jan 27

For me only works to restart gdm with sudo systemctl restart gdm LukeG25 LukeG25 commented on Jan 27 LukeG25 on Jan 27

For me only works to restart gdm with sudo systemctl restart gdm

Yes that solves the issue, but only temporarily as issue re-occurs again after a while jbravo94 jbravo94 commented on Jan 27 jbravo94 on Jan 27 · edited by jbravo94

@LukeG25

I think found a workaround which works for my scenario where I autologin into the desktop and trigger the lockscreen:

sudo apt install -y dconf-editor sudo apt install -y gnome-shell-extension-manager

On the left window I disabled many power settings within dconf-editor On the right windows I installed unblank gnome extension

Image

Maybe you try as well for your use case? LukeG25 LukeG25 commented on Jan 28 LukeG25 on Jan 28

@LukeG25

I think found a workaround which works for my scenario where I autologin into the desktop and trigger the lockscreen:

sudo apt install -y dconf-editor sudo apt install -y gnome-shell-extension-manager

On the left window I disabled many power settings within dconf-editor On the right windows I installed unblank gnome extension

Image

Maybe you try as well for your use case?

Hi @jbravo94

Yes that is a good workaround. However, ideally Ubuntu solves this issue from their end without having to resort to a workaround.

Thanks a lot for your feedback. synosyno8 synosyno8 commented on Feb 2 synosyno8 on Feb 2

Changing the settings in /etc/gdm3/custom.conf to WaylandEnable=false worked well. erikgieseler erikgieseler commented on Jun 9 erikgieseler on Jun 9 · edited by erikgieseler

The problem also exists with AlmaLinux 10 under ESXi 7. Changing the settings in /etc/gdm3/custom.conf to WaylandEnable=false does not work as a workaround. rprabhud rprabhud commented on Jun 16 rprabhud on Jun 16

Issue is fixed in fixed in Ubuntu 25.04. Please check https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2089709 LukeG25 LukeG25 commented on Jul 9 LukeG25 on Jul 9

Issue is fixed in fixed in Ubuntu 25.04. Please check https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2089709

So it will not be fixed in Ubuntu 24.04? johnwvmw johnwvmw commented on Jul 10 johnwvmw on Jul 10 Contributor

@LukeG25 Please read through the above mentioned Ubuntu bug. This is not an open-vm-tools issue. It has been reported on hardware and on other hypervisors.

The status given between comment #95 and #96 indicates that a fix should be available (from Ubuntu) for both 24.04 (Noble) and 25.04 (Plucky) LukeG25 LukeG25 commented on Jul 11 LukeG25 on Jul 11

@LukeG25 Please read through the above mentioned Ubuntu bug. This is not an open-vm-tools issue. It has been reported on hardware and on other hypervisors.

The status given between comment #95 and #96 indicates that a fix should be available (from Ubuntu) for both 24.04 (Noble) and 25.04 (Plucky)

I have updated the Ubuntu system and the issue still persists. johnwvmw johnwvmw commented on Jul 12 johnwvmw on Jul 12 Contributor

Sorry to hear that specific Ubuntu fix has not resolved your problem.

As stated previously, this is not an open-vm-tools issue. Please work with the Ubuntu support either:

on the above mentioned launchpabd.net bug report
or open at new bug report at https://bugs.launchpad.net/ubuntu/

Best Regards, John nayeem2345 nayeem2345 commented on Jul 31 nayeem2345 on Jul 31

Issue is fixed in fixed in Ubuntu 25.04. Please check https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2089709

I can reproduce the issue on Ubuntu 25.04 (Plucky puffin) , i see a blackscreen after deploying a ubuntu 25.04 vm on ESXi /vCenter 8.0

Issue is not fixed in Ubuntu 25.04

Updated: