<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 2, 2017, at 1:13 AM, Mihai Moldovan <<a href="mailto:ionic@ionic.de" class="">ionic@ionic.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On 11/01/2017 02:31 PM, Robert Kudyba wrote:<br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">ls -a /tmp/.X11-unix<br class="">ps axu | grep -iE '(nx|x2goagent)'<br class=""><br class="">Naturally on the server side.<br class=""></blockquote><br class="">ls -a /tmp/.X11-unix<br class="">.  ..  X0<br class=""></blockquote><br class="">Hum... if there are no stale X sockets, why is x2gostartagent counting up?<br class=""><br class="">What do ps axu | grep -iE '(nx|x2go)agent' and x2golistsessions_root say?<br class=""></div></div></blockquote><div><br class=""></div><div>Both commands come back with nothing.</div><br class=""><blockquote type="cite" class=""><div class=""><div class="">[...]<br class=""><blockquote type="cite" class="">[myuser@myworkstation ~]$ xauth list<br class=""><a href="http://erdos.sub.ourshool.edu/unix:0" class="">erdos.sub.ourshool.edu/unix:0</a> <<a href="http://erdos.sub.ourshool.edu/unix:0" class="">http://erdos.sub.ourshool.edu/unix:0</a>> <br class="">MIT-MAGIC-COOKIE-1  dfae2f651992831ac371ed79e246969d<br class="">myworkstation/unix:135  MIT-MAGIC-COOKIE-1  a07673b2f4a6762816b74954bb7c4d08<br class=""><a href="http://myworkstation.dsm.ourshool.edu:135" class="">myworkstation.dsm.ourshool.edu:135</a> <<a href="http://myworkstation.dsm.ourshool.edu:135" class="">http://myworkstation.dsm.ourshool.edu:135</a>> <br class="">MIT-MAGIC-COOKIE-1  a07673b2f4a6762816b74954bb7c4d08<br class="">erdos/unix:222  MIT-MAGIC-COOKIE-1  c2e600da0e177cd41f5ac4325267fc02<br class=""><a href="http://erdos.sub.ourshool.edu/unix:222" class="">erdos.sub.ourshool.edu/unix:222</a> <<a href="http://erdos.sub.ourshool.edu/unix:222" class="">http://erdos.sub.ourshool.edu/unix:222</a>> <br class="">MIT-MAGIC-COOKIE-1  c2e600da0e177cd41f5ac4325267fc02<br class="">myworkstation/unix:141  MIT-MAGIC-COOKIE-1  6491ffce94620e7009a1e89858326a9c<br class=""><a href="http://myworkstation.sub.ourshool.edu:141" class="">myworkstation.sub.ourshool.edu:141</a> <<a href="http://myworkstation.sub.ourshool.edu:141" class="">http://myworkstation.sub.ourshool.edu:141</a>> <br class="">MIT-MAGIC-COOKIE-1  6491ffce94620e7009a1e89858326a9c<br class="">myworkstation/unix:143  MIT-MAGIC-COOKIE-1  0e851008661538233db64a10868ce953<br class=""><a href="http://myworkstation.sub.ourshool.edu:143" class="">myworkstation.sub.ourshool.edu:143</a> <<a href="http://myworkstation.sub.ourshool.edu:143" class="">http://myworkstation.sub.ourshool.edu:143</a>> <br class="">MIT-MAGIC-COOKIE-1  0e851008661538233db64a10868ce953<br class="">myworkstation/unix:144  MIT-MAGIC-COOKIE-1  e9221e75a72dde8abb668e08396b043a<br class=""><a href="http://myworkstation.sub.ourshool.edu:144" class="">myworkstation.sub.ourshool.edu:144</a> <<a href="http://myworkstation.sub.ourshool.edu:144" class="">http://myworkstation.sub.ourshool.edu:144</a>> <br class="">MIT-MAGIC-COOKIE-1  e9221e75a72dde8abb668e08396b043a<br class=""><a href="http://dsm.sub.ourshool.edu/unix:10" class="">dsm.sub.ourshool.edu/unix:10</a> <<a href="http://dsm.sub.ourshool.edu/unix:10" class="">http://dsm.sub.ourshool.edu/unix:10</a>> <br class="">MIT-MAGIC-COOKIE-1  1862bc203e0f1f39d6f06dca384dc134<br class=""><a href="http://kopernik.sub.ourshool.edu/unix:10" class="">kopernik.sub.ourshool.edu/unix:10</a> <<a href="http://kopernik.sub.ourshool.edu/unix:10" class="">http://kopernik.sub.ourshool.edu/unix:10</a>> <br class="">MIT-MAGIC-COOKIE-1  4cb123498718884f4e5b2f3dc91e2c97<br class=""><a href="http://dsm.sub.ourshool.edu/unix:11" class="">dsm.sub.ourshool.edu/unix:11</a> <<a href="http://dsm.sub.ourshool.edu/unix:11" class="">http://dsm.sub.ourshool.edu/unix:11</a>> <br class="">MIT-MAGIC-COOKIE-1  e66b6650e7a0f315f9b58f1649de332c<br class=""><a href="http://myworkstation.sub.ourshool.edu/unix:10" class="">myworkstation.sub.ourshool.edu/unix:10</a><br class=""><http://myworkstation.sub.ourshool.edu/unix:10>  MIT-MAGIC-COOKIE-1 <br class="">78040df9ea9c3825e6bfa886c9bf27e1<br class="">myworkstation.sub.ourshool.edu/unix:23<br class=""><http://myworkstation.sub.ourshool.edu/unix:23>  MIT-MAGIC-COOKIE-1 <br class="">aa0dd8187b5ed170fc8b10c5f6953c96<br class="">[myuser@myworkstation ~]$ xauth remove :23<br class="">[myuser@myworkstation ~]$ kill $!<br class="">Session: Terminating session at 'Wed Nov  1 09:28:08 2017'.<br class="">Session: Session terminated at 'Wed Nov  1 09:28:08 2017'.<br class="">[myuser@myworkstation ~]$ FreeFontPath: FPE "/usr/share/nx/fonts/misc/" refcount<br class="">is 2, should be 1; fixing.<br class=""><br class="">[1]+  Done                    nxagent :23<br class=""></blockquote><br class="">Okay, that's interesting and maybe explains why authentication is not working<br class="">properly. You seem to be affected by the same issue that the tcsh user saw<br class="">earlier - HOSTNAME is set to a FQDN name, while the authentication requires a<br class="">short name only. Something seems to be setting and exporting HOSTNAME to a value<br class="">other than the autogenerated value that bash employs.<br class=""><br class="">Can you please upgrade your system? You're already using nightly x2goserver<br class="">builds, so just updating should pull in a fix for this issue. Your version is<br class="">just one day shy of the date I published a fix for it…</div></div></blockquote></div><div class=""><br class=""></div>OK updated, <span style="font-family: Menlo; font-size: 11px; background-color: rgb(255, 255, 255);" class="">rpm -q x2goserver</span><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">x2goserver-4.1.0.0-0.0x2go1.0.git20171102.1436.heuler.fc26.x86_64</span></div><div class=""><br class=""></div><div class="">Fails with both XFCE and MATE, local and NIS user:</div><div class=""><div style="margin: 0px;" class=""><!--StartFragment--><span style=" font-weight:600;" class="">Connection failed.</span> DBD::SQLite::st execute failed: UNIQUE constraint failed: sessions.display at /usr/share/perl5/vendor_perl/X2Go/Server/DB/SQLite3.pm line 233. : /usr/lib64/x2go/libx2go-server-db-sqlite3-wrapper insertsession 50 sobolev localguy-50-1509631597_stDXFCE_dp32 at /usr/share/perl5/vendor_perl/X2Go/Server/DB.pm line 208. Unable to insert new session into database; parameters: port (50), hostname (sobolev) and session name (localguy-50-1509631597_stDXFCE_dp32). <!--EndFragment--></div></div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class=""><div style="margin: 0px;" class=""><!--StartFragment--><span style=" font-weight:600;" class="">Connection failed.</span> DBD::SQLite::st execute failed: UNIQUE constraint failed: sessions.display at /usr/share/perl5/vendor_perl/X2Go/Server/DB/SQLite3.pm line 233. : /usr/lib64/x2go/libx2go-server-db-sqlite3-wrapper insertsession 50 sobolev me-50-1509632000_stDMATE_dp32 at /usr/share/perl5/vendor_perl/X2Go/Server/DB.pm line 208. Unable to insert new session into database; parameters: port (50), hostname (sobolev) and session name (me-50-1509632000_stDMATE_dp32). <!--EndFragment--></div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">Nov  2 10:13:19 sobolev /usr/bin/x2gostartagent[18228]: x2gostartagent called with options: 800x600 adsl 16m-jpeg-9 unix-kde-depth_32 us query 0 D MATE both</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Nov  2 10:13:19 sobolev /usr/bin/x2gosessionlimit[18245]: x2gosessionlimit has been called</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Nov  2 10:13:19 sobolev x2golistsessions[18249]: x2golistsessions has been called with options: --all-servers</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Nov  2 10:13:20 sobolev /usr/bin/x2gostartagent[18289]: Unable to insert new session into database; parameters: port (50), hostname (sobolev) and session name (me-50-1509632000_stDMATE_dp32).</span></div></div></div></body></html>