On Nov 2, 2017, at 1:13 AM, Mihai Moldovan <ionic@ionic.de> wrote:On 11/01/2017 02:31 PM, Robert Kudyba wrote:ls -a /tmp/.X11-unix
ps axu | grep -iE '(nx|x2goagent)'
Naturally on the server side.
ls -a /tmp/.X11-unix
. .. X0
Hum... if there are no stale X sockets, why is x2gostartagent counting up?
What do ps axu | grep -iE '(nx|x2go)agent' and x2golistsessions_root say?
[...][myuser@myworkstation ~]$ xauth list
erdos.sub.ourshool.edu/unix:0 <http://erdos.sub.ourshool.edu/unix:0>
MIT-MAGIC-COOKIE-1 dfae2f651992831ac371ed79e246969d
myworkstation/unix:135 MIT-MAGIC-COOKIE-1 a07673b2f4a6762816b74954bb7c4d08
myworkstation.dsm.ourshool.edu:135 <http://myworkstation.dsm.ourshool.edu:135>
MIT-MAGIC-COOKIE-1 a07673b2f4a6762816b74954bb7c4d08
erdos/unix:222 MIT-MAGIC-COOKIE-1 c2e600da0e177cd41f5ac4325267fc02
erdos.sub.ourshool.edu/unix:222 <http://erdos.sub.ourshool.edu/unix:222>
MIT-MAGIC-COOKIE-1 c2e600da0e177cd41f5ac4325267fc02
myworkstation/unix:141 MIT-MAGIC-COOKIE-1 6491ffce94620e7009a1e89858326a9c
myworkstation.sub.ourshool.edu:141 <http://myworkstation.sub.ourshool.edu:141>
MIT-MAGIC-COOKIE-1 6491ffce94620e7009a1e89858326a9c
myworkstation/unix:143 MIT-MAGIC-COOKIE-1 0e851008661538233db64a10868ce953
myworkstation.sub.ourshool.edu:143 <http://myworkstation.sub.ourshool.edu:143>
MIT-MAGIC-COOKIE-1 0e851008661538233db64a10868ce953
myworkstation/unix:144 MIT-MAGIC-COOKIE-1 e9221e75a72dde8abb668e08396b043a
myworkstation.sub.ourshool.edu:144 <http://myworkstation.sub.ourshool.edu:144>
MIT-MAGIC-COOKIE-1 e9221e75a72dde8abb668e08396b043a
dsm.sub.ourshool.edu/unix:10 <http://dsm.sub.ourshool.edu/unix:10>
MIT-MAGIC-COOKIE-1 1862bc203e0f1f39d6f06dca384dc134
kopernik.sub.ourshool.edu/unix:10 <http://kopernik.sub.ourshool.edu/unix:10>
MIT-MAGIC-COOKIE-1 4cb123498718884f4e5b2f3dc91e2c97
dsm.sub.ourshool.edu/unix:11 <http://dsm.sub.ourshool.edu/unix:11>
MIT-MAGIC-COOKIE-1 e66b6650e7a0f315f9b58f1649de332c
myworkstation.sub.ourshool.edu/unix:10
<http://myworkstation.sub.ourshool.edu/unix:10> MIT-MAGIC-COOKIE-1
78040df9ea9c3825e6bfa886c9bf27e1
myworkstation.sub.ourshool.edu/unix:23
<http://myworkstation.sub.ourshool.edu/unix:23> MIT-MAGIC-COOKIE-1
aa0dd8187b5ed170fc8b10c5f6953c96
[myuser@myworkstation ~]$ xauth remove :23
[myuser@myworkstation ~]$ kill $!
Session: Terminating session at 'Wed Nov 1 09:28:08 2017'.
Session: Session terminated at 'Wed Nov 1 09:28:08 2017'.
[myuser@myworkstation ~]$ FreeFontPath: FPE "/usr/share/nx/fonts/misc/" refcount
is 2, should be 1; fixing.
[1]+ Done nxagent :23
Okay, that's interesting and maybe explains why authentication is not working
properly. You seem to be affected by the same issue that the tcsh user saw
earlier - HOSTNAME is set to a FQDN name, while the authentication requires a
short name only. Something seems to be setting and exporting HOSTNAME to a value
other than the autogenerated value that bash employs.
Can you please upgrade your system? You're already using nightly x2goserver
builds, so just updating should pull in a fix for this issue. Your version is
just one day shy of the date I published a fix for it…