<div dir="auto">Htmlclient will only work with x2gokdrive, not with nxagent.<div dir="auto"><br></div><div dir="auto">Uli</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Shea Tomsin <<a href="mailto:STomsin@econolite.com">STomsin@econolite.com</a>> schrieb am Do., 28. Okt. 2021, 11:08:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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="m_7210953323286154734LPlnk797459" target="_blank" rel="noreferrer"><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="m_7210953323286154734LPNoLPOWALinkPreview" target="_blank" rel="noreferrer"><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></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://<a href="http://code.x2go.org/x2gowswrapper.git" target="_blank" rel="noreferrer">code.x2go.org/x2gowswrapper.git</a>;</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://<a href="http://code.x2go.org/x2gohtmlclient.git" target="_blank" rel="noreferrer">code.x2go.org/x2gohtmlclient.git</a>;</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/<a href="http://127.0.0.1/0.0.0.0/" target="_blank" rel="noreferrer">127.0.0.1/0.0.0.0/</a>' -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/<a href="http://127.0.0.1/0.0.0.0/" target="_blank" rel="noreferrer">127.0.0.1/0.0.0.0/</a>' -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://<a href="http://code.x2go.org/x2gowebrpc.git" target="_blank" rel="noreferrer">code.x2go.org/x2gowebrpc.git</a></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 (<a href="http://www.nomachine.com" target="_blank" rel="noreferrer">http://www.nomachine.com</a>)</span></div>
<div><span style="font-family:"Courier New",monospace;font-size:10pt">Copyright (c) 2008-2014 Oleksandr Shneyder <<a href="mailto:o.shneyder@phoca-gmbh.de" target="_blank" rel="noreferrer">o.shneyder@phoca-gmbh.de</a>></span></div>
<div><span style="font-family:"Courier New",monospace;font-size:10pt">Copyright (c) 2011-2016 Mike Gabriel <<a href="mailto:mike.gabriel@das-netzwerkteam.de" target="_blank" rel="noreferrer">mike.gabriel@das-netzwerkteam.de</a>></span></div>
<div><span style="font-family:"Courier New",monospace;font-size:10pt">Copyright (c) 2014-2016 Ulrich Sibiller <<a href="mailto:uli42@gmx.de" target="_blank" rel="noreferrer">uli42@gmx.de</a>></span></div>
<div><span style="font-family:"Courier New",monospace;font-size:10pt">Copyright (c) 2014-2016 Mihai Moldovan <<a href="mailto:ionic@ionic.de" target="_blank" rel="noreferrer">ionic@ionic.de</a>></span></div>
<div><span style="font-family:"Courier New",monospace;font-size:10pt">Copyright (c) 2015-2016 Qindel Group (<a href="http://www.qindel.com" target="_blank" rel="noreferrer">http://www.qindel.com</a>)</span></div>
<div><span style="font-family:"Courier New",monospace;font-size:10pt">See <a href="https://github.com/ArcticaProject/nx-libs" target="_blank" rel="noreferrer">https://github.com/ArcticaProject/nx-libs</a> 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"><a href="http://127.0.0.1" target="_blank" rel="noreferrer">127.0.0.1</a>: 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] <a href="http://127.0.0.1" target="_blank" rel="noreferrer">127.0.0.1</a>: 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] <a href="http://127.0.0.1" target="_blank" rel="noreferrer">127.0.0.1</a>: 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>
</div>
_______________________________________________<br>
x2go-dev mailing list<br>
<a href="mailto:x2go-dev@lists.x2go.org" target="_blank" rel="noreferrer">x2go-dev@lists.x2go.org</a><br>
<a href="https://lists.x2go.org/listinfo/x2go-dev" rel="noreferrer noreferrer" target="_blank">https://lists.x2go.org/listinfo/x2go-dev</a><br>
</blockquote></div>