Bug 31426 - [x2go server] x2goversion is broken
Summary: [x2go server] x2goversion is broken
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2023-01-18 15:07 CET by diaphane d.
Modified: 2023-02-27 21:28 CET (History)
6 users (show)

See Also:
Source RPM: x2goserver-4.1.0.3-1.1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description diaphane d. 2023-01-18 15:07:32 CET
Description of problem:

Since the fix of #27880, x2go server works pretty well out of the box, but the script x2goversion is broken.
This has an impact on clients checking for the presence of x2goserver on the server side (pyhoca-cli, pyhoca-gui...).

According to this comment https://www.mail-archive.com/x2go-dev@lists.x2go.org/msg05624.html , the patch https://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=c80103788eebe0445efc2cefb56b074231b76f39 should be used.


Version-Release number of selected component (if applicable):

x2goserver-4.1.0.3-1.1.mga8 (x2goserver-4.1.0.3-1.1.mga8.src.rpm)


Steps to Reproduce:
1. install x2goserver
2. run /usr/bin/x2goversion



Before applying the patch (server side):
$ /usr/bin/x2goversion
: 4.1.0.3
: 4.1.0.3
: 3.2.0.0
: 4.1.0.3
: 4.1.0.3
: 4.1.0.3
: 3.5.99.26
: 4.1.0.3



After applying the patch (server side):
$ /usr/bin/x2goversion
x2goserver: 4.1.0.3
x2goserver-common: 4.1.0.3
x2goserver-desktopsharing: 3.2.0.0
x2goserver-extensions: 4.1.0.3
x2goserver-fmbindings: 4.1.0.3
x2goserver-printing: 4.1.0.3
x2goserver-x2goagent: 3.5.99.26
x2goserver-xsession: 4.1.0.3



Before applying the patch (client side - see #30751 and #29627 to avoid crash):
$ pyhoca-cli --server myserv --list-desktops --user guest
pyhoca-cli[3699984] NOTICE: preparing requested X2Go session
pyhoca-cli[3699984] (PyHocaCLI) NOTICE: preparing requested X2Go session
pyhoca-cli[3699984] (x2gosessregistry-pylib) NOTICE: registering X2Go session Pyhoca-Client_Session...
pyhoca-cli[3699984] (x2goclient-pylib) NOTICE: initializing X2Go session...
pyhoca-cli[3699984] (x2gocontrolsession-pylib) NOTICE: connecting to [myserv]:22
pyhoca-cli[3699984] (PyHocaCLI) NOTICE: unlock SSH key file (None)
Passphrase: 
pyhoca-cli[3699984] (x2gocontrolsession-pylib) NOTICE: connecting to [myserv]:22
pyhoca-cli: error: the remote server does not have the X2Go Server software installed



After applying the patch (client side):
$ pyhoca-cli --server myserv --list-desktops --user guest
pyhoca-cli[3700502] NOTICE: preparing requested X2Go session
pyhoca-cli[3700502] (PyHocaCLI) NOTICE: preparing requested X2Go session
pyhoca-cli[3700502] (x2gosessregistry-pylib) NOTICE: registering X2Go session Pyhoca-Client_Session...
pyhoca-cli[3700502] (x2goclient-pylib) NOTICE: initializing X2Go session...
pyhoca-cli[3700502] (x2gocontrolsession-pylib) NOTICE: connecting to [myserv]:22
pyhoca-cli[3700502] (PyHocaCLI) NOTICE: unlock SSH key file (None)
Passphrase: 
pyhoca-cli[3700502] (x2gocontrolsession-pylib) NOTICE: connecting to [myserv]:22
pyhoca-cli[3700502] (PyHocaCLI) NOTICE: authentication has been successful

X2Go desktops available for sharing
===================================
Host: myserv - [10.0.1.10]:22
Username: guest

guest@:144
Comment 1 Jani Välimaa 2023-01-18 18:32:01 CET
Applied the patch. Please test x2goserver-4.1.0.3-1.2.mga8 from core/udpates_testing.

SRPMS
x2goserver-4.1.0.3-1.2.mga8

RPMS:
x2goserver-sqlite-4.1.0.3-1.2.mga8
x2goserver-postgresql-4.1.0.3-1.2.mga8
x2goserver-4.1.0.3-1.2.mga8

Blocks: (none) => 27880
Assignee: bugsquad => qa-bugs
CC: (none) => jani.valimaa

Jani Välimaa 2023-01-18 18:33:05 CET

Blocks: 27880 => (none)

Comment 2 diaphane d. 2023-01-18 20:14:52 CET
x2goserver-4.1.0.3-1.2.mga8 from core/udpates_testing is OK for me.

Thank you.
Comment 3 Herman Viaene 2023-01-20 15:17:57 CET
I looked at the older  updates to find a way to test this without spending time to study, but I couldn't get my head around it. Little explanation.
I'll look a little further, but I won't spend much time on it.

CC: (none) => herman.viaene

Comment 4 Brian Rockwell 2023-02-24 17:50:59 CET
MGA8-64, Xfce desktop


The following 17 packages are going to be installed:

- fuse3-3.10.1-1.mga8.x86_64
- lib64fuse3_3-3.10.1-1.mga8.x86_64
- lib64nxX11_6-3.5.99.26-1.1.mga8.x86_64
- lib64xcomp3-3.5.99.26-1.1.mga8.x86_64
- lib64xcompshad3-3.5.99.26-1.1.mga8.x86_64
- makepasswd-0.5.4-4.mga8.x86_64
- nxagent-3.5.99.26-1.1.mga8.x86_64
- nxproxy-3.5.99.26-1.1.mga8.x86_64
- openssh-server-8.4p1-2.2.mga8.x86_64
- perl-Config-Simple-4.590.0-9.mga8.noarch
- perl-DBD-SQLite-1.660.0-1.mga8.x86_64
- perl-DBI-1.643.0-4.1.mga8.x86_64
- perl-Switch-2.170.0-7.mga8.noarch
- sqlite3-tools-3.39.2-1.mga8.x86_64
- sshfs-fuse-3.7.1-1.mga8.x86_64
- x2goserver-4.1.0.3-1.2.mga8.x86_64
- x2goserver-sqlite-4.1.0.3-1.2.mga8.x86_64

--

Xfce host - note they say gnome doesn't work

Host Side (where x2go server is running)

Services:  enabled and started x2goserver
Firewall - opened ssh
user - added them to x2gouser and x2goprint groups

noted ip address of server

-- rebooted

on client side (installed x2go-client)

- set up connection (default resolution is way to low, I opted for fullscreen
- defined LAN since it is on a LAN
- it seemed to work (not as good as Windows RDP)


Approved

Whiteboard: (none) => MGA8-64-OK
CC: (none) => brtians1

Comment 5 Thomas Andrews 2023-02-25 17:34:17 CET
Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Dave Hodgins 2023-02-25 21:02:00 CET

Keywords: (none) => advisory
CC: (none) => davidwhodgins

Comment 6 Mageia Robot 2023-02-27 21:28:41 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2023-0019.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.