Package: x2goclient
Version: 4.0.5.0
Users of X2goclient on MacOSX report automatic disconnections after a
few minutes of inactivity. Feels like a screensaver trigger gone wrong.
They can reconnect and resume their sessions.
It happens only on MacOSX.
close #1019
thanks
Hello,
we are very hopeful that X2Go issue #1019 reported by you
has been resolved in the new release (4.0.5.1) of the
X2Go source project »src:x2goclient«.
You can view the complete changelog entry of src:x2goclient (4.0.5.1)
below, and you can use the following link to view all the code changes
between this and the last release of src:x2goclient.
http://code.x2go.org/gitweb?p=x2goclient.git;a=commitdiff;h=911e9b243c21357…
If you feel that the issue has not been …
[View More]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:x2goclient.
Thanks a lot for contributing to X2Go!!!
light+love
X2Go Git Admin (on behalf of the sender of this mail)
---
X2Go Component: src:x2goclient
Version: 4.0.5.1-0x2go2
Status: RELEASE
Date: Wed, 06 Apr 2016 17:10:10 +0100
Fixes: 1019
Changes:
x2goclient (4.0.5.1-0x2go2) RELEASED; urgency=medium
.
[ Mihai Moldovan ]
* Hotfix release for OS X (4.0.5.1):
- src/onmainwindow.cpp: add (default) MacPorts prefix, /usr/local/bin and
/opt/X11/bin to x2goclient's environment and child environments before
starting xmodmap. Fixes: #1019. Requires a re-release of X2Go Client for
OS X.
[View Less]
tag #1019 pending
fixed #1019 4.0.5.2
thanks
Hello,
X2Go issue #1019 (src:x2goclient) 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=x2goclient.git;a=commitdiff;h=3772ad2
The issue will most likely be fixed in src:x2goclient (4.0.5.2).
light+love
X2Go Git Admin (on behalf of the sender of this mail)
---
commit 3772ad2ff7b6553f71790da0527a9e1d5e399ddb
Author: Mihai Moldovan <ionic(a)…
[View More]ionic.de>
Date: Wed Apr 6 06:55:33 2016 +0200
src/onmainwindow.cpp: add (default) MacPorts prefix, /usr/local/bin and /opt/X11/bin to x2goclient's environment and child environments before starting xmodmap. Fixes: #1019.
Requires a re-release of X2Go Client for OS X.
diff --git a/debian/changelog b/debian/changelog
index 2030cd5..c058a99 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,10 @@ x2goclient (4.0.5.2-0x2go1) UNRELEASED; urgency=medium
This particular style has been removed/replaced by Fusion, which
incorporates features of both Plastique and Clearlooks styles.
- x2goclient.spec: whitespace only.
+ - src/onmainwindow.cpp: add (default) MacPorts prefix, /usr/local/bin and
+ /opt/X11/bin to x2goclient's environment and child environments before
+ starting xmodmap. Fixes: #1019. Requires a re-release of X2Go Client for
+ OS X.
[ Mike DePaulo ]
* New upstream release (4.0.5.2):
[View Less]
Processing commands for control(a)bugs.x2go.org:
> reassign 1019 x2goclient 4.0.5.1
Bug #1019 [x2go os x client] xcodemap is missing on OS X 10.11
Warning: Unknown package 'x2go'
Warning: Unknown package 'os'
Warning: Unknown package 'x'
Warning: Unknown package 'client'
Bug reassigned from package 'x2go os x client' to 'x2goclient'.
No longer marked as found in versions 4.0.5.1.
Ignoring request to alter fixed versions of bug #1019 to the same values previously set
Bug #1019 [x2goclient] …
[View More]xcodemap is missing on OS X 10.11
There is no source info for the package 'x2goclient' at version '4.0.5.1' with architecture ''
Unable to make a source version for version '4.0.5.1'
Marked as found in versions 4.0.5.1.
> retitle 1019 PATH not correctly set while executing xmodmap
Bug #1019 [x2goclient] xcodemap is missing on OS X 10.11
Changed Bug title to 'PATH not correctly set while executing xmodmap' from 'xcodemap is missing on OS X 10.11'
> thanks
Stopping processing here.
Please contact me if you need assistance.
--
1019: http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1019
X2Go Bug Tracking System
Contact owner(a)bugs.x2go.org with problems
[View Less]
Package: x2go OS X client
Version: 4.0.5.1
After starting the x2go client, opening a connection and logging in, the
client reports a missing "xmodmap" binary. The error message is attached
at the bottom.
The xmodmap binary on my system is located in "/opt/X11/bin/xmodmap".
The directory path was added to the $PATH variable, but unfortunately
the client doesn't seem to read the $PATH variable. Due to the new "SIP"
feature in the new OS X one is not allowed to write to the folders in
…
[View More]which the client is looking for the binary (even with root privileges).
I'm running OS X 10.11.4 and XQuartz 2.7.8 (xorg-server 1.16.4).
Error message:
"xmodmap failed to start.
This likely means the binary is not available. The current search path
is: /usr/bin:/bin:/usr/sbin:/sbin X2Go Client will now terminate. File a
bug report as outlined on the bugs wiki page
<http://wiki.x2go.org/doku.php/wiki:bugs>."
[View Less]
When connecting to a X2Go session using the latest release (4.0.5.1) on
Mac OS 10.11, the client displays a dialog box with error message
"xmodmap failed to start". Attached is a picture of the error message.
It seems like the search path does not include '/usr/X11/bin' or
'/opt/X11/bin' which indeed does have the xmodmap binary.
Some debug -
1) Executing 'echo $PATH' in the terminal displays
'/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin'
2) Below is a snippet of 'launchctl …
[View More]procinfo <x2go_pid>' when opening
the app from Launchpad.
inherited environment = {
DISPLAY
=> /private/tmp/com.apple.launchd.jbbgc0SnWW/org.macosforge.xquartz:0
SSH_AUTH_SOCK
=> /private/tmp/com.apple.launchd.iQM7MSzyBK/Listeners
Apple_PubSub_Socket_Render
=> /private/tmp/com.apple.launchd.FBStbBeusm/Render
}
default environment = {
PATH => /usr/bin:/bin:/usr/sbin:/sbin
}
environment = {
USER => zc
COMMAND_MODE => unix2003
LOGNAME => zc
PATH => /usr/bin:/bin:/usr/sbin:/sbin
DISPLAY
=> /private/tmp/com.apple.launchd.jbbgc0SnWW/org.macosforge.xquartz:0
Apple_PubSub_Socket_Render
=> /private/tmp/com.apple.launchd.FBStbBeusm/Render
SSH_AUTH_SOCK
=> /private/tmp/com.apple.launchd.iQM7MSzyBK/Listeners
SHELL => /bin/bash
HOME => /Users/zc
TMPDIR
=> /var/folders/dr/ylvdtkpd2rv2qkfclsw7y06r0000gn/T/
__CF_USER_TEXT_ENCODING => 0x1F5:0x0:0x0
XPC_SERVICE_NAME =>
com.apple.xpc.launchd.oneshot.0x10000006.x2goclient
}
3) Executing 'launchctl setenv
PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin' in the
terminal, followed by opening the app from Launchpad, procinfo shows -
inherited environment = {
PATH
=> /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
DISPLAY
=> /private/tmp/com.apple.launchd.jbbgc0SnWW/org.macosforge.xquartz:0
SSH_AUTH_SOCK
=> /private/tmp/com.apple.launchd.iQM7MSzyBK/Listeners
Apple_PubSub_Socket_Render
=> /private/tmp/com.apple.launchd.FBStbBeusm/Render
}
default environment = {
PATH => /usr/bin:/bin:/usr/sbin:/sbin
}
environment = {
USER => zc
COMMAND_MODE => unix2003
LOGNAME => zc
PATH => /usr/bin:/bin:/usr/sbin:/sbin
DISPLAY
=> /private/tmp/com.apple.launchd.jbbgc0SnWW/org.macosforge.xquartz:0
Apple_PubSub_Socket_Render
=> /private/tmp/com.apple.launchd.FBStbBeusm/Render
SSH_AUTH_SOCK
=> /private/tmp/com.apple.launchd.iQM7MSzyBK/Listeners
SHELL => /bin/bash
HOME => /Users/zc
TMPDIR
=> /var/folders/dr/ylvdtkpd2rv2qkfclsw7y06r0000gn/T/
__CF_USER_TEXT_ENCODING => 0x1F5:0x0:0x0
XPC_SERVICE_NAME =>
com.apple.xpc.launchd.oneshot.0x10000007.x2goclient
}
4) Opening the app using terminal by executing 'open
-n /Applications/x2goclient.app'
inherited environment = {
DISPLAY
=> /private/tmp/com.apple.launchd.8PPy9QYAsk/org.macosforge.xquartz:0
SSH_AUTH_SOCK
=> /private/tmp/com.apple.launchd.WjqkY6s8Nu/Listeners
Apple_PubSub_Socket_Render
=> /private/tmp/com.apple.launchd.foKIWVipU9/Render
}
default environment = {
PATH => /usr/bin:/bin:/usr/sbin:/sbin
}
environment = {
PWD => /Users/zc
USER => zc
SECURITYSESSIONID => 186a7
LANG => en_CA.UTF-8
COMMAND_MODE => unix2003
TERM => xterm-256color
PATH
=> /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
LOGNAME => zc
DISPLAY
=> /private/tmp/com.apple.launchd.8PPy9QYAsk/org.macosforge.xquartz:0
Apple_PubSub_Socket_Render
=> /private/tmp/com.apple.launchd.foKIWVipU9/Render
TERM_PROGRAM_VERSION => 361
TERM_SESSION_ID => BAFCF5E5-BAA0-4415-AF96-FEBA6619784E
SSH_AUTH_SOCK
=> /private/tmp/com.apple.launchd.WjqkY6s8Nu/Listeners
SHLVL => 1
SHELL => /bin/bash
HOME => /Users/zc
_ => /usr/bin/open
TERM_PROGRAM => Apple_Terminal
TMPDIR
=> /var/folders/dr/ylvdtkpd2rv2qkfclsw7y06r0000gn/T/
__CF_USER_TEXT_ENCODING => 0x1F5:0x0:0x0
XPC_SERVICE_NAME =>
com.apple.xpc.launchd.oneshot.0x10000006.x2goclient
}
===
Basically, the correct path is set only when the app is opened via the
terminal. If the user decides to hit 'OK' to the dialog box, then the
x2go session is terminated, but if he decides to leave it unattended,
then the user can continue using his session.
I'm not sure what the fix would be here. Do we leave it on the user to
fix his default path settings even though 'echo $PATH' shows it is set
to the right path? Or, in the code, we hard code the path to
"/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/opt/X11/bin", regardless of what the env variable is set to?
Thanks,
Nimesh
[View Less]
I can confirm this bug on my el Capitan 10.11.4 installation with XQuartz
2.78.
The issue seems to be related to the fixing of bug 487
http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=487
In particular, in the latest version of the function onmainwindow.ccp,
lines 5622-5624 are not working, since the path, that is the one that is
displayed in the error message of the previous message, is not modified.
Thus, the path does not include folders such as /opt/X11/bin/ and xmodmap
cannot be found.
Best,
Mattia Cantono
Hello,
Attached is a patch for X2Go Client so to support Qt5.
It compiles and executes fine on Debian.
I attempted to retain Qt4 compatibility using #ifdefs.
--
Sébastien