[X2Go-Dev] new version 4.1.1.0 from Mac still crashes to Fedora 26

Robert Kudyba rkudyba at fordham.edu
Thu Nov 2 15:15:56 CET 2017


> On Nov 2, 2017, at 1:13 AM, Mihai Moldovan <ionic at 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?

Both commands come back with nothing.

> [...]
>> [myuser at 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 at myworkstation ~]$ xauth remove :23
>> [myuser at 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 at 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…


OK updated, rpm -q x2goserver
x2goserver-4.1.0.0-0.0x2go1.0.git20171102.1436.heuler.fc26.x86_64

Fails with both XFCE and MATE, local and NIS user:
Connection failed. 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). 

Connection failed. 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). 

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
Nov  2 10:13:19 sobolev /usr/bin/x2gosessionlimit[18245]: x2gosessionlimit has been called
Nov  2 10:13:19 sobolev x2golistsessions[18249]: x2golistsessions has been called with options: --all-servers
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).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20171102/e9806b95/attachment.html>


More information about the x2go-dev mailing list