Description of problem: OSX client is sometimes not able to reconnect to a running X2go session on Fedora 20. Version-Release number of selected component (if applicable): x2goserver-4.0.1.15-1.fc20.x86_64 How reproducible: Sometimes. Steps to Reproduce: 1. Start an x2go session. 2. Disconnect from x2go session 3. Attempt to reconnect to x2go session. Actual results: Session reconnection is aborted. Expected results: Session is reconnected ok. Additional info: I haven't tried the Windows client so don't know if this is OSX client specific or not. OSX client is version 4.0.2.1 (Qt - 4.8.6) I notice that the latest x2goserver is version 4.0.1.18 and that at version 4.0.1.16 one of the issues addressed (http://permalink.gmane.org/gmane.linux.terminal-server.x2go.announce/127) was: o Fix issues with non-resumable sessions after connection disrupture. So I'm wondering whether updating the server might fix this problem. I'll add an attachment that is the output from session.log
Created attachment 945119 [details] session.log
Please give 4.0.1.18 a try then: https://admin.fedoraproject.org/updates/FEDORA-2014-12298/x2goserver-4.0.1.18-1.fc20
Orion Thanks for such a quick response, but I'm getting the error below. Roderick # yum localinstall x2goserver-4.0.1.18-1.fc20.x86_64.rpm x2goserver-printing-4.0.1.18-1.fc20.x86_64.rpm Loaded plugins: langpacks, xray Examining x2goserver-4.0.1.18-1.fc20.x86_64.rpm: x2goserver-4.0.1.18-1.fc20.x86_64 Marking x2goserver-4.0.1.18-1.fc20.x86_64.rpm as an update to x2goserver-4.0.1.15-1.fc20.x86_64 Examining x2goserver-printing-4.0.1.18-1.fc20.x86_64.rpm: x2goserver-printing-4.0.1.18-1.fc20.x86_64 Marking x2goserver-printing-4.0.1.18-1.fc20.x86_64.rpm as an update to x2goserver-printing-4.0.1.15-1.fc20.x86_64 Resolving Dependencies --> Running transaction check ---> Package x2goserver.x86_64 0:4.0.1.15-1.fc20 will be updated ---> Package x2goserver.x86_64 0:4.0.1.18-1.fc20 will be an update --> Processing Dependency: perl(:MODULE_COMPAT_5.18.4) for package: x2goserver-4.0.1.18-1.fc20.x86_64 ---> Package x2goserver-printing.x86_64 0:4.0.1.15-1.fc20 will be updated ---> Package x2goserver-printing.x86_64 0:4.0.1.18-1.fc20 will be an update --> Finished Dependency Resolution Error: Package: x2goserver-4.0.1.18-1.fc20.x86_64 (/x2goserver-4.0.1.18-1.fc20.x86_64) Requires: perl(:MODULE_COMPAT_5.18.4) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
# repoquery --whatprovides 'perl(:MODULE_COMPAT_5.18.4)' perl-4:5.18.4-290.fc20.x86_64 What perl do you have installed? Do you not have repositories configured?
Orion repoquery --whatprovides 'perl(:MODULE_COMPAT_5.18.4)' returns nothing for me. This is on Fedora 20 which comes with perl-5.18.2-289.fc20.x86_64 I have some pretty standard repos installed: # yum repolist enabled repo id repo name status adobe-linux-i386 Adobe Systems Incorporated 2 adobe-linux-x86_64 Adobe Systems Incorporated 2 fedora/20/x86_64 Fedora 20 - x86_64 38,597 google-chrome google-chrome 3 google-talkplugin google-talkplugin 1 ksplice-uptrack/20/x86_64 Ksplice Uptrack for Fedora 9 own_rpms/20 Own RPMS 73 rpmfusion-free/20/x86_64 RPM Fusion for Fedora 20 - Free 468 rpmfusion-free-updates/20/x86_64 RPM Fusion for Fedora 20 - Free - Updates 470 rpmfusion-nonfree/20/x86_64 RPM Fusion for Fedora 20 - Nonfree 203 rpmfusion-nonfree-updates/20/x86_64 RPM Fusion for Fedora 20 - Nonfree - Updates 325 updates/20/x86_64 Fedora 20 - x86_64 - Updates 19,577 repolist: 59,730
Ah, looks like you are going to need to enable updates-testing to get a new perl from there.
That made the install work, thanks. I'll test the new x2go server this weekend and post here how I get on. Roderick
Well, I can't seem to establish a connection to this version of the server at all. Unfortunately the connection dialogue on the client screen is replaced by the login screen again before I can either read what it says fully or copy the text. There is some message about "the session was closed before reaching a useable state". This was for a session type of KDE If a choose a session type of Terminal it works ok. /var/log/messages contains: Oct 10 16:59:42 xpc16 systemd-logind: New session 8599 of user rmj. Oct 10 16:59:42 xpc16 systemd: Started Session 8599 of user rmj. Oct 10 16:59:44 xpc16 /usr/bin/x2gostartagent: successfully started X2Go agent session with ID rmj-108-1412956782_stDKDE_dp32 Oct 10 16:59:45 xpc16 /usr/bin/x2gomountdirs[32521]: WARNING: mounting of /Users/rmj/.x2go/S-rmj-108-1412956782_stDKDE_dp32/spool failed Oct 10 16:59:45 xpc16 /usr/bin/x2goruncommand: launching session with Xsession-x2go mechanism, using STARTUP="startkde" Oct 10 16:59:55 xpc16 systemd-logind: Removed session 8599. There is a session directory that appears briefly in /home/rmj/.x2go but it is gone after the session terminates. Any ideas? I can still connect to the 4.0.1.15 server fine with a KDE session.
The session stuff is in /tmp/.x2go-<user>/. Should be a session.log in there.
I'm not seeing any .x2go-user directories in /tmp. As I said there is a session directory that appears briefly in ~/.x2go which I think might have a link to a session.log file in /tmp/.x2go-user but it disappears when the session evaporates before I can see whats in it. Are you able to establish a KDE session with this server? Thanks
yeah, works fine for me. hmm, really no /tmp/.x2go-rmj directory? My /tmp/.x2go-orion directory persists after termination. Out of space in /tmp?
I really don't see the /tmp/.x2go-rmj $ df -h /tmp Filesystem Size Used Avail Use% Mounted on tmpfs 7.9G 1.1M 7.9G 1% /tmp I'll check and see if it appears briefly during the session start/fail.
You could also try setting the log level to debug in /etc/x2go/x2goserver.conf to get more in /var/log/messages.
Orion I'm still struggling to get x2goserver-4.0.1.18-1.fc20.x86_64 to work on my Fedora 20 system using a KDE session. I set the loglevel to debug as you suggested and I do now have the /tmp/.x2go-rmj directory. unning as X2Go Agent NXAGENT - Version 3.5.0 Copyright (C) 2001, 2011 NoMachine. See http://www.nomachine.com/ for more information. Info: Agent running with pid '8451'. Session: Starting session at 'Tue Oct 21 16:59:43 2014'. Info: Proxy running in server mode with pid '8451'. Info: Waiting for connection from 'localhost' on port '30301'. Info: Accepted connection from '127.0.0.1'. Info: Connection with remote proxy completed. Info: Using ADSL link parameters 512/24/1/0. Info: Using agent parameters 5000/10/50/0/0. Info: Using cache parameters 4/4096KB/8192KB/8192KB. Info: Using pack method '16m-jpeg-9' with session 'unix-kde-depth_32'. Info: Using ZLIB data compression 1/1/32. Info: Using ZLIB stream compression 4/4. Info: No suitable cache file found. Info: Listening to X11 connections on display ':149'. Error: Aborting session with 'Unable to open display 'nx/nx,options=/tmp/.x2go-rmj/C-rmj-149-1413907181_stDKDE_dp32/options:149''. Session: Aborting session at 'Tue Oct 21 16:59:44 2014'. Session: Session aborted at 'Tue Oct 21 16:59:44 2014'. Warning: Signals were not blocked in process with pid '8451'. Info: Waiting the cleanup timeout to complete. If I start a single terminal application, it works fine and I get: Info: Listening to X11 connections on display ':150'. Info: Established X client connection. I'm a bit stuck with how to debug this further. This is with an OSX client. Shall we continue this here or do you think I should take this issue upstream?? Later... I just tried the new Windows 4.0.3.0 client (OSX build of this version is apparently not available yet) and it seems to fail in a different way. Maybe we should wait for the 4.0.3.0 client build for OSX?
x2goserver-4.0.1.18-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/x2goserver-4.0.1.18-3.fc20
I think I may have figured this out. -3 should fix. You might also want to install x2goserver-xsession, as that can help configure desktop sessions better.
Hey, thanks! Could I get a pre-release to test before yum updates all my clients please. Roderick
Pull it from the update.
Package x2goserver-4.0.1.18-3.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing x2goserver-4.0.1.18-3.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-13719/x2goserver-4.0.1.18-3.fc20 then log in and leave karma (feedback).
Orion I finally remembered how to fish the rpms out of Koji. On a quick test this build seems to work really well! And the problem with reconnecting to existing sessions seems fixed too. Is there some documentation on using the features of x2goserver-xsession? Thanks very much for all this. Roderick
Great. Basically xsession causes all of the scripts in /etc/x2go/xinitrc.d (which is a link to /etc/X11/xinit/xinitrd.c) an /etc/x2go/Xsession to be run on login. On my machine this starts dbus, sets xdg dirs, ssh-agent and some other stuff.
Package x2goserver-4.0.1.18-4.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing x2goserver-4.0.1.18-4.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-13719/x2goserver-4.0.1.18-4.fc20 then log in and leave karma (feedback).
Orion I finally got around to testing the x2goserver-4.0.1.18-4.fc20 package with the related x2goserver-xsession package and it works well. Thanks Roderick
x2goserver-4.0.1.18-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.