TurboVNC server + virtualGL installed on the jetson nano crashes often and suddenly

Hello. I done again this tutorial :

because I wanted to install turbovnc server + virtualGL on my jetson nano. It worked but not perfectly. I would like to fix the problem that I have. Basically,suddenly when I’m doing something on my jetson nano,I lose the connection between the vnc server and the client. At the beginning I believed that the Xvnc process crashed. But it’s not true. What I did to understand what stops working has been to create an Ubuntu virtual machine on Ubuntu 21.04 with virt-manager and I created a script like this :

ssh -Y root@192.168.1.3 startlxde

basically I’m using the ssh port forwarding on a virtual machine to interact with the lxde desktop manager running on the jetson nano. And I found this :

1b83bddc9bfe8346fea9ff90d0099f910acd0b5a_2_690x388

as u can see turbovnc + virtual gl is still running on the jetson nano. But If I try to connect the vnc viewer to the server,it won’t connect anymore. This is what happens :

255712bbae9117fe856ad14d01a9e39a30a15399_2_652x500

nothing. this problem happens often. Someone of you can imagine where could be the problem here ?

ping is working :

ping 192.168.1.3

PING 192.168.1.3 (192.168.1.3) 56(84) bytes of data.
64 bytes from 192.168.1.3: icmp_seq=1 ttl=64 time=0.060 ms
64 bytes from 192.168.1.3: icmp_seq=2 ttl=64 time=0.058 ms

Is it possible to let your vnc server not run in the background? If you can open a terminal and directly run the server, maybe you can see the log to know why the connection gets failed.

Or check the syslog and see if anything printed out from the vnc server.

maybe this is the reason ?

gedit /root/.vnc/zi-desktop:1.log

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL no display (t=2.56709) [GFX1-]: glxtest: libEGL no display
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL no display (t=2.56709) |[1][GFX1-]: glxtest: libEGL no display (t=2.56728) [GFX1-]: glxtest: libEGL no display

OR

11/07/2021 11:18:15 Got connection from client 192.168.1.6
11/07/2021 11:18:15 Using protocol version 3.8
11/07/2021 11:18:15 Full-control authentication enabled for 192.168.1.6
11/07/2021 11:18:15 rfbProcessClientNormalMessage: ignoring unknown encoding 24 (18)
11/07/2021 11:18:15 Using ZRLE encoding for client 192.168.1.6
11/07/2021 11:18:15 rfbProcessClientNormalMessage: ignoring unknown encoding 22 (16)
11/07/2021 11:18:15 rfbProcessClientNormalMessage: ignoring unknown encoding 21 (15)
11/07/2021 11:18:15 rfbProcessClientNormalMessage: ignoring unknown encoding 15 (f)
11/07/2021 11:18:15 rfbProcessClientNormalMessage: ignoring unknown encoding -314 (fffffec6)
11/07/2021 11:18:15 Enabling full-color cursor updates for client 192.168.1.6
11/07/2021 11:18:15 Enabling Desktop Size protocol extension for client 192.168.1.6
11/07/2021 11:18:15 Pixel format for client 192.168.1.6:
11/07/2021 11:18:15 8 bpp, depth 6
11/07/2021 11:18:15 true colour: max r 3 g 3 b 3, shift r 4 g 2 b 0
11/07/2021 11:18:15 Pixel format for client 192.168.1.6:
11/07/2021 11:18:15 16 bpp, depth 16, little endian
11/07/2021 11:18:15 true colour: max r 31 g 63 b 31, shift r 11 g 5 b 0
11/07/2021 11:18:15 no translation needed
11/07/2021 11:18:15 rfbProcessClientNormalMessage: ignoring unknown encoding 24 (18)
11/07/2021 11:18:15 rfbProcessClientNormalMessage: ignoring unknown encoding 15 (f)
11/07/2021 11:18:15 Using hextile encoding for client 192.168.1.6
11/07/2021 11:18:15 rfbProcessClientNormalMessage: ignoring unknown encoding 22 (16)
11/07/2021 11:18:15 rfbProcessClientNormalMessage: ignoring unknown encoding 21 (15)
11/07/2021 11:18:15 rfbProcessClientNormalMessage: ignoring unknown encoding -314 (fffffec6)
11/07/2021 11:18:15 Enabling full-color cursor updates for client 192.168.1.6

(mousepad:15145): Gtk-WARNING **: 11:18:44.986: Theme parsing error: :2:29: The style property GtkButton:default-border is deprecated and shouldn’t be used anymore. It will be removed in a future version

(mousepad:15145): Gtk-WARNING **: 11:18:44.986: Theme parsing error: :3:37: The style property GtkButton:default-outside-border is deprecated and shouldn’t be used anymore. It will be removed in a future version

(mousepad:15145): Gtk-WARNING **: 11:18:44.987: Theme parsing error: :4:27: The style property GtkButton:inner-border is deprecated and shouldn’t be used anymore. It will be removed in a future version

(mousepad:15145): Gtk-WARNING **: 11:18:44.987: Theme parsing error: :5:31: The style property GtkWidget:focus-line-width is deprecated and shouldn’t be used anymore. It will be removed in a future version

(mousepad:15145): Gtk-WARNING **: 11:18:44.987: Theme parsing error: :6:28: The style property GtkWidget:focus-padding is deprecated and shouldn’t be used anymore. It will be removed in a future version
Falling back to using screens root_visual.
kdeconnect.core: Broadcasting identity packet
kdeconnect.core: Starting client ssl (but I’m the server TCP socket)
kdeconnect.core: Socket succesfully stablished an SSL connection
kdeconnect.core: It is a new device “Z390-AORUS-PRO”
kdeconnect.core: Not loading plugin “kdeconnect_telephony” because device doesn’t support it
kdeconnect.core: Not loading plugin “kdeconnect_pausemusic” because device doesn’t support it
kdeconnect.core: Not loading plugin “kdeconnect_sftp” because device doesn’t support it

(nm-applet:7745): Gtk-CRITICAL **: 11:32:22.274: gtk_widget_destroy: assertion ‘GTK_IS_WIDGET (widget)’ failed

(nm-applet:7745): Gtk-CRITICAL **: 11:32:22.274: gtk_widget_destroy: assertion ‘GTK_IS_WIDGET (widget)’ failed

(nm-applet:7745): Gtk-WARNING **: 11:32:22.285: Can’t set a parent on widget which has a parent

(nm-applet:7745): Gtk-CRITICAL **: 11:36:53.555: gtk_widget_destroy: assertion ‘GTK_IS_WIDGET (widget)’ failed

(nm-applet:7745): Gtk-CRITICAL **: 11:36:53.555: gtk_widget_destroy: assertion ‘GTK_IS_WIDGET (widget)’ failed

(nm-applet:7745): Gtk-WARNING **: 11:36:53.563: Can’t set a parent on widget which has a parent
double free or corruption (!prev)
(EE)
Fatal server error:
(EE) Caught signal 6 (Aborted). Server aborting
(EE)
kdeconnect.core: TCP connection done (i’m the existing device)
kdeconnect.core: Starting server ssl (I’m the client TCP socket)
kdeconnect.core: Socket succesfully stablished an SSL connection
kdeconnect.core: It is a new device “Z390-AORUS-PRO”
kdeconnect.core: Not loading plugin “kdeconnect_telephony” because device doesn’t support it
kdeconnect.core: Not loading plugin “kdeconnect_pausemusic” because device doesn’t support it
kdeconnect.core: Not loading plugin “kdeconnect_sftp” because device doesn’t support it
kdeconnect.core: TCP connection done (i’m the existing device)
kdeconnect.core: Starting server ssl (I’m the client TCP socket)
kdeconnect.core: Socket succesfully stablished an SSL connection
kdeconnect.core: It is a new device “Z390-AORUS-PRO”
kdeconnect.core: Not loading plugin “kdeconnect_telephony” because device doesn’t support it
kdeconnect.core: Not loading plugin “kdeconnect_pausemusic” because device doesn’t support it
kdeconnect.core: Not loading plugin “kdeconnect_sftp” because device doesn’t support it

someone can help here ?