open-vm-tools icon indicating copy to clipboard operation
open-vm-tools copied to clipboard

VMWare esxi 8 and Ubuntu 24.04 web console Black screen.

Open roblange opened this issue 1 year ago • 23 comments

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

  1. 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
  2. Logged out and left the vm.
  3. 1 hour later, black screen that wont show desktop.

Expected behavior

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.

roblange avatar Jul 15 '24 08:07 roblange

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.

rprabhud avatar Jul 17 '24 06:07 rprabhud

Thanks for the advice, I will try that today on one of the servers and see if it makes a difference.

roblange avatar Jul 18 '24 04:07 roblange

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.

roblange avatar Jul 18 '24 07:07 roblange

any update for this issue ?

amundead avatar Sep 02 '24 02:09 amundead

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.

roblange avatar Sep 02 '24 05:09 roblange

image same issue here, ubuntu 24.04, but using esxi 7.0 u2

sliddjur avatar Nov 20 '24 09:11 sliddjur

Same issue and same environment as @sliddjur. The config change solved the issue, but a patch would be great!

vincenthoehn avatar Nov 26 '24 11:11 vincenthoehn

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

richardlrzjw avatar Dec 04 '24 15:12 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

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.

LukeG25 avatar Jan 03 '25 12:01 LukeG25

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

nizammmusa avatar Jan 06 '25 08:01 nizammmusa

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.

zarandija avatar Jan 20 '25 11:01 zarandija

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

jbravo94 avatar Jan 27 '25 14:01 jbravo94

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

LukeG25 avatar Jan 27 '25 14:01 LukeG25

@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?

jbravo94 avatar Jan 27 '25 14:01 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?

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.

LukeG25 avatar Jan 28 '25 07:01 LukeG25

Changing the settings in /etc/gdm3/custom.conf to WaylandEnable=false worked well.

synosyno8 avatar Feb 02 '25 06:02 synosyno8

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.

erikgieseler avatar Jun 09 '25 14:06 erikgieseler

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

rprabhud avatar Jun 16 '25 06:06 rprabhud

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?

LukeG25 avatar Jul 09 '25 14:07 LukeG25

@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)

johnwvmw avatar Jul 09 '25 15:07 johnwvmw

@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.

LukeG25 avatar Jul 11 '25 09:07 LukeG25

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

johnwvmw avatar Jul 11 '25 15:07 johnwvmw

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

nayeem2345 avatar Jul 31 '25 14:07 nayeem2345