<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hi</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
tl;dr: x2gohtmlclient sends websocket input that nxagent rejects, then aborts on Debian 11 and Ubuntu 20.04.03; e.g.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
websockify records<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
"</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family:"Courier New", monospace;font-size:10pt">var VNC_frame_data = [</span>
<div><span style="font-family:"Courier New", monospace;font-size:10pt">'}3}6ba1f53e7eb3536232eeff332bd49336',</span></div>
<span><span style="font-family:"Courier New", monospace;font-size:10pt">'}3}\x07\x00\x00\x00\x00\x05\x98\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
"</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
nxagent reports</div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span><span style="font-family:"Courier New", monospace;font-size:10pt">Loop: WARNING! Non printable character decimal '7' received in remote data from FD#8.</span></span>
<div><span style="font-family:"Courier New", monospace;font-size:10pt">Loop: WARNING! Non printable character decimal '0' received in remote data from FD#8.</span></div>
<div><span style="font-family:"Courier New", monospace;font-size:10pt">Loop: WARNING! Non printable character decimal '0' received in remote data from FD#8.</span></div>
<span style="font-family:"Courier New", monospace;font-size:10pt">Loop: WARNING! Non printable character decimal '0' received in remote data from FD#8.</span><span style="font-family:"Courier New", monospace;font-size:10pt"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family:"Courier New", monospace;font-size:10pt">Loop: WARNING! Non printable character decimal '0' received in remote data from FD#8.</span></div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family:"Courier New", monospace;font-size:10pt">Loop: WARNING! Non printable character decimal '5' received in remote data from FD#8.</span><br>
</div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
then nxagent aborts<br>
</div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-size:10pt;font-family:"Courier New", monospace">Error: Failure negotiating the session in stage '7'.</span>
<div><span style="font-size:10pt;font-family:"Courier New", monospace">Error: Aborting session with 'Unable to open display 'nx/nx,options=/tmp/.x2go-user/C-user-50-1634698056_stDGNOME_dp24/options:50''.</span></div>
<div><span style="font-size:10pt;font-family:"Courier New", monospace">Session: Aborting session at 'Tue Oct 19 22:48:16 2021'.</span></div>
<div><span style="font-size:10pt;font-family:"Courier New", monospace"><br>
</span></div>
<div><span style="font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;">I saw
</span><span style="font-size:10pt;font-family:"Courier New", monospace"><a href="https://lists.x2go.org/pipermail/x2go-dev/2021-June/013764.html" id="LPlnk797459"><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">https://lists.x2go.org/pipermail/x2go-dev/2021-June/013764.html</span></a></span><span style="font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;">
 so I tried both Debian 11 and Ubuntu 20.04.03 but same failure on both.</span><span style="font-size:10pt;font-family:"Courier New", monospace"><br>
</span></div>
<span style="font-size:10pt;font-family:"Courier New", monospace"></span><br>
</div>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">I'm new to x2go and the x2goclient works great so maybe this is an x2gohtmlclient et. al. issue?  Perhaps this is a known issue or a misconfiguration on my part with a quick and easy
 answer. </span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Many thanks in advance,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Shea</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">I was trying to follow:
</span><a href="https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient" id="LPNoLPOWALinkPreview"><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">https://wiki.x2go.org/doku.php/wiki:advanced:x2gohtmlclient</span></a><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
 on a Ubuntu 20.04.03 LTS (then later a Debian 11) minimal desktop and I have distilled the wiki instructions to:</span></div>
<div><br>
</div>
<div><span style="font-family:"Courier New", monospace;font-size:10pt"># ===============</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"># Ubuntu: Install Software</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"># ===============</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo apt install -y \</span>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">fcgiwrap \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">g++ \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">git \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">libcgi-pm-perl \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">libencode-perl \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">libexpect-perl \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">libfile-touch-perl \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">libjson-perl \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">make \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">minify \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">nginx-full \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">qt5-default \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">qt5-qmake \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">websockify \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">x2goserver \</span></div>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">;</span><br>
</div>
<div><br>
</div>
<div><span><span style="font-family:"Courier New", monospace;font-size:10pt"># ===============</span></span>
<div><span style="font-family:"Courier New", monospace;font-size:10pt"># Debian: Install Software</span></div>
<span><span style="font-family:"Courier New", monospace;font-size:10pt"># ===============</span></span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo apt install -y \</span>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">fcgiwrap \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">g++ \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">git \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">libcgi-pm-perl \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">libencode-perl \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">libexpect-perl \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">libfile-touch-perl \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">libjson-perl \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">make \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">minify \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">nginx-full \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">qt5-qmake \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">ssl-cert \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">websockify \</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">x2goserver \</span></div>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">;</span><br>
</div>
<div><br>
</div>
<div><span style="font-family:"Courier New", monospace;font-size:10pt"># ===============</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"># Build and install
</span><span style="font-family: "Courier New", monospace; font-size: 10pt;">x2gohtmlclient, x2gowswrapper, x2gowebrpc</span><br>
</div>
<div><span style="font-family:"Courier New", monospace;font-size:10pt"># ===============</span><br>
</div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family: "Courier New", monospace; font-size: 10pt;">mkdir ${HOME}/x2go;</span>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">mkdir ${HOME}/x2go/deploy;</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"># Build: x2gowswrapper</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">cd ${HOME}/x2go;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">[ -d 'x2gowswrapper' ] || git clone git://code.x2go.org/x2gowswrapper.git;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">cd x2gowswrapper;</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">cat << "END" | patch -p 1</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">diff --git a/x2gowswrapper.cpp b/x2gowswrapper.cpp</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">index 91922e7..07fa50e 100644</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">--- a/x2gowswrapper.cpp</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">+++ b/x2gowswrapper.cpp</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">@@ -95,6 +95,7 @@ void X2GoWsWrapper::initialize()</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">     QStringList procargs;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> </span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">     procargs<<"--verbose";</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">+    procargs<<"--record"<<"/var/log/x2gows/websockify."+wsPort;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">     if(ssl_cert.length() && ssl_key.length())</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">     {</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">         procargs<<"--cert"<< ssl_cert <<"--key"<< ssl_key;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">END</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">qmake && make;</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -D -d ${HOME}/x2go/deploy/usr/bin;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -t ${HOME}/x2go/deploy/usr/bin x2gowswrapper;</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"># Build: x2gohtmlclient</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">cd ${HOME}/x2go;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">[ -d 'x2gohtmlclient' ] || git clone git://code.x2go.org/x2gohtmlclient.git;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">cd x2gohtmlclient;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">./minify.sh;</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -D -d ${HOME}/x2go/deploy/etc;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">( cd conf; tar c nginx | tar x -C ${HOME}/x2go/deploy/etc/; );</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"># make externally available</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">sed -i -r -e 's/127.0.0.1/0.0.0.0/' -e 's/::1/::/' ${HOME}/x2go/deploy/etc/nginx/sites-available/x2gohtmlclient-demo.conf;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">sed -i -r -e 's/127.0.0.1/0.0.0.0/' -e 's/::1/::/' ${HOME}/x2go/deploy/etc/nginx/snippets/x2gohtmlclient-wswrapper.conf;</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -D -d ${HOME}/x2go/deploy/var/log/nginx;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -D -d ${HOME}/x2go/deploy/var/log/x2gows;</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -D -d ${HOME}/x2go/deploy/usr/share/x2gohtmlclient/demo;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -t ${HOME}/x2go/deploy/usr/share/x2gohtmlclient/demo index.html;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -t ${HOME}/x2go/deploy/usr/share/x2gohtmlclient/demo x2gokdriveclient.html;</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -D -d ${HOME}/x2go/deploy//usr/share/x2gohtmlclient/;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -t ${HOME}/x2go/deploy//usr/share/x2gohtmlclient x2gokdriveclient.html;</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -D -d ${HOME}/x2go/deploy/usr/share/javascript/x2gokdriveclient;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -t ${HOME}/x2go/deploy/usr/share/javascript/x2gokdriveclient dist/x2gokdriveclient.min.js</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -D -d ${HOME}/x2go/deploy/usr/share/x2gohtmlclient/img/;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -t ${HOME}/x2go/deploy/usr/share/x2gohtmlclient/img img/buttons/svg/*;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -t ${HOME}/x2go/deploy/usr/share/x2gohtmlclient/img img/buttons/png/*;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -t ${HOME}/x2go/deploy/usr/share/x2gohtmlclient/img img/backgrounds/svg/*;</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -D -d ${HOME}/x2go/deploy/usr/share/x2gohtmlclient/css/;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -t ${HOME}/x2go/deploy/usr/share/x2gohtmlclient/css css/*;</span></div>
<div><br>
</div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"># Build: x2gowebrpc</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">cd ${HOME}/x2go;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">[ -d 'x2gowebrpc' ] || git clone git://code.x2go.org/x2gowebrpc.git</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">cd x2gowebrpc;</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -D -d ${HOME}/x2go/deploy/usr/lib/cgi-bin;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -t ${HOME}/x2go/deploy/usr/lib/cgi-bin x2gorpc.cgi</span></div>
<div><br>
</div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">install -D -d ${HOME}/x2go/deploy/etc/x2go/x2gows;</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#cat << END > ${HOME}/x2go/deploy/etc/x2go/x2gows/x2gows.options</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#ws_proto=wss</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#ssl_cert=$(sed -n -r -e 's/^[[:space:]]*ssl_certificate[[:space:]]+([^[:space:];]*).*$/\1/p' ${HOME}/x2go/deploy/etc/nginx/sites-available/x2gohtmlclient-demo.conf)</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#ssl_key=$(sed -n -r -e 's/^[[:space:]]*ssl_certificate_key[[:space:]]+([^[:space:];]*).*$/\1/p' ${HOME}/x2go/deploy/etc/nginx/sites-available/x2gohtmlclient-demo.conf)</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#ssl_only=true</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#log_dir=/var/log/x2gows</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#END</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">cat << END > ${HOME}/x2go/deploy/etc/x2go/x2gows/x2gows.options</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">ws_proto=ws</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">log_dir=/var/log/x2gows</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">END</span></div>
<div><br>
</div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"># Package</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">( cd ${HOME}/x2go/deploy; tar cfz /tmp/x2go.tgz . );</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"># Install</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo tar xfz /tmp/x2go.tgz -C /;</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo chown -R www-data:www-data /usr/share/x2gohtmlclient;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo chown -R www-data:www-data /usr/share/javascript/x2gokdriveclient;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo chown -R www-data:www-data /usr/bin/x2gowswrapper;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo chown -R www-data:www-data /usr/lib/cgi-bin;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo chown -R www-data:www-data /var/log/nginx;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo chown -R www-data:www-data /var/log/x2gows;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo chown -R www-data:www-data /etc/x2go/x2gows/x2gows.options;</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo rm -f /etc/nginx/sites-enabled/default;</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo ln -sf ../sites-available/x2gohtmlclient-demo.conf /etc/nginx/sites-enabled/x2gohtmlclient-demo.conf</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"># Run</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#</span></div>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo systemctl restart nginx</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family:"Courier New", monospace;font-size:10pt"># ===============</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family:"Courier New", monospace;font-size:10pt"># Error(s)</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family:"Courier New", monospace;font-size:10pt"># ===============</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family:"Courier New", monospace;font-size:10pt"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family:"Courier New", monospace;font-size:10pt">--------------------</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
/tmp/.x2go-user/C-user-50-1634698056_stDGNOME_dp24/session.log</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
--------------------<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family: "Courier New", monospace; font-size: 10pt;">running as X2Go Agent</span>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">NXAGENT - Version 3.5.99.23</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Copyright (c) 2001, 2011 NoMachine (http://www.nomachine.com)</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Copyright (c) 2008-2014 Oleksandr Shneyder <o.shneyder@phoca-gmbh.de></span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Copyright (c) 2011-2016 Mike Gabriel <mike.gabriel@das-netzwerkteam.de></span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Copyright (c) 2014-2016 Ulrich Sibiller <uli42@gmx.de></span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Copyright (c) 2014-2016 Mihai Moldovan <ionic@ionic.de></span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Copyright (c) 2015-2016 Qindel Group (http://www.qindel.com)</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">See https://github.com/ArcticaProject/nx-libs for more information.</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Info: Agent running with pid '8744'.</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Session: Starting session at 'Tue Oct 19 22:47:37 2021'.</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Info: Proxy running in client mode with pid '8744'.</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Info: Using errors file '/tmp/.x2go-user/C-user-50-1634698056_stDGNOME_dp24/session.log'.</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Info: Using stats file '/tmp/.x2go-user/C-user-50-1634698056_stDGNOME_dp24/C-user-50-1634698056_stDGNOME_dp24/stats'.</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Loop: WARNING! Unrecognized session type 'unix-kde-depth_24'. Assuming agent session.</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Warning: Unrecognized session type 'unix-kde-depth_24'. Assuming agent session.</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Info: Waiting for connection from 'localhost' on socket 'tcp:*:53626'.</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Info: Accepted connection from '127.0.0.1'.</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Loop: WARNING! Non printable character decimal '7' received in remote data from FD#8.</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Warning: Non printable character decimal '7' received in remote data from FD#8.</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Loop: WARNING! Non printable character decimal '0' received in remote data from FD#8.</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Warning: Non printable character decimal '0' received in remote data from FD#8.</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Loop: WARNING! Non printable character decimal '0' received in remote data from FD#8.</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Warning: Non printable character decimal '0' received in remote data from FD#8.</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Loop: WARNING! Non printable character decimal '0' received in remote data from FD#8.</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Warning: Non printable character decimal '0' received in remote data from FD#8.</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Loop: WARNING! Non printable character decimal '0' received in remote data from FD#8.</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Warning: Non printable character decimal '0' received in remote data from FD#8.</span></div>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">Loop: WARNING! Non printable character decimal '5' received in remote data from FD#8.</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
....</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-size: 10pt; font-family: "Courier New", monospace;">Error: Failure negotiating the session in stage '7'.</span>
<div><span style="font-size: 10pt; font-family: "Courier New", monospace;">Error: Aborting session with 'Unable to open display 'nx/nx,options=/tmp/.x2go-user/C-user-50-1634698056_stDGNOME_dp24/options:50''.</span></div>
<div><span style="font-size: 10pt; font-family: "Courier New", monospace;">Session: Aborting session at 'Tue Oct 19 22:48:16 2021'.</span></div>
<span style="font-size: 10pt; font-family: "Courier New", monospace;">Session: Session aborted at 'Tue Oct 19 22:48:16 2021'.</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
--------------------<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
/var/log/x2gows/websockify.50001.1</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
--------------------<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family: "Courier New", monospace; font-size: 10pt;">var VNC_frame_data = [</span>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">'}3}6ba1f53e7eb3536232eeff332bd49336',</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">'}3}\x07\x00\x00\x00\x00\x05\x98\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">'}5}\n\x00\x00\x00\x04\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">'}35000}\x06\x00\x00\x009\x00\x00\x00\x1d\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">'}35033}\x06\x00\x00\x00\x8e\x00\x00\x00\xc2\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">'}35067}\x06\x00\x00\x00\xd1\x00\x00\x00\x14\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">'}35101}\x06\x00\x00\x00\xed\x00\x00\x007\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">'}35174}\x06\x00\x00\x00\xee\x00\x00\x009\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">'}35200}\x06\x00\x00\x00\xec\x00\x00\x00=\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">'}35233}\x06\x00\x00\x00\xe3\x00\x00\x00I\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">'}35267}\x06\x00\x00\x00\xd4\x00\x00\x00h\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">'}35300}\x06\x00\x00\x00\xb0\x00\x00\x00\x9d\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">'}35333}\x06\x00\x00\x00W\x00\x00\x00\x08\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',</span></div>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">'EOF'];</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
--------------------<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
/var/log/x2gows/8779_50000_50001.err<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
--------------------<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family: "Courier New", monospace; font-size: 10pt;">warning, starting websockify without SSL support</span>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">WebSocket server settings:</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">  - Listen on :50001</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">  - No SSL/TLS support (no cert file)</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">  - Recording to '/var/log/x2gows/websockify.50001.*'</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">  - proxying from :50001 to :50000</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">127.0.0.1: new handler Process</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">127.0.0.1 - - [19/Oct/2021 22:47:41] "GET /x2gows/50001 HTTP/1.1" 101 -</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">127.0.0.1 - - [19/Oct/2021 22:47:41] 127.0.0.1: Plain non-SSL (ws://) WebSocket connection</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">127.0.0.1 - - [19/Oct/2021 22:47:41] 127.0.0.1: Path: '/x2gows/50001'</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">127.0.0.1 - - [19/Oct/2021 22:47:41] opening record file: /var/log/x2gows/websockify.50001.1</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">127.0.0.1 - - [19/Oct/2021 22:47:41] connecting to: :50000</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">127.0.0.1 - - [19/Oct/2021 22:48:16] :50000: Target closed connection</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">127.0.0.1 - - [19/Oct/2021 22:48:16] :50000: Closed target</span></div>
<span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
--------------------<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
/var/log/x2gows/8779_50000_50001.log</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
--------------------<br>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">SSH pid: 8779 local port: 50000 WS port: 50001</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">start websockify with args --verbose --record /var/log/x2gows/websockify.50001 :50001 :50000</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Client closed connection, terminating...</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Terminating websockify</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Terminating tunnel with pid 8779</span></div>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">terminating child process 8781 : ssh</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family: "Courier New", monospace; font-size: 10pt;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family: "Courier New", monospace; font-size: 10pt;"></span><br>
</div>
</body>
</html>