Xorg failed to work for remote display

book

Article ID: CTX695158

calendar_today

Updated On:

Description

In linux vda, customer run "rsh" to connect remote server and set the DISPLAY environment variable to the remote XServer. But it showed the error "error : can't open display".

Cause

Customer need to enable the Xauth manually on Linux vda with registry .

Resolution

To enable Xauthority on the Linux VDA for remote X11 display, you must create the following two registry keys:

sudo /opt/Citrix/VDA/bin/ctxreg create -k "HKLM\System\CurrentControlSet\Control\Citrix\Xorg" -t "REG_DWORD" -v "XauthEnabled" -d "0x00000001" --force

sudo /opt/Citrix/VDA/bin/ctxreg create -k "HKLM\System\CurrentControlSet\Control\Citrix\Xorg" -t "REG_DWORD" -v "ListenTCP" -d "0x00000001" --force

Issue/Introduction

Customer couldn't use xhost + to allow XClient  to connect to XServer on LVDA environment .

Additional Information