From unknown Thu Mar 28 14:23:01 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#523: Move the complete session dir (NX_ROOT) to local file space Reply-To: Mike Gabriel , 523@bugs.x2go.org Resent-From: Mike Gabriel Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Thu, 26 Jun 2014 23:15:01 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: report 523 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: Received: via spool by submit@bugs.x2go.org id=B.140382447128507 (code B); Thu, 26 Jun 2014 23:15:01 +0000 Received: (at submit) by bugs.x2go.org; 26 Jun 2014 23:14:31 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 706CB5DB1B for ; Fri, 27 Jun 2014 01:14:30 +0200 (CEST) Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 29BCA3CF0; Fri, 27 Jun 2014 01:14:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 194AC3B8F0; Fri, 27 Jun 2014 01:14:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vLCiUKRMEb4E; Fri, 27 Jun 2014 01:14:29 +0200 (CEST) Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id D87853B894; Fri, 27 Jun 2014 01:14:29 +0200 (CEST) Received: from pD9E9F59B.dip0.t-ipconnect.de (pD9E9F59B.dip0.t-ipconnect.de [217.233.245.155]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; Thu, 26 Jun 2014 23:14:29 +0000 Date: Thu, 26 Jun 2014 23:14:29 +0000 Message-ID: <20140626231429.Horde.KCJd_S--KJN8YlIi_hnK9w5@mail.das-netzwerkteam.de> From: Mike Gabriel To: submit@bugs.x2go.org Cc: o.schneyder@phoca-gmbh.de User-Agent: Internet Messaging Program (IMP) H5 (6.1.7) Accept-Language: en,de Organization: DAS-NETZWERKTEAM X-Originating-IP: 217.233.245.155 X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 Iceweasel/30.0 Content-Type: multipart/signed; boundary="=_stvyfnKFdaE9ugmglWkRhA6"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 This message is in MIME format and has been PGP signed. --=_stvyfnKFdaE9ugmglWkRhA6 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Package: x2goserver Severity: important Hi all, hi Alex, we got feedback about NX and NFS that makes me think we should move=20=20 the=20server-side session dir completely to local file space, e.g. /tmp/.x2go-$USER/C- and only leave a symlink behind at its current location:=20=20 ~/.x2go/C-=20---> /tmp/.x2go-$USER/C- Read about deftjack's experience with NX below (thanks to "deftjack"=20=20 for=20allowing me quoting the discussion). Mike """ [discussion on #x2go at irc.freenode.net (2014-06-26)] 23:06 < deftjack> So I have a full blown desktop on the system and it=20=20 still=20crashes. [...] 23:36 < deftjack> well its something to do with the nfs home directories. 23:48 < deftjack> In NX you could tell it to use an alternate home=20=20 directory=20for users. Can you do that with x2go? 23:49 < deftjack> One reason I did that with NX was to get the session=20= =20 info=20off nfs and on the local box. 23:49 < deftjack> It made things far more stable. 23:49 < deftjack> And faster. [...] 23:58 < deftjack> It was "UserNXDirectoryPath" in the node.cfg on NX. 23:58 < deftjack> Basically it told it where it should put the users .nx di= r. 23:59 < deftjack> at the nxserver/nxnode level. 23:59 < deftjack> I should be able to work around this by simply=20=20 making=20the system not use nfs homes and they will just need to be made when people are given ssh access. 23:59 < deftjack> but still use ldap auth. [...] 00:27 <@sunweaver> deftjack: are you playing with X2GO Server from the=20= =20 nightly=20builds? [...] 00:28 <@sunweaver> the nightly builds are currently broken due to a=20=20 90%-baked=20commit of another developer... 00:28 <@sunweaver> feedback mails have been sent, no reaction, yet. [...] 00:38 <@sunweaver> deftjack: the NX_ROOT is ~/.x2go/C-/ on=20=20 the=20server. 00:39 <@sunweaver> deftjack: define "more stable" and define "and faster"..= . [...] 00:51 < deftjack> sunweaver: If there was ever a disruption or even=20=20 significant=20slow down in nfs NX would timeout on access to its session info and peoples NX sessions would simply d= ie. [...] 00:51 < deftjack> sunweaver: Faster in that writing locally to the=20=20 machine=20was faster than nfs even on a good day. [...] 00:52 <@sunweaver> we actually should then consider moving NX_ROOT to=20=20 /tmp/.x2go-$user/=20completely... 00:52 < deftjack> Note we dont have crappy nfs here. Netapps but=20=20 sometimes=20the servers would get hit hard and three would just be this threshold that would cause NX issue. 00:52 <@sunweaver> ok.... 00:52 < deftjack> sunweaver: So in NX they just allowed you to specify=20= =20 a=20different location for .nx on the nxnode(server side). 00:52 < deftjack> It worked perfectly. 00:53 < deftjack> I just put them all in /var/nxhome so user foo would=20= =20 have=20/var/nxhome/foo/.nx 00:53 <@sunweaver> this is very interesting information... [...] 00:53 < deftjack> But still have access to their nfs mounted /home/foo [...] 00:54 < deftjack> Ive also run into some selinux issues with their=20=20 homes=20on nfs etc. Easily fixed but a pain. [...] 00:55 <@sunweaver> deftjack: may I quote your information in a post on=20= =20 x2go-dev=20mailing list ? 00:55 <@sunweaver> because we have to get the NX_ROOT issue fixed for=20=20 at=20least one file now, anyway... [...] 01:07 < deftjack> sunweaver: absolutely. 01:07 <@sunweaver> thanks! 01:07 < deftjack> sunweaver: sorry at work, disruptions... """ --=20 DAS-NETZWERKTEAM mike=20gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x= fb --=_stvyfnKFdaE9ugmglWkRhA6 Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJTrKlVAAoJEJr0azAldxsxDj8P/3AW6C8U2Pt25nn7zFb7TWnQ PZog4OuphX8XO9+2EEYN9lBes94GQqxndAQRCfhYw0j0IxEU4xCw8JXFWBh2Truy pvldJirkrLxITWmrf+/JmkfeRC9JcBvRCfrIH2LCM4HMK5FEb8Dlfk2D24fCKnWI 7m4ZlZubzeIC5ex1F97sJsV+NWkgS0kr3gvzFnxYpaEjG5ek1sNOLrWcYWxxCq0T oUq5zwaTpyjhA3eKprhQYtl8s/vYdfyv4bfFC6LQ9gP5DPSenkQiJf9yN0prIRV1 zCtIixjt/pvAO8xDWuewiBLhCidbsXPMFoZRE2o3ORR6lMZoQ25wsnkKVkK0Wkgd aLtK6mUauU2vl4G0baYw33z/is652dGS7J/ms8xdhaufP5qAak9fc/dJlwA/IjC+ h5uSxo3YfljcwDvZ0uIKarIs6Q62EsTDjc5GRkaUUUZuWzsVwc+hJTAbllH3t+NR U8E4FME6EejOnBdJUPsxJejZn2RLwmBi3Ck7RAIJRoMUNmi1LnN0j5EcZlDMrdOj PKMAE+MCJiRoDEzbcGac344zRDk57Y+fe/fUSTf7WvWy26HTMTgPHEAWRblDU1kU WkP61fxQpo1V2CGubv2tRVaPeqAMB3n4Zg0B984UliKvg4hp9vZSY+S1L1TlD9SV 15Tw46tsT6AwujEXUx2i =8Ax3 -----END PGP SIGNATURE----- --=_stvyfnKFdaE9ugmglWkRhA6-- From unknown Thu Mar 28 14:23:01 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#523: X2Go issue (in src:x2goserver) has been marked as pending for release Reply-To: Mike Gabriel , 523@bugs.x2go.org Resent-From: Mike Gabriel Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Fri, 27 Jun 2014 18:00:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 523 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: Received: via spool by 523-submit@bugs.x2go.org id=B523.140389180514977 (code B ref 523); Fri, 27 Jun 2014 18:00:02 +0000 Received: (at 523) by bugs.x2go.org; 27 Jun 2014 17:56:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=unavailable version=3.3.2 Received: by ymir.das-netzwerkteam.de (Postfix, from userid 1005) id E23685DB53; Fri, 27 Jun 2014 19:56:27 +0200 (CEST) From: Mike Gabriel To: 523-submitter@bugs.x2go.org Cc: control@bugs.x2go.org, 523@bugs.x2go.org Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer: http://snipr.com/post-receive-tag-pending Message-Id: <20140627175627.E23685DB53@ymir.das-netzwerkteam.de> Date: Fri, 27 Jun 2014 19:56:27 +0200 (CEST) tag #523 pending fixed #523 4.0.1.16 thanks Hello, X2Go issue #523 (src:x2goserver) reported by you has been fixed in X2Go Git. You can see the changelog below, and you can check the diff of the fix at: http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=b634130 The issue will most likely be fixed in src:x2goserver (4.0.1.16). light+love X2Go Git Admin (on behalf of the sender of this mail) --- commit b634130f9eb455aff26b9dc3352657ba43a23265 Author: Mike Gabriel Date: Fri Jun 27 19:54:43 2014 +0200 add bug closure for #523 diff --git a/debian/changelog b/debian/changelog index febf6bd..25a91ad 100644 --- a/debian/changelog +++ b/debian/changelog @@ -52,7 +52,7 @@ x2goserver (4.0.1.16-0x2go1) UNRELEASED; urgency=low - x2gostartagent, x2golistsession, x2gosuspend-session and x2goresume-session getting agent state from ~/.x2go/C-$SID/state. This should help to avoid session damage. Remove nxcleanup. (Fixes: #302). - - Move session file to /tmp/.x2go-$USER. + - Move session file to /tmp/.x2go-$USER. (Fixes: #523). -- Mike DePaulo Thu, 23 Apr 2014 17:49:00 -0500 From unknown Thu Mar 28 14:23:01 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#523: X2Go issue (in src:x2goserver) has been marked as closed Reply-To: Mike Gabriel , 523@bugs.x2go.org Resent-From: Mike Gabriel Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Thu, 25 Sep 2014 22:45:10 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 523 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: pending Received: via spool by 523-submit@bugs.x2go.org id=B523.141168495320006 (code B ref 523); Thu, 25 Sep 2014 22:45:10 +0000 Received: (at 523) by bugs.x2go.org; 25 Sep 2014 22:42:33 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.3.2 Received: by ymir.das-netzwerkteam.de (Postfix, from userid 1005) id 6E2755E0AC; Fri, 26 Sep 2014 00:42:14 +0200 (CEST) From: Mike Gabriel To: 523-submitter@bugs.x2go.org Cc: control@bugs.x2go.org, 523@bugs.x2go.org Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Message-Id: <20140925224215.6E2755E0AC@ymir.das-netzwerkteam.de> Date: Fri, 26 Sep 2014 00:42:14 +0200 (CEST) close #523 thanks Hello, we are very hopeful that X2Go issue #523 reported by you has been resolved in the new release (4.0.1.16) of the X2Go source project »src:x2goserver«. You can view the complete changelog entry of src:x2goserver (4.0.1.16) below, and you can use the following link to view all the code changes between this and the last release of src:x2goserver. http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=c43b862f2ae0e8980fb7ab5e519d692b07da5a45;hp=98c4f84d83d701823b7887f79d0d9f5ce8233bd4 If you feel that the issue has not been resolved satisfyingly, feel free to reopen this bug report or submit a follow-up report with further observations described based on the new released version of src:x2goserver. Thanks a lot for contributing to X2Go!!! light+love X2Go Git Admin (on behalf of the sender of this mail) --- X2Go Component: src:x2goserver Version: 4.0.1.16-0x2go1 Status: RELEASE Date: Fri, 26 Sep 2014 00:36:32 +0200 Fixes: 122 302 397 406 407 458 468 495 506 511 520 523 524 543 547 558 569 572 573 574 599 605 606 617 619 Changes: x2goserver (4.0.1.16-0x2go1) RELEASED; urgency=low . [ Mike DePaulo ] * New upstream release (4.0.1.16): - Make X2Go Server aware of the Openbox desktop environment (Command: OPENBOX) (Fixes: #605) - Make X2Go Server aware of the IceWM desktop environment (Command: ICEWM) (Fixes: #606) - Support GNOME Flashback session (GNOME 3.8+) on distro releases such as Ubuntu 13.10+ and debian Jessie (NOTE: For most users, GNOME Flashback currently will not work. This requires that gnome-flashback.session actually be installed. Not every Linux distro has it available. It also requires that the gnome-session binary not require hardware 3D acceleration for said session. Currently, upstream GNOME and GNOME 3.8+ in all Linux distros do require this, only 3rd party builds do not. See X2Go bug #599 for example.) (Thanks Eugene San (eugenesan@gmail.com)) - Fix launching GNOME 3 Fallback session (GNOME 3.4 & 3.6) on distros other than Ubuntu and Debian (Fixes: #599) - Fix support for Cinnamon 1.4 (Linux Mint 13) (Fixes: #569) - Fix the logic for launching Cinnamon 2.0 and 2.2 (Linux Mint 17). (Fixes: #572) NOTE: Fixing this bug in x2goserver is not sufficient to make Cinnamon 2.0 & 2.2 to work properly with X2Go. Bug #150 in nx-libs is still a problem. Fixing this bug enables Cinnamon 2.0 and 2.2 to launch to their "fallback mode", which has many bugs and missing features when compared to "software rendering" mode (cinnamon2d), but is still better than nothing. * debian/rules: + Improve dh_auto_clean override. . [ Mike Gabriel ] * New upstream version (4.0.1.16): - Let x2goversion exit with an error if the X2Go component cannot be found. - Detect terminated sessions from NX log file. Also interpret a session as terminated if terminating just has started. - Detect started/starting/resumed/resuming sessions by explicitly scanning the NX session log file for those keywords. - Interpret NX sessions marked as "aborting session" as (not yet) terminated sessions. - Provide config option for server-side/global clipboard behaviour in x2goagent.options. (Fixes: #506). - Be aware of poly-instantiated /tmp directories bind-mounted under /tmp-inst. (Fixes: #406). - On suspend: Call x2goumount-session before sending SIGHUP to x2goagent. - Refuse client communcation if server-side hostname is not set up correctly (Fixes: #468). - Fix string comparison in x2goumount-session. - Fix problems with unmounting shared folders on session suspension/ termination. Remove extra parentheses from the fusermount execution call. (Fixes: #407). - Use type -p instead of which in x2goumount-session. Suppress output to stdout properly. - Use if--then--else--fi during x2goagent resuming in x2goresume-session script. - More reliably sync the NX session state with the status information in the X2Go session DB. - x2golistdesktops: Also detect sharable desktop sessions behind abstract kernel namespace sockets. - Add logcheck rules for X2Go Server. Thanks to Frank Werner for sending them in. - Correctly use diversions from stderr to stdout in shell commands. (Fixes: #520). - Don't die if no session state file is found, as it will break X2Go completely after upgrading from versions << 4.0.1.16 if sessions are still running/suspended during package upgrade. - Provide support for client-side choice of clipboard security. (Fixes: #524). - Use more quotes in x2goruncommand. - Detect the exit of rootless applications that forked to background on application execution. (Fixes: #122). - Make x2goruncommand more robust. - Don't fail Xsession startup if any of the profile scripts returns with an error. - Silently timeout in x2golistdesktops if calls to x2golistsessions and/or xwininfo don't produce output within one second. (Fixes: #543). - Allow email addresses as login usernames. (Fixes: #573). - Abort session startup if env var $USER or $SSH_CLIENT are not set. (Fixes: #558). - Allow length of username up to 48 characters (was: 32 characters). (Fixes: #574). - Abort session if env var $HOME is not set or if $HOME contains non-ASCII characters. (Fixes: #397). - Export XAUTHORITY env var in x2goruncommand to enable privilege upgrade for applications started via pkexec. (Fixes: #458). - x2gocleansessions: Don't print to stderr if the session state file cannot be found. This can happen during session startups. Report to system log instead. - Don't use Perl package File::ReadBackwards anymore. - Fix x2gormforward for 4.0.1.x release series (the X2Go::Log Perl module only exists in X2Go Server >= 4.1.0.0, the 4.0.1.x release series has to use x2gologlevel.pm in `x2gopath lib`. (Fixes: #617). - Pick x2gogetagentstate from 4.1.0.0 release series and adapt to usage with X2Go Server 4.0.1.x. (Fixes: #619). * debian/control, x2goserver.spec: + Update versioned D: x2goagent (>= 3.5.0.25). This assures that X2Go works with poly-instantiated /tmp directories. + Make sure x2gogetagentstate gets packaged in bin:package x2goserver. + Bump Standards: to 3.9.5. No changes needed. + Mark x2goserver-pyhoca bin:package as deprecated. + Drop D (x2goserver): libfile-readbackwards-perl. * x2goserver.spec: + Install {libdir}/x2go/x2gormforward into bin:package x2goserver. + Drop R (x2goserver): perl(File::ReadBackwards). . [ Oleksandr Shneyder ] * New upstream version (4.0.1.16): - x2gostartagent, x2golistsession, x2gosuspend-session and x2goresume-session getting agent state from ~/.x2go/C-$SID/state. This should help to avoid session damage. Remove nxcleanup. (Fixes: #302, #511). - Move session file to /tmp/.x2go-$USER. (Fixes: #523). - Fix x2gostartagent failures if kbd is not "auto". Remove comma at end of options file. - Set default value for clipboard to "both" in x2gostartagent and x2goresume-session. - Clean user SSHD process if connection between server and client lost. This should fix error "Global request tcpip-forward failed". (Fixes: #495, #547). . [ Orion Paplowski ] * x2goserver.spec: + Sync Fedora .spec file with our upstream-provided x2goserver.spec. From unknown Thu Mar 28 14:23:01 2024 MIME-Version: 1.0 X-Mailer: MIME-tools 5.502 (Entity 5.502) X-Loop: owner@bugs.x2go.org From: owner@bugs.x2go.org (X2Go Bug Tracking System) Subject: Bug#523 closed by Mike Gabriel (X2Go issue (in src:x2goserver) has been marked as closed) Message-ID: References: <20140925224215.6E2755E0AC@ymir.das-netzwerkteam.de> X-X2go-PR-Keywords: pending X-X2go-PR-Message: they-closed 523 X-X2go-PR-Package: x2goserver X-X2go-PR-Source: x2goserver Date: Thu, 25 Sep 2014 22:45:40 +0000 Content-Type: multipart/mixed; boundary="----------=_1411685140-21683-0" This is a multi-part message in MIME format... ------------=_1411685140-21683-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 This is an automatic notification regarding your Bug report which was filed against the x2goserver package: #523: Move the complete session dir (NX_ROOT) to local file space It has been closed by Mike Gabriel . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Mike Gabriel by replying to this email. --=20 X2Go Bug Tracking System Contact owner@bugs.x2go.org with problems ------------=_1411685140-21683-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at control) by bugs.x2go.org; 25 Sep 2014 22:43:35 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=unavailable version=3.3.2 Received: by ymir.das-netzwerkteam.de (Postfix, from userid 1005) id 6E2755E0AC; Fri, 26 Sep 2014 00:42:14 +0200 (CEST) From: Mike Gabriel To: 523-submitter@bugs.x2go.org Cc: control@bugs.x2go.org, 523@bugs.x2go.org Subject: X2Go issue (in src:x2goserver) has been marked as closed Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Message-Id: <20140925224215.6E2755E0AC@ymir.das-netzwerkteam.de> Date: Fri, 26 Sep 2014 00:42:14 +0200 (CEST) close #523 thanks Hello, we are very hopeful that X2Go issue #523 reported by you has been resolved in the new release (4.0.1.16) of the X2Go source project »src:x2goserver«. You can view the complete changelog entry of src:x2goserver (4.0.1.16) below, and you can use the following link to view all the code changes between this and the last release of src:x2goserver. http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=c43b862f2ae0e8980fb7ab5e519d692b07da5a45;hp=98c4f84d83d701823b7887f79d0d9f5ce8233bd4 If you feel that the issue has not been resolved satisfyingly, feel free to reopen this bug report or submit a follow-up report with further observations described based on the new released version of src:x2goserver. Thanks a lot for contributing to X2Go!!! light+love X2Go Git Admin (on behalf of the sender of this mail) --- X2Go Component: src:x2goserver Version: 4.0.1.16-0x2go1 Status: RELEASE Date: Fri, 26 Sep 2014 00:36:32 +0200 Fixes: 122 302 397 406 407 458 468 495 506 511 520 523 524 543 547 558 569 572 573 574 599 605 606 617 619 Changes: x2goserver (4.0.1.16-0x2go1) RELEASED; urgency=low . [ Mike DePaulo ] * New upstream release (4.0.1.16): - Make X2Go Server aware of the Openbox desktop environment (Command: OPENBOX) (Fixes: #605) - Make X2Go Server aware of the IceWM desktop environment (Command: ICEWM) (Fixes: #606) - Support GNOME Flashback session (GNOME 3.8+) on distro releases such as Ubuntu 13.10+ and debian Jessie (NOTE: For most users, GNOME Flashback currently will not work. This requires that gnome-flashback.session actually be installed. Not every Linux distro has it available. It also requires that the gnome-session binary not require hardware 3D acceleration for said session. Currently, upstream GNOME and GNOME 3.8+ in all Linux distros do require this, only 3rd party builds do not. See X2Go bug #599 for example.) (Thanks Eugene San (eugenesan@gmail.com)) - Fix launching GNOME 3 Fallback session (GNOME 3.4 & 3.6) on distros other than Ubuntu and Debian (Fixes: #599) - Fix support for Cinnamon 1.4 (Linux Mint 13) (Fixes: #569) - Fix the logic for launching Cinnamon 2.0 and 2.2 (Linux Mint 17). (Fixes: #572) NOTE: Fixing this bug in x2goserver is not sufficient to make Cinnamon 2.0 & 2.2 to work properly with X2Go. Bug #150 in nx-libs is still a problem. Fixing this bug enables Cinnamon 2.0 and 2.2 to launch to their "fallback mode", which has many bugs and missing features when compared to "software rendering" mode (cinnamon2d), but is still better than nothing. * debian/rules: + Improve dh_auto_clean override. . [ Mike Gabriel ] * New upstream version (4.0.1.16): - Let x2goversion exit with an error if the X2Go component cannot be found. - Detect terminated sessions from NX log file. Also interpret a session as terminated if terminating just has started. - Detect started/starting/resumed/resuming sessions by explicitly scanning the NX session log file for those keywords. - Interpret NX sessions marked as "aborting session" as (not yet) terminated sessions. - Provide config option for server-side/global clipboard behaviour in x2goagent.options. (Fixes: #506). - Be aware of poly-instantiated /tmp directories bind-mounted under /tmp-inst. (Fixes: #406). - On suspend: Call x2goumount-session before sending SIGHUP to x2goagent. - Refuse client communcation if server-side hostname is not set up correctly (Fixes: #468). - Fix string comparison in x2goumount-session. - Fix problems with unmounting shared folders on session suspension/ termination. Remove extra parentheses from the fusermount execution call. (Fixes: #407). - Use type -p instead of which in x2goumount-session. Suppress output to stdout properly. - Use if--then--else--fi during x2goagent resuming in x2goresume-session script. - More reliably sync the NX session state with the status information in the X2Go session DB. - x2golistdesktops: Also detect sharable desktop sessions behind abstract kernel namespace sockets. - Add logcheck rules for X2Go Server. Thanks to Frank Werner for sending them in. - Correctly use diversions from stderr to stdout in shell commands. (Fixes: #520). - Don't die if no session state file is found, as it will break X2Go completely after upgrading from versions << 4.0.1.16 if sessions are still running/suspended during package upgrade. - Provide support for client-side choice of clipboard security. (Fixes: #524). - Use more quotes in x2goruncommand. - Detect the exit of rootless applications that forked to background on application execution. (Fixes: #122). - Make x2goruncommand more robust. - Don't fail Xsession startup if any of the profile scripts returns with an error. - Silently timeout in x2golistdesktops if calls to x2golistsessions and/or xwininfo don't produce output within one second. (Fixes: #543). - Allow email addresses as login usernames. (Fixes: #573). - Abort session startup if env var $USER or $SSH_CLIENT are not set. (Fixes: #558). - Allow length of username up to 48 characters (was: 32 characters). (Fixes: #574). - Abort session if env var $HOME is not set or if $HOME contains non-ASCII characters. (Fixes: #397). - Export XAUTHORITY env var in x2goruncommand to enable privilege upgrade for applications started via pkexec. (Fixes: #458). - x2gocleansessions: Don't print to stderr if the session state file cannot be found. This can happen during session startups. Report to system log instead. - Don't use Perl package File::ReadBackwards anymore. - Fix x2gormforward for 4.0.1.x release series (the X2Go::Log Perl module only exists in X2Go Server >= 4.1.0.0, the 4.0.1.x release series has to use x2gologlevel.pm in `x2gopath lib`. (Fixes: #617). - Pick x2gogetagentstate from 4.1.0.0 release series and adapt to usage with X2Go Server 4.0.1.x. (Fixes: #619). * debian/control, x2goserver.spec: + Update versioned D: x2goagent (>= 3.5.0.25). This assures that X2Go works with poly-instantiated /tmp directories. + Make sure x2gogetagentstate gets packaged in bin:package x2goserver. + Bump Standards: to 3.9.5. No changes needed. + Mark x2goserver-pyhoca bin:package as deprecated. + Drop D (x2goserver): libfile-readbackwards-perl. * x2goserver.spec: + Install {libdir}/x2go/x2gormforward into bin:package x2goserver. + Drop R (x2goserver): perl(File::ReadBackwards). . [ Oleksandr Shneyder ] * New upstream version (4.0.1.16): - x2gostartagent, x2golistsession, x2gosuspend-session and x2goresume-session getting agent state from ~/.x2go/C-$SID/state. This should help to avoid session damage. Remove nxcleanup. (Fixes: #302, #511). - Move session file to /tmp/.x2go-$USER. (Fixes: #523). - Fix x2gostartagent failures if kbd is not "auto". Remove comma at end of options file. - Set default value for clipboard to "both" in x2gostartagent and x2goresume-session. - Clean user SSHD process if connection between server and client lost. This should fix error "Global request tcpip-forward failed". (Fixes: #495, #547). . [ Orion Paplowski ] * x2goserver.spec: + Sync Fedora .spec file with our upstream-provided x2goserver.spec. ------------=_1411685140-21683-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.x2go.org; 26 Jun 2014 23:14:31 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 706CB5DB1B for ; Fri, 27 Jun 2014 01:14:30 +0200 (CEST) Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 29BCA3CF0; Fri, 27 Jun 2014 01:14:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 194AC3B8F0; Fri, 27 Jun 2014 01:14:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vLCiUKRMEb4E; Fri, 27 Jun 2014 01:14:29 +0200 (CEST) Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id D87853B894; Fri, 27 Jun 2014 01:14:29 +0200 (CEST) Received: from pD9E9F59B.dip0.t-ipconnect.de (pD9E9F59B.dip0.t-ipconnect.de [217.233.245.155]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; Thu, 26 Jun 2014 23:14:29 +0000 Date: Thu, 26 Jun 2014 23:14:29 +0000 Message-ID: <20140626231429.Horde.KCJd_S--KJN8YlIi_hnK9w5@mail.das-netzwerkteam.de> From: Mike Gabriel To: submit@bugs.x2go.org Cc: o.schneyder@phoca-gmbh.de Subject: Move the complete session dir (NX_ROOT) to local file space User-Agent: Internet Messaging Program (IMP) H5 (6.1.7) Accept-Language: en,de Organization: DAS-NETZWERKTEAM X-Originating-IP: 217.233.245.155 X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 Iceweasel/30.0 Content-Type: multipart/signed; boundary="=_stvyfnKFdaE9ugmglWkRhA6"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 This message is in MIME format and has been PGP signed. --=_stvyfnKFdaE9ugmglWkRhA6 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Package: x2goserver Severity: important Hi all, hi Alex, we got feedback about NX and NFS that makes me think we should move=20=20 the=20server-side session dir completely to local file space, e.g. /tmp/.x2go-$USER/C- and only leave a symlink behind at its current location:=20=20 ~/.x2go/C-=20---> /tmp/.x2go-$USER/C- Read about deftjack's experience with NX below (thanks to "deftjack"=20=20 for=20allowing me quoting the discussion). Mike """ [discussion on #x2go at irc.freenode.net (2014-06-26)] 23:06 < deftjack> So I have a full blown desktop on the system and it=20=20 still=20crashes. [...] 23:36 < deftjack> well its something to do with the nfs home directories. 23:48 < deftjack> In NX you could tell it to use an alternate home=20=20 directory=20for users. Can you do that with x2go? 23:49 < deftjack> One reason I did that with NX was to get the session=20= =20 info=20off nfs and on the local box. 23:49 < deftjack> It made things far more stable. 23:49 < deftjack> And faster. [...] 23:58 < deftjack> It was "UserNXDirectoryPath" in the node.cfg on NX. 23:58 < deftjack> Basically it told it where it should put the users .nx di= r. 23:59 < deftjack> at the nxserver/nxnode level. 23:59 < deftjack> I should be able to work around this by simply=20=20 making=20the system not use nfs homes and they will just need to be made when people are given ssh access. 23:59 < deftjack> but still use ldap auth. [...] 00:27 <@sunweaver> deftjack: are you playing with X2GO Server from the=20= =20 nightly=20builds? [...] 00:28 <@sunweaver> the nightly builds are currently broken due to a=20=20 90%-baked=20commit of another developer... 00:28 <@sunweaver> feedback mails have been sent, no reaction, yet. [...] 00:38 <@sunweaver> deftjack: the NX_ROOT is ~/.x2go/C-/ on=20=20 the=20server. 00:39 <@sunweaver> deftjack: define "more stable" and define "and faster"..= . [...] 00:51 < deftjack> sunweaver: If there was ever a disruption or even=20=20 significant=20slow down in nfs NX would timeout on access to its session info and peoples NX sessions would simply d= ie. [...] 00:51 < deftjack> sunweaver: Faster in that writing locally to the=20=20 machine=20was faster than nfs even on a good day. [...] 00:52 <@sunweaver> we actually should then consider moving NX_ROOT to=20=20 /tmp/.x2go-$user/=20completely... 00:52 < deftjack> Note we dont have crappy nfs here. Netapps but=20=20 sometimes=20the servers would get hit hard and three would just be this threshold that would cause NX issue. 00:52 <@sunweaver> ok.... 00:52 < deftjack> sunweaver: So in NX they just allowed you to specify=20= =20 a=20different location for .nx on the nxnode(server side). 00:52 < deftjack> It worked perfectly. 00:53 < deftjack> I just put them all in /var/nxhome so user foo would=20= =20 have=20/var/nxhome/foo/.nx 00:53 <@sunweaver> this is very interesting information... [...] 00:53 < deftjack> But still have access to their nfs mounted /home/foo [...] 00:54 < deftjack> Ive also run into some selinux issues with their=20=20 homes=20on nfs etc. Easily fixed but a pain. [...] 00:55 <@sunweaver> deftjack: may I quote your information in a post on=20= =20 x2go-dev=20mailing list ? 00:55 <@sunweaver> because we have to get the NX_ROOT issue fixed for=20=20 at=20least one file now, anyway... [...] 01:07 < deftjack> sunweaver: absolutely. 01:07 <@sunweaver> thanks! 01:07 < deftjack> sunweaver: sorry at work, disruptions... """ --=20 DAS-NETZWERKTEAM mike=20gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x= fb --=_stvyfnKFdaE9ugmglWkRhA6 Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJTrKlVAAoJEJr0azAldxsxDj8P/3AW6C8U2Pt25nn7zFb7TWnQ PZog4OuphX8XO9+2EEYN9lBes94GQqxndAQRCfhYw0j0IxEU4xCw8JXFWBh2Truy pvldJirkrLxITWmrf+/JmkfeRC9JcBvRCfrIH2LCM4HMK5FEb8Dlfk2D24fCKnWI 7m4ZlZubzeIC5ex1F97sJsV+NWkgS0kr3gvzFnxYpaEjG5ek1sNOLrWcYWxxCq0T oUq5zwaTpyjhA3eKprhQYtl8s/vYdfyv4bfFC6LQ9gP5DPSenkQiJf9yN0prIRV1 zCtIixjt/pvAO8xDWuewiBLhCidbsXPMFoZRE2o3ORR6lMZoQ25wsnkKVkK0Wkgd aLtK6mUauU2vl4G0baYw33z/is652dGS7J/ms8xdhaufP5qAak9fc/dJlwA/IjC+ h5uSxo3YfljcwDvZ0uIKarIs6Q62EsTDjc5GRkaUUUZuWzsVwc+hJTAbllH3t+NR U8E4FME6EejOnBdJUPsxJejZn2RLwmBi3Ck7RAIJRoMUNmi1LnN0j5EcZlDMrdOj PKMAE+MCJiRoDEzbcGac344zRDk57Y+fe/fUSTf7WvWy26HTMTgPHEAWRblDU1kU WkP61fxQpo1V2CGubv2tRVaPeqAMB3n4Zg0B984UliKvg4hp9vZSY+S1L1TlD9SV 15Tw46tsT6AwujEXUx2i =8Ax3 -----END PGP SIGNATURE----- --=_stvyfnKFdaE9ugmglWkRhA6-- ------------=_1411685140-21683-0--