Linux VDA - Desktop viewer of session launch shows grey screen and then disappears in short time

book

Article ID: CTX695052

calendar_today

Updated On:

Description

After launching the desktop, desktop viewer shows grey screen as it in following screenshot and then exits in short time

Following output could be seen in the log

Xorg.0.log

[   458.725] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
[   458.726] _XSERVTransMakeAllCOTSServerListeners: server already running
[   458.726] (EE) 
Fatal server error:
[   458.726] (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) 
[   458.726] (EE) 
Please consult the The X.Org Foundation support 
at http://wiki.x.org
 for help. 
[   458.726] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   458.726] (EE) 
[   458.726] (EE) Server terminated with error (1). Closing log file.

messages

               Aug  6 11:07:41 SR650-7 citrix-ctxgfx[6543]: Exiting due to errors.

Considering settting, the display number is configued

create -k "HKLM\System\CurrentControlSet\Control\Citrix\Xorg" -t "REG_DWORD" -v "DisplayNumber" -d "0x00000000" --force
create -k "HKLM\System\CurrentControlSet\Control\Citrix\Xorg" -t "REG_DWORD" -v "ListenTCP" -d "0x00000001" --force

 

 

Cause

Display number is occupied and ctxgfx exits accordingly

Resolution

Delete the Xorg key by following command and then restart ctxvda and ctxhdx service

sudo /opt/Citrix/VDA/bin/ctxreg delete -k  "HKLM\System\CurrentControlSet\Control\Citrix\Xorg"

Issue/Introduction

Desktop viewer of session launch shows grey screen and then disappears in short time