I'm having a problem running tigerVNC on ubuntu 20.04 on WSL-2 I would appreciate any pointers on how to fix/debug.
When I run:
vncserver -localhost no :1
I get:
Killing Xtigervnc process ID 735... success!
=================== tail /home/mwoodpatrick/.vnc/MarkSpectre14.:5901.log ===================
_XSERVTransSocketUNIXCreateListener: mkdir(/tmp/.X11-unix) failed, errno = 11
_XSERVTransMakeAllCOTSServerListeners: failed to create listener for unix
Xvnc TigerVNC 1.11.0 - built 2021-09-20 17:57
Copyright (C) 1999-2020 TigerVNC Team and many others (see README.rst)
See
https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12013000, The X.Org Foundation
I do not see any issues in the log file:
Sun Apr 10 05:43:37 2022
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5901
vncext: created VNC server for screen 0
Sun Apr 10 05:44:08 2022
ComparingUpdateTracker: 0 pixels in / 0 pixels out
ComparingUpdateTracker: (1:-nan ratio)
However dmesg shows:
[ 8867.834770] dxgk:err: is_handle_valid Entry is freed 40000080 2
[ 8867.834772] dxgk:err: hmgrtable_get_object_by_type invalid handle 40000080
[ 8867.838221] dxgk:err: adapter_by_handle failed 40000080
[ 8867.855521] dxgk:err: is_handle_valid Entry is freed 40000080 2
[ 8867.855523] dxgk:err: hmgrtable_get_object_by_type invalid handle 40000080
[ 8867.856593] dxgk:err: adapter_by_handle failed 40000080
If I run:
/usr/bin/Xtigervnc -PasswordFile ~/.vnc/passwd :1
The server does run and I am able to connect a viewwr to the server and launch basic clients on it xhost, xdpyinfo, xclock etc. When I run the above command line I get:
_XSERVTransSocketUNIXCreateListener: mkdir(/tmp/.X11-unix) failed, errno = 22
_XSERVTransMakeAllCOTSServerListeners: failed to create listener for unix
Xvnc TigerVNC 1.10.0 - built Apr 9 2020 06:49:31
Copyright (C) 1999-2019 TigerVNC Team and many others (see README.rst)
See
https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12008000, The X.Org Foundation
Sun Apr 10 05:59:50 2022
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5901
vncext: created VNC server for screen 0
Sun Apr 10 06:00:32 2022
Connections: accepted: [::1]::53422
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type VncAuth(2)
Sun Apr 10 06:01:23 2022
VNCSConnST: Server default pixel format depth 24 (32bpp) little-endian rgb888
VNCSConnST: Client pixel format depth 6 (8bpp) rgb222
I am using igervnc-standalone-server/focal,now 1.10.1+dfsg-3 amd64 [installed] and according to apt all my pqckages are upto date but I do see a newer version on source forge how come this is not available through apt?
Regards
Mark
============================================================================================
vncserver: /usr/bin/Xtigervnc did not start up, please look into '/home/mwoodpatrick/.vnc/MarkSpectre14.:5901.log' to determine the reason! -1