Operational Defect Database

BugZero updated this defect 55 days ago.

VMware | 81704

X server fails to start on Linux VM's in VMware Horizon

Last update date:

3/26/2024

Affected products:

Horizon

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Symptoms

In /etc/vmware/config the Desktop.displayNumberMin and Desktop.displayNumberMax contain numbers in the range of 0 to 9.The X server fails to start.

Cause

This issue occurs on Linux distributions that have X server starting with the number 0 and ending with 9 due to a conflict with Horizons display numbers.

Resolution

Currently, there is no resolution.

Workaround

To work around this issue:- For RHEL 7:Please run the following script to backup /usr/bin/Xorg and generate its wrapper script for the display number, for example, 0, on Linux VMs: xorg_path=/usr/bin/Xorg mode=$(stat -c "%a" "$xorg_path") if [ ! -e "$xorg_path" ] then exit 1 fi mv "$xorg_path"{,.orig} && { cat > "$xorg_path" <<\EOF #!/bin/bash if [ "$(ps -p $(ps -p $$ -o ppid --no-headers) -o comm --no-headers)" != "desktopWorker" ] && [ "$1" = ":0" ] then exit 1 fi exec -a /usr/bin/Xorg /usr/bin/Xorg.orig "$@" EOF } && chmod $mode $xorg_path - For RHEL 8:Please run the following script to backup /usr/bin/Xorg and generate its wrapper script for the display number, for example, 0, on Linux VMs and then please reboot the machine: xorg_path=/usr/bin/Xorg mode=$(stat -c "%a" "$xorg_path") if [ ! -e "$xorg_path" ] then exit 1 fi mv "$xorg_path"{,.orig} && { cat > "$xorg_path" <<\EOF #!/bin/bash if [ "$(ps -p $(ps -p $$ -o ppid --no-headers) -o comm --no-headers)" != "desktopWorker" ] then exit 1 fi exec -a /usr/bin/Xorg /usr/bin/Xorg.orig "$@" EOF } && chmod $mode $xorg_path

Related Information

Setting Options in Configuration Files on a Linux Desktop Page last reviewed: October 2023 Next review due: December 2023

Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Unavailable

Learn More

Search:

...