tag #349 pending
fixed #349 4.0.2.0
thanks
Hello,
X2Go issue #349 (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=89b5d94
The issue will most likely be fixed in src:x2goclient (4.0.2.0).
light+love
X2Go Git Admin (on behalf of the sender of this mail)
---
commit 89b5d94ac7aa9b3fe9a9e398c60e74a8a13d095b
Author: Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de>
Date: Sat Mar 29 00:32:04 2014 +0100
Allow starting shadow sessions from the command line with option --hidden being enabled. (Fixes: #349).
diff --git a/debian/changelog b/debian/changelog
index 14ae6df..f5db338 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,6 +35,8 @@ x2goclient (4.0.2.0-0x2go1) UNRELEASED; urgency=low
nightly builds in build scripts.
- Rename txt/git to txt/git-info (make it compliant with cmdline
options).
+ - Allow starting shadow sessions from the command line with
+ option --hidden being enabled. (Fixes: #349).
* debian/control:
+ Build-depend on libssh-dev (>= 0.5.4-2).
+ Bump Standards: to 3.9.5. No changes needed.
Package: x2goclient
Version: 4.0.1.3
Subject says it all. This used to work fine in Windows 7, but not anymore.
It tries to maximize, but simply performs a maximize on that display.
Package: x2goserver
Version: 4.0.1.13
Notes:
1. I am not sure if this is a bug in x2goserver, x2goserver-xsession,
or in nx-libs.
2. PolicyKit depends on ConsoleKit (and on systemd-logind in
newer distros.)
3. RHEL7 beta (systemd-logind) is not affected and pkexec commands do
work. However, PolicyKit authentication within apps fails. I will file
a separate bug about this.
4. I also tested CentOS 6.5 64-bit (ConsoleKit) and saw an issue that
precludes even testing for this bug.
(polkit-gnome-authentication-agent-1 fails to start) I wrote bug 457
about this.
5. The workaround I discovered is to set your XAUTHORITY env var. I
demonstrated this below.
Test system:
Ubuntu 12.04.4 32-bit
x2goserver: 4.0.1.13
x2goserver-xsession: 4.0.1.13
nx-libs: 3.5.0.22
mate-desktop: 1.6.0-3+precise from this apt repo:
deb http://packages.mate-desktop.org/repo/ubuntu precise main
(This distro uses ConsoleKit, not systemd-logind)
Test Case 1:
Unity desktop
(The authentication window opens and prompts me for my password both
times. Only the latter time does synaptic start.)
mike@mothership-u-p:~$ ps -ef | grep polkit
root 755 1 0 10:55 ? 00:00:01
/usr/lib/policykit-1/polkitd --no-debug
mike 25151 25098 0 11:51 ? 00:00:00
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
mike 25515 25447 0 11:51 pts/0 00:00:00 grep --color=auto polkit
mike@mothership-u-p:~$ pkexec synaptic
No protocol specified
No protocol specified
(synaptic:25559): Gtk-WARNING **: cannot open display: :50
mike@mothership-u-p:~$ export XAUTHORITY=/home/mike/.Xauthority
mike@mothership-u-p:~$ pkexec synaptic
mike@mothership-u-p:~$
Test Case 2:
MATE desktop
(This time I am prompted to authentication on the command-line, which
works fine for me. I assume that me not being prompted the 2nd time is
intentional because sudo works in a similar manner. Only the latter
time does synaptic start.)
(And in case isn't clear, polkit-mate-authentication-agent-1 doesn't
start until I run the pkexec command the 1st time. This differs from
Unity where it is launched during login. When I login locally to MATE)
mike@mothership-u-p:~$ ps -ef | grep polkit
root 755 1 0 10:55 ? 00:00:01
/usr/lib/policykit-1/polkitd --no-debug
mike 21645 21522 0 11:46 pts/0 00:00:00 grep --color=auto polkit
mike@mothership-u-p:~$ pkexec synaptic
==== AUTHENTICATING FOR com.ubuntu.pkexec.synaptic ===
Authentication is required to run the Synaptic Package Manager
Authenticating as: Michael DePaulo,,, (mike)
Password:
==== AUTHENTICATION COMPLETE ===
No protocol specified
No protocol specified
(synaptic:21673): Gtk-WARNING **: cannot open display: :50.0
mike@mothership-u-p:~$ ps -ef | grep polkit
root 755 1 0 10:55 ? 00:00:01
/usr/lib/policykit-1/polkitd --no-debug
mike 21701 21379 0 11:47 ? 00:00:00
/usr/lib/polkit-mate/polkit-mate-authentication-agent-1
mike 21803 21522 0 11:47 pts/0 00:00:00 grep --color=auto polkit
mike@mothership-u-p:~$ export XAUTHORITY=/home/mike/.Xauthority
mike@mothership-u-p:~$ pkexec synaptic
mike@mothership-u-p:~$
Test Case 3:
MATE desktop from a local login
Same behavior as test case 2. I wanted to verify that
polkit-mate-authentication-agent-1 is not supposed to start until you
call pkexec, and that you are normally prompted to authentication on
the command-line.
Processing commands for control(a)bugs.x2go.org:
> tag #421 confirmed
Bug #421 [x2goclient] X2goclient on Windows: sshd.exe does not start.
Added tag(s) confirmed.
> thanks
Stopping processing here.
Please contact me if you need assistance.
--
421: http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=421
X2Go Bug Tracking System
Contact owner(a)bugs.x2go.org with problems
I did a bunch of testing. Note that most of the earlier test results
were not valid because i was probably not in the "fuse" group:
https://docs.google.com/spreadsheet/ccc?key=0AmL_OrCln9ShdHcxbTQ3amJZdlp1b3…
Conclusions:
1. This bug is present in X2Go Client 4.0.1.2 and later, including the
nightly 4.0.2.0 builds.
2. This bug affects Windows XP 32-bit SP3, but it does not affect
Windows 7 32-bit SP1 nor does it affect Windows 8.1 64-bit ("Update 1"
was not installed.) It is safe to assume that only XP, server 2003,
and server 2003 R2 are affected
3. This bug is not present in 4.0.0.3. (there was a gap in X2Go Client
Windows builds between 4.0.0.3 and 4.0.1.2.)
4. Across all 3 aforementioned Windows Client OSs with X2Go Client
4.0.0.3, sshd.exe does start. However, folder sharing does not work;
the share never shows up when you run "df" and it is not present in
the usual path under /tmp/ . (I did not test printer sharing, but I
did test all 3 OSs.) That is probably another bug, but it was
obviously fixed. I will not be writing it up.
tag #448 pending
fixed #448 4.0.2.0
thanks
Hello,
X2Go issue #448 (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=ed2c005
The issue will most likely be fixed in src:x2goclient (4.0.2.0).
light+love
X2Go Git Admin (on behalf of the sender of this mail)
---
commit ed2c00559188166d824063b266310245d3c54d37
Author: Mike DePaulo <mikedep333(a)gmail.com>
Date: Wed Mar 19 08:23:33 2014 -0400
Windows: Reapply KDE on Windows's patch for Pageant support to libssh 0.5.5. (Fixes: #448)
diff --git a/debian/changelog b/debian/changelog
index 90d98ef..14ae6df 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -55,6 +55,8 @@ x2goclient (4.0.2.0-0x2go1) UNRELEASED; urgency=low
- Windows: Upgrade included PulseAudio from 1.1 to 5.0.
The 5.0 build is patched for X2Go bug #363. and available here:
https://build.opensuse.org/project/show/home:mikedep333:branches:home:mkbos…
+ - Windows: Reapply KDE on Windows's patch for Pageant support to
+ libssh 0.5.5. (Fixes: #448)
-- Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de> Wed, 22 Jan 2014 09:20:08 +0100
Oleksandr Shneyder provided a patched libssh 0.5.5 build and I added
it to our nightly build system. Both Stefan and I verified that it
fixes the bug.
We might move the location of the build, but for now it is here:
http://code.x2go.org/releases/libssh-with-pagent.patch/
Until now, I have been including VcXsrv 1.14.2.1 in the X2Go Client
Windows builds because it is the last version to support Windows XP.
However, it appears that there is 1, and possibly more, security
vulnerabilities in that version.
http://lists.x.org/archives/xorg-announce/2013-October/002332.html
Since security vulnerabilities are about to become an irresolvable
reality for Windows XP users, I propose that I split the X2Go Windows
builds up an XP version, and a version for all later versions of
Windows.
The XP build will use VcXsrv 1.14.2.1, and hopefully we can get the
VcXsrv project to provide security patches for it in the future.
The build for all later versions of Windows will use the latest
VcXsrv, unless a major regression is found in it.
At this time there is no x2goclient.git source code changes needed to
maintain the 2 X2Go Client Windows builds. Nor any nx-libs.git source
code changes. They will merely differ in terms of this one 3rd-party
dependency.
(I intend to do a better job of maintaining these dependencies on
x2goclient-contrib.git and integrate that git repo into the build
process. I would just add every 3rd-party binary file (mostly .DLL
files) to that git repo, but that resets the timestamps, and as a
SysAdmin I HATE it when timestamps get reset. I'll probably zip them
up to preserve the timestamps.)
If anyone here thinks I should just say "screw XP" after April 8th,
consider the fact that I am contributing my time to the Windows builds
and I am willing to maintain the XP builds for the foreseeable future.
I will probably maintain them until April 30th 2015 unless a large
technical obstacle comes up. I do not condone the use of Windows XP
past April 8th, but I believe that X2Go Client can be part of an
organization's solution to migrate away from Windows XP.
-Mike#2
Hello,
as you know, I made some changes in X2Go Client code. Especially
important is that X2Go Client do not open for every reverse tunnel a new
ssh connection any more. To make it possible, I made some improvements
in libssh. The patch is already accepted by libssh team and Mike will
take care about linux packages.
The libssh patch for reverse connections is here:
http://code.x2go.org/releases/libssh/libssh-0.5.x-accept-forward.patch
I have also found another one issue with libssh, however I have not yet
an answer from libssh team if they will accept this patch. It is very
important for Mac Client to use libssh with this patch. In other case
you can expect the poor performance of X2Go Client.
You can find a patch here:
http://code.x2go.org/releases/libssh/libssh-0.5.x-unblock.patch
To be able build current X2Go Client code on Mac or Windows you also
need a libssh with this two patches.
@Michael DePaulo.
Please apply this two patches on your libssh source tree. If you don't
want to build libssh by yourself, you can use binaries built by me:
http://code.x2go.org/releases/libssh/libssh-0.5.5.zip
@Clemens Lang.
If you build libssh using brew, you can do next:
- uninstall old version of libssh
$brew uninstall libssh
$cd $(brew --prefix)
$brew update
- get available libssh vesrions
$brew versions libssh
- switch to libssh-0.5.5
$git checkout 91e973b Library/Formula/libssh.rb
- edit formula
$brew edit libssh
add libssh patches before def install:
def patches
[
"http://code.x2go.org/releases/libssh/libssh-0.5.x-accept-forward.patch",
"http://code.x2go.org/releases/libssh/libssh-0.5.x-unblock.patch"
]
end
after that you can build libssh as usual:
$brew install libssh
regards
Alex
--
----------------------------------------------------
Oleksandr Shneyder | Email: o.shneyder(a)phoca-gmbh.de
phoca GmbH | Tel. : 0911 - 14870374 0
Bräuhausgasse 9 | Fax. : 0911 - 14870374 9
D-82205 Gilching | Mobil: 0163 - 49 64 461
Geschäftsführung:
Dipl.-Inf. Oleksandr Shneyder
Amtsgericht München | http://www.phoca-gmbh.de
HRB 196 658 | http://www.x2go.org
USt-IdNr.: DE281977973
----------------------------------------------------
Sorry for the long URL, but we can download the patch that KDE used
for libssh 0.5.3 here:
http://code.ohloh.net/project?pid=bnCaBd3Jo9I&prevcid=1&did=portage%2Fwin32…
Based on the dates in the files,
0001-implement-support-for-putty-s-pageant-0.5.3.patch supercedes
0001-implement-support-for-putty-s-pageant.patch