X2Go Bug report logs - #947
x2goagent: no such file or directory [OpenSuse 13.2]

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: Fabien Feschet <fabien.feschet@u-auvergne.fr>

Date: Tue, 22 Sep 2015 13:40:02 UTC

Severity: normal

Done: Mihai Moldovan <ionic@ionic.de>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#947: x2goagent: no such file or directory [OpenSuse 13.2]
Reply-To: Fabien Feschet <fabien.feschet@u-auvergne.fr>, 947@bugs.x2go.org
Resent-From: Fabien Feschet <fabien.feschet@u-auvergne.fr>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Tue, 22 Sep 2015 13:40:02 +0000
Resent-Message-ID: <handler.947.B.14429289623172@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 947
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.14429289623172
          (code B); Tue, 22 Sep 2015 13:40:02 +0000
Received: (at submit) by bugs.x2go.org; 22 Sep 2015 13:36:02 +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=-0.5 required=5.0 tests=BAYES_05,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from smtp-sh2.infomaniak.ch (smtp-sh2.infomaniak.ch [128.65.195.6])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id DF3853BC4A
	for <submit@bugs.x2go.org>; Tue, 22 Sep 2015 15:36:00 +0200 (CEST)
Received: from smtp3.infomaniak.ch (smtp3.infomaniak.ch [84.16.68.91])
	by smtp-sh.infomaniak.ch (8.14.5/8.14.5) with ESMTP id t8MDa00v009027
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL)
	for <submit@bugs.x2go.org>; Tue, 22 Sep 2015 15:36:00 +0200
Received: from [172.21.41.203] ([193.49.166.26])
	(authenticated bits=0)
	by smtp3.infomaniak.ch (8.14.5/8.14.5) with ESMTP id t8MDZxcM023097
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO)
	for <submit@bugs.x2go.org>; Tue, 22 Sep 2015 15:36:00 +0200
References: <56015339.7010903@u-auvergne.fr>
To: submit@bugs.x2go.org
From: Fabien Feschet <fabien.feschet@u-auvergne.fr>
X-Forwarded-Message-Id: <56015339.7010903@u-auvergne.fr>
Message-ID: <5601593F.7000703@u-auvergne.fr>
Date: Tue, 22 Sep 2015 15:35:59 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <56015339.7010903@u-auvergne.fr>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: Dr.Web (R) for Unix mail servers drweb plugin ver.6.0.2.8
X-Antivirus-Code: 0x100000
Package: x2goserver
Severity: high
because makes x2go failed with opensuse

Detailed information using zypper info

Information for package x2goserver:
-----------------------------------
Repository: x2go
Name: x2goserver
Version: 4.0.1.19-1.1
Arch: x86_64
Vendor: obs://build.opensuse.org/X11
Installed: Yes
Status: up-to-date
Installed Size: 235.7 KiB


+] Recently had an update in OpenSuse in the NX components
+] When starting from a remote client using X2go Client (Windows), an
error occured (NX terminated at stage 7)

All was correctly working before NX upgrade, same machines, same OS
version, same X2Go Client and Server version.

What I have found is an error in the session log:
++++++++++++++++++++++++++++++++
/usr/bin/x2goagent: ligne29: /usr/lib/nx/../x2go/bin/x2goagent: no such
file...

+] My understanding of the problem:
=========================
I use OpenSuse x86_64 and NX libs are in /usr/lib64/nx not in
/usr/lib/nx so the used path is incorrect.

The x2goagent script in (/usr/bin) contains:
=============================
NXAPP=x2goagent
NX_LIBS=/usr/lib/nx
NX_LOCAL_LIBS=/usr/local/lib/nx

test -x $NX_LOCAL_LIBS/../x2go/bin/$NXAPP && export NX_LIBS=$NX_LOCAL_LIBS
test -x $NX_LIBS/../x2go/bin/$NXAPP && export NX_LIBS=$NX_LIBS

exec $NX_LIBS/../x2go/bin/$NXAPP "$@"

+] Correction:
X2GO has files in /usr/lib64/x2go (only perl script) and files in
/usr/lib/x2go
NX has all files in /usr/lib64/nx

So trying to replace NX_LIBS definition by
NX_LIBS=/usr/lib64/nx

is a first step but the path in x2goagent is still invalid since it now
points into /usr/lib64 where no x2go executables reside...

So have to change the complete path...

+] Solution (partial)
=============
# FF (2015) dir modified since in x86_64 lib64 is used instead !
NX_LIBS=/usr/lib64/nx

# FF (2015) problem since part of X2go is in /usr/lib and part in /usr/lib64
test -x /usr/lib/x2go/bin/$NXAPP && export NX_LIBS=$NX_LIBS

exec /usr/lib/x2go/bin/$NXAPP "$@"

+] Status
=======
X2go now works but shared directory does not ! I do not know if it is
related to specific problem on OpenSuse due to the recent update of NX.
This is due to a problem in a perl file (message on the client !) which
is missing, still trying to understand this other problem...
With above correction x2go works again.

Best regards,
Fabien Feschet

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 21:17:43 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.