Control: reassign -1 python3-x2gobroker
Hi Savko,
> Package: python-x2gobroker
> Version: 0.0.3
> Severity: normal
>
> In massive load_factors.keys variable busy_server = test-001.tophouse.local
> In massive busy_servers_temp.keys variable busy_server = test-001
> As a result, I get garbage.
Some time ago you submitted this scarce bug report to the X2Go bug
tracker. I am going through some old bugs and try to fix them (or
close them).
Can you by any change provide more info on this, ideally a traceback or such?
The code section you are addressing is hopeless Spaghetti code and
needs a rewrite, but I'd like to fix your issue nonetheless, as I
think you are raising a valid point.
Greets,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: mike.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
package: x2gobroker-ssh
version: 0.0.4.0-0~1022~ubuntu16.04.1
priority: bug
x2gobroker-ssh supports interactive mode which means that it can reports login interactions to the user such as password changes requests.
Let's say that my user's password has expired, when I login to the broker with x2goclient in broker mode, I'll see a new form asking for my old password and I must type/confirm my new password.
Once done, I'll be granted access to the broker and I'll get my session profiles list on the right sidebar of the client.
Since I'm using --use-broker-pass, I don't have to re-type my password when connecting to a session but in that specific use case, I get an auth error while connecting because of wrong password.
In fact, it appears that the client keeps the first password that has been entered at the broker login prompt (the one that expired) when passing it to the session profile.
Once you get the auth error, you'll be prompted with user/pass for the session profile, if you enter the new password, then it works.
Regards,
Walid Moghrabi
TRAVAUX.COM
BAT I - PARC CEZANNE 2 290 AVENUE GALILEE - CS 80403
13591 AIX EN PROVENCE CEDEX 3
---
DISCLAIMER: This e-mail is private and confidential and may contain proprietary or legally privileged information. It is for the intended recipient only. If you have received this email in error, please notify the author by replying to it and then destroy it. If you are not the intended recipient you must not use, disclose, distribute, copy, print or rely on this e-mail or any attachment. Thank you
package: x2gobroker
version: 0.0.3.0
Situation: two identical nodes, only difference is DNS name + IP
Desired result: load-balanced X2Go systems, where a suspended session
can be resumed
Actual outcome: Each connect starts a new session, suspended sessions
are left dangling forever
Questions:
1) Is x2gobroker-daemon needed at all for ssh-only connections to the
broker?
2) Did I miss any obvious steps?
3) What would be the suggested path to debug this?
A full typescript recording of the installation process is available,
but as no command returned any error messages, let me shorten it down to
the commands that were executed:
# commands executed on both first and second node
apt-get install x2gobroker -y
cp /etc/x2go/x2gobroker.conf /etc/x2go/x2gobroker.conf.orig
vi /etc/x2go/x2gobroker.conf # see diff below
apt-get install x2gobroker-agent -y
cp /etc/x2go/broker/x2gobroker-sessionprofiles.conf
/etc/x2go/broker/x2gobroker-sessionprofiles.conf.orig
vi /etc/x2go/broker/x2gobroker-sessionprofiles.conf # see diff below
x2gobroker-keygen
cp /var/lib/x2gobroker/.ssh/id_rsa.pub /tmp/
cd /tmp/
vi id_rsa.pub # added a blank and the server name to end of file
python -m SimpleHTTPServer 8081 # run temporary web server so second
node can fetch the file
# once both web servers were up, the following commands were executed
# on BOTH nodes:
x2gobroker-pubkeyauthorizer -t http://firstnode:8081/id_rsa.pub
x2gobroker-pubkeyauthorizer -t http://secondnode:8081/id_rsa.pub
# Sadly, no working session reconnect with these command line
# parameters - it always starts a new session:
x2goclient
--broker-url=ssh://accountwithapublickey@firstnode:22/usr/bin/x2gobroker
--broker-autologin
# This is using x2goclient-4.0.5.0-2015.07.31
# taking a closer look at
# http://wiki.x2go.org/doku.php/doc:installation:x2gobroker:
# maybe x2gobroker-daemon is missing? So ...
apt-get install x2gobroker-daemon -y # this also pulls in
x2gobroker-authservice
# Sadly, no change, still no working session reconnect :-(
# ---------------------------------------------------------
diff -u /etc/x2go/x2gobroker.conf.orig /etc/x2go/x2gobroker.conf
--- /etc/x2go/x2gobroker.conf.orig 2016-03-19 18:39:02.034407506 +0100
+++ /etc/x2go/x2gobroker.conf 2016-03-19 19:56:05.781729565 +0100
@@ -241,6 +241,7 @@
# The agent query mode can be configured on a per-broker-backend basis, the
# below value is the default.
#default-agent-query-mode=NONE
+default-agent-query-mode=SSH
# Probe SSH port of X2Go Servers (availability check)
#
@@ -254,7 +255,7 @@
# Per default, we set this to "true" here. The portscan feature can be
# deactivated on a per-session-profile basis (use:
broker-portscan-x2goservers =
# false in the session profile configuration).
-#default-portscan-x2goservers = true
+default-portscan-x2goservers = false
# Use load checker for querying X2Go Servers' loads in regular intervals
#
@@ -294,13 +295,13 @@
# o the session profile does not block queries to the load checker daemon
# on a per profile basis
#
-#default-use-load-checker = false
+default-use-load-checker = true
# If the x2gobroker-loadchecker daemon gets used, define here how
# many seconds to sleep between cycles of querying system load from the
# associated X2Go Servers.
#
-#load-checker-intervals = 300
+load-checker-intervals = 300
###
@@ -345,9 +346,8 @@
#desktop-shell = KDE
[broker_inifile]
-#enable = true
-#session-profiles = /etc/x2go/broker/x2gobroker-sessionprofiles.conf
-#use-load-checker = false
+enable = true
+session-profiles = /etc/x2go/broker/x2gobroker-sessionprofiles.conf
#[broker_ldap] -> MUSIC OF THE FUTURE
#enable = false
# ---------------------------------------------------------
# ---------------------------------------------------------
diff -u /etc/x2go/broker/x2gobroker-sessionprofiles.conf.orig
/etc/x2go/broker/x2gobroker-sessionprofiles.conf
--- /etc/x2go/broker/x2gobroker-sessionprofiles.conf.orig
2016-03-19 19:19:33.995277777 +0100
+++ /etc/x2go/broker/x2gobroker-sessionprofiles.conf 2016-03-19
19:58:45.407309387 +0100
@@ -63,146 +63,12 @@
directrdp=false
user=BROKER_USER
-[localhost-kde]
-name=KDE - localhost
-host=localhost
-command=KDE
+[GloveBox]
+host=firstnode (firstnodeip), secondnode (secondnodeip)
+name=GloveBox
+published=true
usebrokerpass=true
-
-[localhost-mate]
-name=MATE - localhost
-host=localhost
-command=MATE
-usebrokerpass=true
-
-[localhost-shadow]
-name=SHADOW - localhost
-# don't even try load-balancing here... it makes not sense and won't
work (first given host will be used!)
-host=localhost
-command=SHADOW
-usebrokerpass=true
-
-### EXAMPLES: Below you find some config examples. Adapt them to your
needs or
-### simply write your own session profiles and remove the examples below.
-
-##
-## EXAMPLE: pool-A (staff servers)
-##
-## The pool-A contains three X2Go Servers (server-A, server-B and
server-C).
-
-## The staff of our example institute falls into two groups of users:
-## gnome-users and kde-users.
-## The gnome-users log into server-A or server-B, depending on their client
-## subnet (IP configuration of the client).
-## The kde-users login to server-C (server-C can be reached from the whole
-## intranet).
-##
-## The client IP based split-up of the GNOME users allows some
primitive load
-## balancing.
-##
-## If staff people are members of both groups (kde-users, gnome-users) both
-## session profiles will be shown in X2Go Client.
-##
-
-#[pool-A-server-A]
-#user=
-#host=server-a.pool-a.domain.local
-#name=GNOME - pool-A (srv-A)
-#command=GNOME
-#rootless=false
-#acl-groups-allow=gnome-users,admins
-#acl-groups-deny=ALL
-#acl-clients-deny=ALL
-#acl-clients-allow=10.1.0.0/16
-#acl-any-order=deny-allow
-#broker-session-autologin=true
-
-#[pool-A-server-B]
-#user=
-#host=server-b.pool-a.domain.local
-#name=GNOME - pool-A (srv-B)
-#command=GNOME
-#rootless=false
-#acl-groups-allow=gnome-users,admins
-#acl-groups-deny=ALL
-#acl-clients-deny=ALL
-#acl-clients-allow=10.2.0.0/16
-#acl-any-order=deny-allow
-#broker-session-autologin=true
-
-#[pool-A-server-C]
-#user=
-#host=server-c.pool-a.domain.local
-#name=KDE - pool-A (srv-C)
-#command=KDE
-#rootless=false
-#acl-groups-allow=kde-users,admins
-#acl-groups-deny=ALL
-#acl-any-order=deny-allow
-#broker-session-autologin=true
-
-##
-## EXAMPLE: pool-B (e.g. webserver in the DMZ or on the internet)
-##
-## The pool-B is a single X2Go Server (server-D) that is
-## hosted externally. The server-D has an official internet IP.
-##
-## The session profile for server-D shall be provided to the
-## admins group only.
-##
-## Furthermore, the session profile for server-D shall only get
-## offered to a member of the admins group if the admin is sitting
-## in front of one of the admin client machines.
-##
-
-#[pool-B-server-D-LXDE]
-#user=
-#host=server-d (server-d.domain.internet)
-#name=LXDE - srv-D
-#command=LXDE
-#rootless=false
-#acl-groups-allow=admins
-#acl-groups-deny=ALL
-## make sure hostnames in client ACLs are resolvable via libnss!!!
-#acl-clients-deny=ALL
-#acl-clients-allow=admin-machine1.domain.local,
admin-machine2.domain.local, admin-machine3.domain.local
-#acl-any-order=deny-allow
-
-##
-## EXAMPLE: pool-C (REAL LOAD BALANCING!!!)
-##
-## The pool-C is a server pool for students. Our example institute
-## knows 200-300 students and has to offer working places for
-## every student.
-##
-## The resource limits on these servers are pretty strict, so staff members
-## normally stay away from these machines, anyway. Only two test account
-## get this session profile into their X2Go Clients.
-##
-## The pool-C contains 6 X2Go Servers that serve all students users
together
-## as a load balance server farm. The servers' hostnames are s-E1,
s-E2, ...
-## (as found in /etc/hostname). The hosts, however, are not configured
in DNS
-## so we give their IPs explicitly (also works for IPv6).
-##
-## Make sure to install x2gobroker-agent on all these 6 X2Go Servers.
Also make
-## sure to once run the script x2gobroker-keygen on the broker host and
once
-## the script x2gobroker-pubkeyauthorizer per X2Go Server.
-##
-## All 6 X2Go Servers have to be configured to use the PostgreSQL X2Go
session
-## DB backend.
-##
-
-#[pool-C-XFCE]
-#user=
-#host=s-E1 (10.0.2.11),s-E2 (10.0.2.12),s-E3 (10.0.2.13),s-E4
(10.0.2.14),s-E5 (10.0.2.15)
-#name=XFCE - pool-C
-#command=XFCE
-#rootless=false
-#acl-users-allow=testuser-A,testuser-B
-#acl-users-deny=ALL
-#acl-groups-allow=students,admins
-#acl-groups-deny=ALL
-#acl-any-order=deny-allow
# this server pool has a special broker setup for SSH authorized_keys
-#broker-session-autologin=true
-#broker-authorized-keys=/var/lib/x2gobroker/ssh/%u/authorized_keys
+broker-session-autologin=true
+broker-authorized-keys=/etc/ssh/authorized_keys.d/%u
# ---------------------------------------------------------
# ---------------------------------------------------------
dpkg -l|grep x2go
ii cups-x2go
3.0.1.3-0x2go1+git20160127.135+jessie.main.1 all Virtual
X2Go printer for CUPS
ii libnx-x11-6:i386
2:3.5.0.32-0x2go1+git20160126.734+jessie.main.1 i386 nx-X11
client-side library
ii libnx-xcomposite1:i386
2:3.5.0.32-0x2go1+git20160126.734+jessie.main.1 i386 nx-X11
Composite extension library
ii libnx-xdamage1:i386
2:3.5.0.32-0x2go1+git20160126.734+jessie.main.1 i386 nx-X11
damaged region extension library
ii libnx-xdmcp6:i386
2:3.5.0.32-0x2go1+git20160126.734+jessie.main.1 i386 nx-X11
Display Manager Control Protocol library
ii libnx-xext6:i386
2:3.5.0.32-0x2go1+git20160126.734+jessie.main.1 i386 nx-X11
miscellaneous extension library
ii libnx-xfixes3:i386
2:3.5.0.32-0x2go1+git20160126.734+jessie.main.1 i386 nx-X11
miscellaneous 'fixes' extension library
ii libnx-xinerama1:i386
2:3.5.0.32-0x2go1+git20160126.734+jessie.main.1 i386 nx-X11
Xinerama extension library
ii libnx-xpm4:i386
2:3.5.0.32-0x2go1+git20160126.734+jessie.main.1 i386 nx-X11
pixmap library
ii libnx-xrandr2:i386
2:3.5.0.32-0x2go1+git20160126.734+jessie.main.1 i386 nx-X11
RandR extension library
ii libnx-xrender1:i386
2:3.5.0.32-0x2go1+git20160126.734+jessie.main.1 i386 nx-X11
Rendering Extension client library
ii libnx-xtst6:i386
2:3.5.0.32-0x2go1+git20160126.734+jessie.main.1 i386 nx-X11
Testing -- Record extension library
ii libxcomp3:i386
2:3.5.0.32-0x2go1+git20160126.734+jessie.main.1 i386 nx-X11
compression library
ii libxcompext3:i386
2:3.5.0.32-0x2go1+git20160126.734+jessie.main.1 i386 nx-X11
protocol compression extensions library
ii libxcompshad3:i386
2:3.5.0.32-0x2go1+git20160126.734+jessie.main.1 i386 nx-X11
shadowing library
ii nx-x11-common
2:3.5.0.32-0x2go1+git20160126.734+jessie.main.1 all nx-X11
(common files)
ii nxagent
2:3.5.0.32-0x2go1+git20160126.734+jessie.main.1 i386 NX agent
ii python-x2gobroker
0.0.3.0-0x2go1+git20160126.999+jessie.main.1 all X2Go
Session Broker (Python modules)
ii x2go-keyring
2012.07.23~jessie~main~17~build1 all GnuPG keys
of all X2Go developers and the X2Go archive
ii x2goagent
2:3.5.0.32-0x2go1+git20160126.734+jessie.main.1 all X2Go agent
ii x2gobroker
0.0.3.0-0x2go1+git20160126.999+jessie.main.1 all X2Go
Session Broker (executable)
ii x2gobroker-agent
0.0.3.0-0x2go1+git20160126.999+jessie.main.1 i386 X2Go
Session Broker (remote agent)
ii x2gobroker-authservice
0.0.3.0-0x2go1+git20160126.999+jessie.main.1 all X2Go
Session Broker (PAM authentication service)
ii x2gobroker-daemon
0.0.3.0-0x2go1+git20160126.999+jessie.main.1 all X2Go
Session Broker (standalone daemon)
ii x2goserver
4.0.1.19-0x2go2+git20160126.1064+jessie.main.1 i386 X2Go server
daemon scripts
ii x2goserver-extensions
4.0.1.19-0x2go2+git20160126.1064+jessie.main.1 all X2Go server
daemon scripts (extensions)
ii x2goserver-printing
4.0.1.19-0x2go2+git20160126.1064+jessie.main.1 all X2Go server
daemon scripts (printing)
ii x2goserver-xsession
4.0.1.19-0x2go2+git20160126.1064+jessie.main.1 all X2Go server
daemon scripts (Xsession runner)
# ---------------------------------------------------------
cat /etc/apt/sources.list
# Security Updates
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
# Backports
deb http://ftp.debian.org/debian/ jessie-backports main contrib non-free
# ClamAV etc.
deb http://ftp.debian.org/debian jessie-updates main contrib non-free
deb-src http://ftp.debian.org/debian jessie-updates main contrib non-free
# Stable
deb http://ftp.de.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.de.debian.org/debian/ jessie main contrib non-free
# X2go Repository
deb http://packages.x2go.org/debian jessie main
# X2go Repository (sources)
deb-src http://packages.x2go.org/debian jessie main
# ---------------------------------------------------------
# ---------------------------------------------------------
cat /etc/debian_version
8.3
# ---------------------------------------------------------
Kind Regards,
Stefan Baur
--
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
I can confirm this bug, but the problem is not with all x2gobroker, the
resume problem become when you use ssh broker.
In my setup, when client connect with
--broker-url=https://XXXX.XXXX.XXXX:8080/plain/inifile, all work fine
and resume is working. But when same clients connect with same
credentials to the same broker with x2goclient
--broker-url=ssh://XXXX.XXXX.XXXX/usr/bin/x2gobroker --broker-autologin,
all work fine but resume is not working, all connection open a new
session :S.
I cant debug with ssh broker :(. Any ideas?
--
Miguel Quero | One eSecurity | www.one-esecurity.com
M: +34 608 36 17 05
Europe (Spain): +34 911 011 000
PGP: 0x34AA 050B D15C 7593 5671 3748 40C6 8E95 6C5A 40D3
close #1275
thanks
Hello,
we are very hopeful that X2Go issue #1275 reported by you
has been resolved in the new release (0.6.0.0) of the
X2Go source project »src:python-x2go«.
You can view the complete changelog entry of src:python-x2go (0.6.0.0)
below, and you can use the following link to view all the code changes
between this and the last release of src:python-x2go.
http://code.x2go.org/gitweb?p=python-x2go.git;a=commitdiff;h=29f90ec63df991…
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:python-x2go.
Thanks a lot for contributing to X2Go!!!
light+love
X2Go Git Admin (on behalf of the sender of this mail)
---
X2Go Component: src:python-x2go
Version: 0.6.0.0-0x2go1
Status: PREVIEW
Date: Thu, 06 Sep 2018 18:35:12 +0200
Fixes: 1259 1275
Changes:
python-x2go (0.6.0.0-0x2go1) PREVIEW; urgency=medium
.
[ Mike Gabriel ]
* New upstream version (0.6.0.0):
- Support Python2 and Python3 alike.
- Test intensively against Debian stable and unstable.
(Fixes: #1275).
- Build API doc with Sphinx.
- Drop unit test framework. Never really used (though we should have).
(Fixes: #1259).
- x2go/checkhosts.py: Python3 fix in get_key_fingerprint().
- Natively support xinerama option.
- x2go/backends/terminal/plain.py: x2gosession-resume handles
xinerama support differently from x2gostartagent. Adding it
as cmdline parameter No. 9.
- x2go/utils.py: Python3 fix in get_workarea_geometry().
- Finalize Epydoc-to-Sphinx conversion of doc strings.
- x2go/session.py: Update list of features.
- x2go/__init__.py: Reference backends correctly.
- Drop WINREG backends, never existed really, never will be, probably.
- x2go/__init__.py: Avoid ares resolver for now, as it currently is
broken in Debian testing.
- Makefile.docupload: Add apidoc target.
- docs/source/: Update API doc tree, winreg modules removed.
* debian/:
+ Adapt to building Python3 and Python2 variants of Python X2Go.
+ Adapt to building API docs with Sphinx.
.
[ Mihai Moldovan ]
* New upstream version (0.6.0.0):
- docs/source/conf.py: set minimum sphinx version to 1.0. Needed for
the sphinx.ext.viewcode extension.
- docs/source/conf.py: drop minimum sphinx version requirement again,
detect version manually and adapt config based on this information.
- docs/source/conf.py: fix parse error due to wrong else usage.
- docs/source/conf.py: import sphinx module. Hopefully that actually works
out.
* python-x2go.spec:
- Also add fdupes package as a build dependency for RHEL-based distros.
- Correctly pythonize package, for Fedora, RHEL/EPEL and OpenSuSE. It's
more verbose than needs to be, but OpenSuSE Leap 42.2 - which is still
supported currently - does not have python-rpm-macros and we generally
want to disable the Python 3 package for now. For EPEL/RHEL versions
lower than 8, we strip Python 3 stuff out completely and rename the
package to python-x2go.
- Fix package names in %package (and its %description) and %files sections.
- Add dependency on the python-configparser backport. Makes at least part
working with both Python 2 and 3.
- Actually disable python3 builds on OpenSuSE.
- OpenSuSE Leap 15 and TumbleWeed renamed python-xlib to
python{2,3}-python-xlib.
- Local %defines are buggy in older RPM implementations, work around by
using %global instead.
- Merge python(2)-x2go section in main section, since we cannot redefine
subpackages.
- Older OpenSuSE Leap versions don't support %{python2_sitelib} - use
%{python_sitelib} instead.
- Document %(python_module} definitions.
- Override python_module macro for OpenSuSE Leap 42.3, the shipped version
does not what later versions do correctly.
- %{sle_version} is not defined on TW, so use a %{suse_version} check
additionally to catch this variant.
close #1259
thanks
Hello,
we are very hopeful that X2Go issue #1259 reported by you
has been resolved in the new release (0.6.0.0) of the
X2Go source project »src:python-x2go«.
You can view the complete changelog entry of src:python-x2go (0.6.0.0)
below, and you can use the following link to view all the code changes
between this and the last release of src:python-x2go.
http://code.x2go.org/gitweb?p=python-x2go.git;a=commitdiff;h=29f90ec63df991…
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:python-x2go.
Thanks a lot for contributing to X2Go!!!
light+love
X2Go Git Admin (on behalf of the sender of this mail)
---
X2Go Component: src:python-x2go
Version: 0.6.0.0-0x2go1
Status: PREVIEW
Date: Thu, 06 Sep 2018 18:35:12 +0200
Fixes: 1259 1275
Changes:
python-x2go (0.6.0.0-0x2go1) PREVIEW; urgency=medium
.
[ Mike Gabriel ]
* New upstream version (0.6.0.0):
- Support Python2 and Python3 alike.
- Test intensively against Debian stable and unstable.
(Fixes: #1275).
- Build API doc with Sphinx.
- Drop unit test framework. Never really used (though we should have).
(Fixes: #1259).
- x2go/checkhosts.py: Python3 fix in get_key_fingerprint().
- Natively support xinerama option.
- x2go/backends/terminal/plain.py: x2gosession-resume handles
xinerama support differently from x2gostartagent. Adding it
as cmdline parameter No. 9.
- x2go/utils.py: Python3 fix in get_workarea_geometry().
- Finalize Epydoc-to-Sphinx conversion of doc strings.
- x2go/session.py: Update list of features.
- x2go/__init__.py: Reference backends correctly.
- Drop WINREG backends, never existed really, never will be, probably.
- x2go/__init__.py: Avoid ares resolver for now, as it currently is
broken in Debian testing.
- Makefile.docupload: Add apidoc target.
- docs/source/: Update API doc tree, winreg modules removed.
* debian/:
+ Adapt to building Python3 and Python2 variants of Python X2Go.
+ Adapt to building API docs with Sphinx.
.
[ Mihai Moldovan ]
* New upstream version (0.6.0.0):
- docs/source/conf.py: set minimum sphinx version to 1.0. Needed for
the sphinx.ext.viewcode extension.
- docs/source/conf.py: drop minimum sphinx version requirement again,
detect version manually and adapt config based on this information.
- docs/source/conf.py: fix parse error due to wrong else usage.
- docs/source/conf.py: import sphinx module. Hopefully that actually works
out.
* python-x2go.spec:
- Also add fdupes package as a build dependency for RHEL-based distros.
- Correctly pythonize package, for Fedora, RHEL/EPEL and OpenSuSE. It's
more verbose than needs to be, but OpenSuSE Leap 42.2 - which is still
supported currently - does not have python-rpm-macros and we generally
want to disable the Python 3 package for now. For EPEL/RHEL versions
lower than 8, we strip Python 3 stuff out completely and rename the
package to python-x2go.
- Fix package names in %package (and its %description) and %files sections.
- Add dependency on the python-configparser backport. Makes at least part
working with both Python 2 and 3.
- Actually disable python3 builds on OpenSuSE.
- OpenSuSE Leap 15 and TumbleWeed renamed python-xlib to
python{2,3}-python-xlib.
- Local %defines are buggy in older RPM implementations, work around by
using %global instead.
- Merge python(2)-x2go section in main section, since we cannot redefine
subpackages.
- Older OpenSuSE Leap versions don't support %{python2_sitelib} - use
%{python_sitelib} instead.
- Document %(python_module} definitions.
- Override python_module macro for OpenSuSE Leap 42.3, the shipped version
does not what later versions do correctly.
- %{sle_version} is not defined on TW, so use a %{suse_version} check
additionally to catch this variant.
tag #1275 pending
fixed #1275 0.6.0.0
thanks
Hello,
X2Go issue #1275 (src:python-x2go) 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=python-x2go.git;a=commitdiff;h=71df03f
The issue will most likely be fixed in src:python-x2go (0.6.0.0).
light+love
X2Go Git Admin (on behalf of the sender of this mail)
---
commit 71df03f97aee40441914fd56ba7031bc5cd5af79
Author: Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de>
Date: Thu Sep 6 19:33:28 2018 +0200
release 0.6.0.0
diff --git a/debian/changelog b/debian/changelog
index 30bc359..efb471e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
-python-x2go (0.5.99.1-0x2go1) UNRELEASED; urgency=medium
+python-x2go (0.6.0.0-0x2go1) UNRELEASED; urgency=medium
[ Mike Gabriel ]
- * New upstream version (0.5.99.1):
+ * New upstream version (0.6.0.0):
- Support Python2 and Python3 alike.
+ - Test intensively against Debian stable and unstable.
+ (Fixes: #1275).
- Build API doc with Sphinx.
- Drop unit test framework. Never really used (though we should have).
(Fixes: #1259).
@@ -12,10 +14,20 @@ python-x2go (0.5.99.1-0x2go1) UNRELEASED; urgency=medium
xinerama support differently from x2gostartagent. Adding it
as cmdline parameter No. 9.
- x2go/utils.py: Python3 fix in get_workarea_geometry().
- * debian/: Adapt to building API docs with Sphinx.
+ - Finalize Epydoc-to-Sphinx conversion of doc strings.
+ - x2go/session.py: Update list of features.
+ - x2go/__init__.py: Reference backends correctly.
+ - Drop WINREG backends, never existed really, never will be, probably.
+ - x2go/__init__.py: Avoid ares resolver for now, as it currently is
+ broken in Debian testing.
+ - Makefile.docupload: Add apidoc target.
+ - docs/source/: Update API doc tree, winreg modules removed.
+ * debian/:
+ + Adapt to building Python3 and Python2 variants of Python X2Go.
+ + Adapt to building API docs with Sphinx.
[ Mihai Moldovan ]
- * New upstream version (0.5.99.0):
+ * New upstream version (0.6.0.0):
- docs/source/conf.py: set minimum sphinx version to 1.0. Needed for
the sphinx.ext.viewcode extension.
- docs/source/conf.py: drop minimum sphinx version requirement again,
@@ -49,7 +61,7 @@ python-x2go (0.5.99.1-0x2go1) UNRELEASED; urgency=medium
- %{sle_version} is not defined on TW, so use a %{suse_version} check
additionally to catch this variant.
- -- Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de> Fri, 22 Sep 2017 14:15:05 +0200
+ -- Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de> Thu, 06 Sep 2018 18:35:12 +0200
python-x2go (0.5.0.6-0x2go1) unstable; urgency=medium
Thank you Jahn!
Confirm your fix also works with x2goserver 4.1.0.2-0~1642~ubuntu16.04.1. I commented the BIG-REQUESTS line in /etc/x2go/x2goagent.options. Rebooted the session and QT apps are working again.
To fix the performance issues I also changed to XFCE instead of Openbox which improved performance significantly. I think Cairo-Dock was ultimately the issue but I'm happy with XFCE so moving on...
Dear $ALL,
since nobody has replied to the call for volunteers for the IT-Kongress
event (see
<https://www.mail-archive.com/x2go-project@lists.x2go.org/msg00278.html>),
and since we've lost a sponsor, compared to the previous years, it is
very likely that X2Go: The Gathering 2018 will have to take place at
Stuttgart's hackerspace "shackspace" (<https://shackspace.de/>) - "will
have to" meaning that we're out of suitable alternatives due to both
time/volunteer staff as well as financial constraints. Thus, there will
be no voting period regarding the location this year, we'll simply have
to pick the only option that seems to be left at the moment.
The last-resort fallback option would be Ulm's youth hostel (both as an
event location as well as for sleeping arrangements), but this would
mean groups of 4 people would have to share one room, as they do not
offer smaller rooms - which, judging from previous years' feedback, is
not a situation most of our participants would be happy with. This is
why we're not offering a poll with Stuttgart and Ulm as options.
For Stuttgart, we're looking at a hostel-like place that offers single
and double rooms, as well as at a hotel nearby, for people that prefer a
higher-quality sleeping arrangement. Details will be published on the
Wiki at <https://wiki.x2go.org/doku.php/events:x2go-gathering-2018> as
soon as the two sites have confirmed room availability and replied with
their booking cancellation terms.
Kind Regards,
Stefan Baur
(with my X2Go Event Planner hat on)
--
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243