From unknown Fri Mar 29 08:24:31 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1584: pyhoca-cli cannot launch XDMCP session Reply-To: Eric Monson , 1584@bugs.x2go.org Resent-From: Eric Monson Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Thu, 03 Mar 2022 20:20:01 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: report 1584 X-X2Go-PR-Package: pyhoca-cli X-X2Go-PR-Keywords: Received: via spool by submit@bugs.x2go.org id=B.16463386828772 (code B); Thu, 03 Mar 2022 20:20:01 +0000 Received: (at submit) by bugs.x2go.org; 3 Mar 2022 20:18:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id A26495DA96 for ; Thu, 3 Mar 2022 21:17:57 +0100 (CET) Received: by mail-lj1-x22c.google.com with SMTP id 29so8253642ljv.10 for ; Thu, 03 Mar 2022 12:17:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=eqZupbyw1i1zixlyN+KrQq0gwsYKl+Xu9XTO3SNuGTo=; b=QUHFZTrrGVxtzqTZSu9seLLQizo7pWcGEqDK6WWDS3098l/ayBd4pHTSyOV6zMqfxa kI3uLU7KrI5SEooSp5xP1tpr6LZNfDWE90eGHZk/XxTHyCBjxxg1XgLFgSYz6nNW70nf Ey5odQ2r52hgkse6vWTMVf4jzqCl/DVGThXNBbRFXQYotgBVjoIvSY8wJQqyvXS6p1Qp coPDDMRyjgjU6xvfiSvIyeUp0wZDioplukanbMLFCCVCNEwljqeFe4ZoHZhrcSrPlGkK jQrPwTWCmKCyT8BitlHaqwLqDBT26vifrxt52OMh2CaNk+VlDCDWevIuSE05iprAE96F djmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=eqZupbyw1i1zixlyN+KrQq0gwsYKl+Xu9XTO3SNuGTo=; b=7gWP+7Y7wOYAQEGq5vtbC9o6vY4uJCaseCUPUE/mTCg0gplaOxFN0tdPH7hVUuIv7C azIQiT0pnDSzp1uozYa6/pYf1rie0SxF2yqsJsIL4aJMmpnJ+/VOC8AbuPOz985faG4h 9Xy7yHzjlpC+TuiUb6ioG/Vy0uI0nvMGsfnA0eFxm1AbBQJgSAz26T3DnErp2NqHnPe/ eOlaV6inBNWNxwhpxM3WzSS1nLPAoyYtxLlQmjDrMu6tK0HlnjcWAAEh4kU1rHaEdo0a aPuziECyjV+B52V/H9yh+/6dHs/3eGVjtKoDwmVMkx10W6EEb/DN2W0Ycl7F7DxpWqMr WK0A== X-Gm-Message-State: AOAM531zpPz8+D4rZmZzoN3fu4Vo32poT8SVcyhN1paidcEECA/SC/Bv aMcuWJxM/RzsIdsP1wtFnllg0RjKoPMjX/f733uQuSmLFw== X-Google-Smtp-Source: ABdhPJxZPwlV5RrwIc+47T2L7rlAH4tVHnQDqz5vrprjG6YPsqkulMEu+V7TCP2eM1ll9uO/3VqOSOria3hrhqHXDyY= X-Received: by 2002:a2e:8017:0:b0:246:3fb3:1618 with SMTP id j23-20020a2e8017000000b002463fb31618mr25111244ljg.427.1646338676532; Thu, 03 Mar 2022 12:17:56 -0800 (PST) MIME-Version: 1.0 From: Eric Monson Date: Thu, 3 Mar 2022 13:17:45 -0700 Message-ID: To: submit@bugs.x2go.org Content-Type: multipart/alternative; boundary="000000000000feab9f05d95617a4" --000000000000feab9f05d95617a4 Content-Type: text/plain; charset="UTF-8" Package: pyhoca-cli Version: 0.4.0.3 I'm attempting to launch an XDMCP session that is suspendable and transferable from one workstation to another. My setup has two workstations each of which can connect to a "session-server", which in turn does an xdmcp query to a host I'll call "xserver". Note that the xserver in this setup is an old solaris machine that runs X, but doesn't have the x2go server packages installed. Here's my ascii diagram of what I tried to convey above: workstation1/workstation2 (x2goclient, pyhoca-gui and pyhoca-cli installed) -> session-server (x2goserver installed) -> xserver (xdmcp enabled) I set up a session using "pyhoca-gui", which results in the following: ------------------------------ [20220303170339880609] user = username defsndport = 1 sshproxyautologin = 1 forwardsshagent = 0 useiconv = 0 iconvfrom = UTF-8 height = 600 uniquehostkeyaliases = 0 directrdp = 0 sshproxysameuser = 0 sshproxysamepass = 0 quality = 9 maxdim = 0 fullscreen = 0 sessiontitle = layout = us useexports = 0 sshproxytype = SSH width = 800 speed = 4 xdmcpserver = xserver sshproxyuser = rdpoptions = -u X2GO_USER -p X2GO_PASSWORD soundsystem = pulse clipboard = both autostart = 0 print = 0 type = pc105/us setsessiontitle = 0 sndport = 4713 usesshproxy = 0 usemimebox = 0 xinerama = 0 usekbd = 1 variant = autologin = 1 sshproxykeyfile = sshproxyport = 22 applications = TERMINAL, WWWBROWSER, MAILCLIENT, OFFICE host = session-server display = 1 mimeboxextensions = multidisp = 0 key = directrdpsettings = fstunnel = 1 icon = :icons/128x128/x2gosession.png sound = 0 autoconnect = 0 rootless = 0 mimeboxaction = OPEN name = pyhoca-xdmcp rdpport = 3389 iconvto = UTF-8 rdpserver = restoreexports = 0 soundtunnel = 1 sshproxyhost = proxyhost.mydomain rdpclient = rdesktop command = XDMCP startsoundsystem = 0 published = 0 sshport = 22 export = setdpi = 0 krblogin = 0 dpi = 96 pack = 16m-jpeg ------------------------------ When I use x2goclient, I'm able to launch the session, suspend the session, and transfer the session between workstations as expected. When I use pyhoca-cli to create the session, I get the following results: % pyhoca-cli --server session-server -N -P pyhoca-xdmcp pyhoca-cli[16544] NOTICE: preparing requested X2Go session pyhoca-cli[16544] (PyHocaCLI) NOTICE: preparing requested X2Go session pyhoca-cli[16544] (x2gosessregistry-pylib) NOTICE: registering X2Go session pyhoca-xdmcp... pyhoca-cli[16544] (x2goclient-pylib) NOTICE: initializing X2Go session... pyhoca-cli[16544] (x2gocontrolsession-pylib) NOTICE: connecting to [session-server]:22 pyhoca-cli[16544] (x2goterminalsession-pylib) WARN: XDMCP pyhoca-cli[16544] (x2goclient-pylib) WARN: HOOK_no_such_command: the command XDMCP is not available for X2Go server (profile: pyhoca-xdmcp, session: ) pyhoca-cli[16544] (x2goclient-pylib) WARN: HOOK_session_startup_failed: session startup for session profile ,,pyhoca-xdmcp failed. pyhoca-cli[16544] (PyHocaCLI) NOTICE: give the X2Go session some time to come up... I'll note here that this also doesn't work with pyhoca-gui (I'm sure I'm supposed to write this up separately, but I think it's useful to have all this information together in one place): % pyhoca-gui /usr/lib/python2.7/site-packages/pyhoca/wxgui/notify.py:27: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded. from gi.repository import Notify as _Notify pyhoca-gui[16667] (PyHoca-GUI) WARN: the current release of PyHoca-GUI does not support client configuration pyhoca-gui[16667] (x2gosessregistry-pylib) NOTICE: registering X2Go session pyhoca-xdmcp... pyhoca-gui[16667] (x2goclient-pylib) NOTICE: initializing X2Go session... pyhoca-gui[16667] (x2gocontrolsession-pylib) NOTICE: connecting to [session-server]:22 pyhoca-gui[16667] (PyHoca-GUI) NOTICE: [pyhoca-xdmcp - connect] SSH key authentication has been successful. pyhoca-gui[16667] (x2gosessregistry-pylib) NOTICE: using already initially-registered yet-unused session 0e8c5ce6-9b16-11ec-9567-1866dafa946c pyhoca-gui[16667] (x2goclient-pylib) NOTICE: initializing X2Go session... pyhoca-gui[16667] (x2goterminalsession-pylib) WARN: XDMCP pyhoca-gui[16667] (PyHoca-GUI) NOTICE: [pyhoca-xdmcp - session failure] The command ,,XDMCP'' is not available on X2Go server . pyhoca-gui[16667] (PyHoca-GUI) NOTICE: [pyhoca-xdmcp - session failure] The session startup failed. Finally, I will note that if the session is created by x2goclient, then suspended, both pyhoca-gui and pyhoca-cli can successfully resume the session created by the x2goclient. Here are the versions I'm running: pyhoca-cli --version pyhoca-cli[13520] - an X2Go command line client written in Python ---------------------------------------------------------------------- developed by Mike Gabriel VERSION: 0.4.0.3 pyhoca-gui --version /usr/lib/python2.7/site-packages/pyhoca/wxgui/notify.py:27: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded. from gi.repository import Notify as _Notify pyhoca-gui[17078] - an X2Go GUI client written in Python ---------------------------------------------------------------------- developed by Mike Gabriel sponsored by Dick Kniep (2010-2016) VERSION: 0.5.0.5 --000000000000feab9f05d95617a4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Package: pyhoca-cli
Version: 0.4.0.3

I'm attempting to launch an XDMCP session that i= s suspendable and transferable from one workstation to another. My setup ha= s two workstations each of which can connect to a "session-server"= ;, which in turn does=C2=A0an xdmcp query to a host I'll call "xse= rver". Note that the xserver in this setup is an old solaris machine t= hat runs X, but doesn't have the x2go server packages installed.
<= div>
Here's my ascii diagram of what I tried to convey ab= ove:
workstation1/workstation2 (x2goclient, pyhoca-gui and pyhoca= -cli installed)=C2=A0 ->=C2=A0 =C2=A0session-server (x2goserver installe= d)=C2=A0 ->=C2=A0 xserver (xdmcp enabled)

I set= up a session using "pyhoca-gui", which results in the following:=

------------------------------
[202= 20303170339880609]
user =3D username
defsndport =3D 1
sshproxyauto= login =3D 1
forwardsshagent =3D 0
useiconv =3D 0
iconvfrom =3D UTF= -8
height =3D 600
uniquehostkeyaliases =3D 0
directrdp =3D 0
ss= hproxysameuser =3D 0
sshproxysamepass =3D 0
quality =3D 9
maxdim = =3D 0
fullscreen =3D 0
sessiontitle =3D
layout =3D us
useexport= s =3D 0
sshproxytype =3D SSH
width =3D 800
speed =3D 4
xdmcpser= ver =3D xserver
sshproxyuser =3D
rdpoptions =3D -u X2GO_USER -p X2GO_= PASSWORD
soundsystem =3D pulse
clipboard =3D both
autostart =3D 0<= br>print =3D 0
type =3D pc105/us
setsessiontitle =3D 0
sndport =3D= 4713
usesshproxy =3D 0
usemimebox =3D 0
xinerama =3D 0
usekbd = =3D 1
variant =3D
autologin =3D 1
sshproxykeyfile =3D
sshproxyp= ort =3D 22
applications =3D TERMINAL, WWWBROWSER, MAILCLIENT, OFFICE
= host =3D session-server
display =3D 1
mimeboxextensions =3D
multid= isp =3D 0
key =3D
directrdpsettings =3D
fstunnel =3D 1
icon =3D= :icons/128x128/x2gosession.png
sound =3D 0
autoconnect =3D 0
root= less =3D 0
mimeboxaction =3D OPEN
name =3D pyhoca-xdmcp
rdpport = =3D 3389
iconvto =3D UTF-8
rdpserver =3D
restoreexports =3D 0
s= oundtunnel =3D 1
sshproxyhost =3D proxyhost.mydomain
rdpclient =3D rd= esktop
command =3D XDMCP
startsoundsystem =3D 0
published =3D 0sshport =3D 22
export =3D
setdpi =3D 0
krblogin =3D 0
dpi =3D = 96
pack =3D 16m-jpeg
------------------------------
<= div>
When I use x2goclient, I'm able to launch the sessio= n, suspend the session, and transfer the session between workstations as ex= pected.

When I use pyhoca-cli to create the sessio= n, I get the following results:

% pyhoca-cli --ser= ver session-server -N -P pyhoca-xdmcp
pyhoca-cli[16544] NOTICE: preparin= g requested X2Go session
pyhoca-cli[16544] (PyHocaCLI) NOTICE: preparing= requested X2Go session
pyhoca-cli[16544] (x2gosessregistry-pylib) NOTIC= E: registering X2Go session pyhoca-xdmcp...
pyhoca-cli[16544] (x2goclien= t-pylib) NOTICE: initializing X2Go session...
pyhoca-cli[16544] (x2gocon= trolsession-pylib) NOTICE: connecting to [session-server]:22
pyhoca-cli[= 16544] (x2goterminalsession-pylib) WARN: XDMCP
pyhoca-cli[16544] (x2gocl= ient-pylib) WARN: HOOK_no_such_command: the command XDMCP is not available = for X2Go server (profile: pyhoca-xdmcp, session: )
pyhoca-cli[16544] (x2= goclient-pylib) WARN: HOOK_session_startup_failed: session startup for sess= ion profile ,,pyhoca-xdmcp failed.
pyhoca-cli[16544] (PyHocaCLI) NOTICE:= give the X2Go session some time to come up...


I'll note here that this also doesn't work with pyh= oca-gui (I'm sure I'm supposed to write this up separately, but I t= hink it's useful to have all this information together in one place):

% pyhoca-gui
/usr/lib/python2.7/site-packages/py= hoca/wxgui/notify.py:27: PyGIWarning: Notify was imported without specifyin= g a version first. Use gi.require_version('Notify', '0.7') = before import to ensure that the right version gets loaded.
=C2=A0 from = gi.repository import Notify as _Notify
pyhoca-gui[16667] (PyHoca-GUI) WA= RN: the current release of PyHoca-GUI does not support client configuration=
pyhoca-gui[16667] (x2gosessregistry-pylib) NOTICE: registering X2Go ses= sion pyhoca-xdmcp...
pyhoca-gui[16667] (x2goclient-pylib) NOTICE: initia= lizing X2Go session...
pyhoca-gui[16667] (x2gocontrolsession-pylib) NOTI= CE: connecting to [session-server]:22
pyhoca-gui[16667] (PyHoca-GUI) NOT= ICE: [pyhoca-xdmcp - connect] SSH key authentication has been successful.pyhoca-gui[16667] (x2gosessregistry-pylib) NOTICE: using already initiall= y-registered yet-unused session 0e8c5ce6-9b16-11ec-9567-1866dafa946c
pyh= oca-gui[16667] (x2goclient-pylib) NOTICE: initializing X2Go session...
p= yhoca-gui[16667] (x2goterminalsession-pylib) WARN: XDMCP
pyhoca-gui[1666= 7] (PyHoca-GUI) NOTICE: [pyhoca-xdmcp - session failure] The command ,,XDMC= P'' is not available on X2Go server .
pyhoca-gui[16667] (PyHoca-= GUI) NOTICE: [pyhoca-xdmcp - session failure] The session startup failed.


Finally, I will note that if the= session is created by x2goclient, then suspended, both pyhoca-gui and pyho= ca-cli can successfully resume the session created by the x2goclient.
=


Here are the versions I'm running:


pyhoca-cli --version

pyhoca-cli[13= 520] - an X2Go command line client written in Python
-------------------= ---------------------------------------------------
developed by Mike Ga= briel <m.gabriel@das-netzwerkteam.de>

VERSION: 0.4.0.3




pyh= oca-gui --version
/usr/lib/python2.7/site-packages/pyhoca/wxgui/notify.p= y:27: PyGIWarning: Notify was imported without specifying a version first. = Use gi.require_version('Notify', '0.7') before import to en= sure that the right version gets loaded.
=C2=A0 from gi.repository impor= t Notify as _Notify

pyhoca-gui[17078] - an X2Go GUI client written i= n Python
---------------------------------------------------------------= -------
developed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>= ;
sponsored by Dick Kniep <dick.kniep@lindix.nl> (2010-2016)

VERSION: 0.= 5.0.5
--000000000000feab9f05d95617a4-- From unknown Fri Mar 29 08:24:31 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1584: Closing... Reply-To: Mike Gabriel , 1584@bugs.x2go.org Resent-From: Mike Gabriel Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Mon, 15 Jan 2024 20:50:03 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 1584 X-X2Go-PR-Package: pyhoca-cli X-X2Go-PR-Keywords: References: Received: via spool by 1584-submit@bugs.x2go.org id=B1584.17053515825832 (code B ref 1584); Mon, 15 Jan 2024 20:50:03 +0000 Received: (at 1584) by bugs.x2go.org; 15 Jan 2024 20:46:22 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from fregna.das-netzwerkteam.de (fregna.das-netzwerkteam.de [148.251.53.130]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 4D14A5DAD6 for <1584@bugs.x2go.org>; Mon, 15 Jan 2024 21:46:19 +0100 (CET) Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [IPv6:2a01:4f8:202:1381::105]) by fregna.das-netzwerkteam.de (Postfix) with ESMTPS id 3999660153 for <1584@bugs.x2go.org>; Mon, 15 Jan 2024 20:46:19 +0000 (UTC) Received: from das-netzwerkteam.de (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 1B98FC059B for <1584@bugs.x2go.org>; Mon, 15 Jan 2024 21:46:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=das-netzwerkteam.de; s=dkim; t=1705351579; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=Ghb3JQPAlM4Mhj8IlkpXZFUVU2wUw8Pd4IO62xtiZjc=; b=qLQzqPuHTd3KzN2SlbHWxx/KnSYTwKSumw2hCNORHO18oAX7IiLsT0fKNe6vvl7FDXVrmI b+erMTnFyxJyoZNA5LELoxUZAH8iWOAT5rEt2P/oOBOVOuRHiayLV4Zqdq3WBDsxPuMC4j YST5a14GMM99uOLYdfym+Ct4nWRbkVwodcHaUfXRPFeSupzt1xW7I5kM/EsABjuN4gDKyC q1t5XAVS/giaHULYpiB8IVC/AC4Uur+vU374EGQLyr1U+J4mrpgqofifDRwJO8LRPFAsFN L2LgX8q9zlLKeq2BaN5u0n+he6l7dDFodjPJoM7Cvr4JMxMYSn/RB4+ePU9coS6L7+2eeu GEcyH+V3XCAZ5OLBJNNGc5KICV9tPt0JpIEQHx9l+6+LyiA6DO0L/a2woNn5OF58knVexp JPTGUh4QaG2xxfBwjFtdAWoMZWBPXicXBgSZnZd2YtoPACQiTEbNT6MKCWicCsABowIkK2 CSoYTmvDBGLQzkHZQC6qlRkz/VyzqEaMpvIGOf1kjLcyd7QTnHgnE7K4Miu7SBS3Gl2Iby sN+4qcrUKsQspDxmm8WDIfKDXuBUQ3blWKr2qVS3CdwLiw9yPk8mrGNi0bOUxYtJOYPLpN wALOKqT0duNmondfWL70pWDtEJMn3kc2fw0z2lae2R7Fr8k+Xdbqk= Received: from [153.92.39.241] ([153.92.39.241]) by mail.das-netzwerkteam.de (Horde Framework) with HTTPS; Mon, 15 Jan 2024 20:46:19 +0000 Date: Mon, 15 Jan 2024 20:46:19 +0000 Message-ID: <20240115204619.Horde.2TJPd_L6gsAz3Apu2EU9aLK@mail.das-netzwerkteam.de> From: Mike Gabriel To: 1584@bugs.x2go.org User-Agent: Horde Application Framework 5 Accept-Language: de,en Organization: DAS-NETZWERKTEAM X-Originating-IP: 153.92.39.241 X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Content-Type: multipart/signed; boundary="=_8VPgQMA7f9lbXoO9D_hoh0L"; protocol="application/pgp-signature"; micalg=pgp-sha512 MIME-Version: 1.0 This message is in MIME format and has been PGP signed. --=_8VPgQMA7f9lbXoO9D_hoh0L Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Control: close -1 Issue continued at=20=20 https://gitlab.x2go.org/x2go/client/libs/python-x2go/-/issues/7 --=20 DAS-NETZWERKTEAM c\o Technik- und =C3=96kologiezentrum Eckernf=C3=B6rde Mike Gabriel, Marienthaler Str. 17, 24340 Eckernf=C3=B6rde mobile: +49 (1520) 1976 148 landline: +49 (4351) 850 8940 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de --=_8VPgQMA7f9lbXoO9D_hoh0L Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIzBAABCgAdFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmWlmZkACgkQmvRrMCV3 GzGAYA//ab3hJITTF3gfx8N+YqiPzM27PNtju4wwugHu6tNiFPJ9+v4UAcnT2JCD wL2vVCyG6rs7/qb8cs0b6EhIef0ri8JCRYNjxGvy+ZyIi0P6lfbHcMpsse5V/tuc o3U3fLwY9zNEtXNGk6SAgKJY3CSYqt1xT7chj0WsWm8lgRbQS2dPbvCMDdN78vNa Lu0XJLsSD8glBMHS+P4ji7csmDNKtw0s0A+Qy6l/zmErfNM+K8vZfoEZVTPbf0Gd /m/Fslx5JXdKpYFmmGK+s+PDz6gxE1+3+sSRaxA3EFHWpEOf13zLxmfI1kRbebW9 fObcWSAcWBOfUdsDuNHDE6iVtk8q4KQrJ7Ossy4tfkNF0YUtGbCPIEwqR/rIEjBS C1baPw6taCuL75t9GdPonT/QJCNQvZ2yIosRs1S9FYjt4VYATTdpbrOqrxfToIhZ XqcZyExpRX40vvy9BKYd5Qa6gJXO/xEt0p1OSegGZ2yr/bRALlpzM+2DABSJ+l2Q zSK+Qbq4uCel8IDYRQryD15nT4SCRp5tOSjmJuYnVEH4L/WBV0SeP8voCvz49RdK rLq9EuKXM2DeUdahhwauD/b4AcRSPYI5BKRBut/5ICVHmH6/AqVtkuxV27qajaUE D8XeRPDV88Za5nOoTeOcfpZxQ/xrk01ewfxmxVebXsRP9g2an5o= =1VQO -----END PGP SIGNATURE----- --=_8VPgQMA7f9lbXoO9D_hoh0L-- From unknown Fri Mar 29 08:24:31 2024 MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) X-Loop: owner@bugs.x2go.org From: owner@bugs.x2go.org (X2Go Bug Tracking System) Subject: Bug#1584 closed by Mike Gabriel (Closing...) Message-ID: References: <20240115204619.Horde.2TJPd_L6gsAz3Apu2EU9aLK@mail.das-netzwerkteam.de> X-X2go-PR-Message: they-closed 1584 X-X2go-PR-Package: pyhoca-cli X-X2go-PR-Source: pyhoca-cli Date: Mon, 15 Jan 2024 20:50:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1705351803-6813-0" This is a multi-part message in MIME format... ------------=_1705351803-6813-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 This is an automatic notification regarding your Bug report which was filed against the pyhoca-cli package: #1584: pyhoca-cli cannot launch XDMCP session It has been closed by Mike Gabriel . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Mike Gabriel by replying to this email. --=20 1584: https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=3D1584 X2Go Bug Tracking System Contact owner@bugs.x2go.org with problems ------------=_1705351803-6813-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1584) by bugs.x2go.org; 15 Jan 2024 20:46:22 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from fregna.das-netzwerkteam.de (fregna.das-netzwerkteam.de [148.251.53.130]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 4D14A5DAD6 for <1584@bugs.x2go.org>; Mon, 15 Jan 2024 21:46:19 +0100 (CET) Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [IPv6:2a01:4f8:202:1381::105]) by fregna.das-netzwerkteam.de (Postfix) with ESMTPS id 3999660153 for <1584@bugs.x2go.org>; Mon, 15 Jan 2024 20:46:19 +0000 (UTC) Received: from das-netzwerkteam.de (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 1B98FC059B for <1584@bugs.x2go.org>; Mon, 15 Jan 2024 21:46:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=das-netzwerkteam.de; s=dkim; t=1705351579; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=Ghb3JQPAlM4Mhj8IlkpXZFUVU2wUw8Pd4IO62xtiZjc=; b=qLQzqPuHTd3KzN2SlbHWxx/KnSYTwKSumw2hCNORHO18oAX7IiLsT0fKNe6vvl7FDXVrmI b+erMTnFyxJyoZNA5LELoxUZAH8iWOAT5rEt2P/oOBOVOuRHiayLV4Zqdq3WBDsxPuMC4j YST5a14GMM99uOLYdfym+Ct4nWRbkVwodcHaUfXRPFeSupzt1xW7I5kM/EsABjuN4gDKyC q1t5XAVS/giaHULYpiB8IVC/AC4Uur+vU374EGQLyr1U+J4mrpgqofifDRwJO8LRPFAsFN L2LgX8q9zlLKeq2BaN5u0n+he6l7dDFodjPJoM7Cvr4JMxMYSn/RB4+ePU9coS6L7+2eeu GEcyH+V3XCAZ5OLBJNNGc5KICV9tPt0JpIEQHx9l+6+LyiA6DO0L/a2woNn5OF58knVexp JPTGUh4QaG2xxfBwjFtdAWoMZWBPXicXBgSZnZd2YtoPACQiTEbNT6MKCWicCsABowIkK2 CSoYTmvDBGLQzkHZQC6qlRkz/VyzqEaMpvIGOf1kjLcyd7QTnHgnE7K4Miu7SBS3Gl2Iby sN+4qcrUKsQspDxmm8WDIfKDXuBUQ3blWKr2qVS3CdwLiw9yPk8mrGNi0bOUxYtJOYPLpN wALOKqT0duNmondfWL70pWDtEJMn3kc2fw0z2lae2R7Fr8k+Xdbqk= Received: from [153.92.39.241] ([153.92.39.241]) by mail.das-netzwerkteam.de (Horde Framework) with HTTPS; Mon, 15 Jan 2024 20:46:19 +0000 Date: Mon, 15 Jan 2024 20:46:19 +0000 Message-ID: <20240115204619.Horde.2TJPd_L6gsAz3Apu2EU9aLK@mail.das-netzwerkteam.de> From: Mike Gabriel To: 1584@bugs.x2go.org Subject: Closing... User-Agent: Horde Application Framework 5 Accept-Language: de,en Organization: DAS-NETZWERKTEAM X-Originating-IP: 153.92.39.241 X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Content-Type: multipart/signed; boundary="=_8VPgQMA7f9lbXoO9D_hoh0L"; protocol="application/pgp-signature"; micalg=pgp-sha512 MIME-Version: 1.0 This message is in MIME format and has been PGP signed. --=_8VPgQMA7f9lbXoO9D_hoh0L Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Control: close -1 Issue continued at=20=20 https://gitlab.x2go.org/x2go/client/libs/python-x2go/-/issues/7 --=20 DAS-NETZWERKTEAM c\o Technik- und =C3=96kologiezentrum Eckernf=C3=B6rde Mike Gabriel, Marienthaler Str. 17, 24340 Eckernf=C3=B6rde mobile: +49 (1520) 1976 148 landline: +49 (4351) 850 8940 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de --=_8VPgQMA7f9lbXoO9D_hoh0L Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIzBAABCgAdFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmWlmZkACgkQmvRrMCV3 GzGAYA//ab3hJITTF3gfx8N+YqiPzM27PNtju4wwugHu6tNiFPJ9+v4UAcnT2JCD wL2vVCyG6rs7/qb8cs0b6EhIef0ri8JCRYNjxGvy+ZyIi0P6lfbHcMpsse5V/tuc o3U3fLwY9zNEtXNGk6SAgKJY3CSYqt1xT7chj0WsWm8lgRbQS2dPbvCMDdN78vNa Lu0XJLsSD8glBMHS+P4ji7csmDNKtw0s0A+Qy6l/zmErfNM+K8vZfoEZVTPbf0Gd /m/Fslx5JXdKpYFmmGK+s+PDz6gxE1+3+sSRaxA3EFHWpEOf13zLxmfI1kRbebW9 fObcWSAcWBOfUdsDuNHDE6iVtk8q4KQrJ7Ossy4tfkNF0YUtGbCPIEwqR/rIEjBS C1baPw6taCuL75t9GdPonT/QJCNQvZ2yIosRs1S9FYjt4VYATTdpbrOqrxfToIhZ XqcZyExpRX40vvy9BKYd5Qa6gJXO/xEt0p1OSegGZ2yr/bRALlpzM+2DABSJ+l2Q zSK+Qbq4uCel8IDYRQryD15nT4SCRp5tOSjmJuYnVEH4L/WBV0SeP8voCvz49RdK rLq9EuKXM2DeUdahhwauD/b4AcRSPYI5BKRBut/5ICVHmH6/AqVtkuxV27qajaUE D8XeRPDV88Za5nOoTeOcfpZxQ/xrk01ewfxmxVebXsRP9g2an5o= =1VQO -----END PGP SIGNATURE----- --=_8VPgQMA7f9lbXoO9D_hoh0L-- ------------=_1705351803-6813-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.x2go.org; 3 Mar 2022 20:18:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id A26495DA96 for ; Thu, 3 Mar 2022 21:17:57 +0100 (CET) Received: by mail-lj1-x22c.google.com with SMTP id 29so8253642ljv.10 for ; Thu, 03 Mar 2022 12:17:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=eqZupbyw1i1zixlyN+KrQq0gwsYKl+Xu9XTO3SNuGTo=; b=QUHFZTrrGVxtzqTZSu9seLLQizo7pWcGEqDK6WWDS3098l/ayBd4pHTSyOV6zMqfxa kI3uLU7KrI5SEooSp5xP1tpr6LZNfDWE90eGHZk/XxTHyCBjxxg1XgLFgSYz6nNW70nf Ey5odQ2r52hgkse6vWTMVf4jzqCl/DVGThXNBbRFXQYotgBVjoIvSY8wJQqyvXS6p1Qp coPDDMRyjgjU6xvfiSvIyeUp0wZDioplukanbMLFCCVCNEwljqeFe4ZoHZhrcSrPlGkK jQrPwTWCmKCyT8BitlHaqwLqDBT26vifrxt52OMh2CaNk+VlDCDWevIuSE05iprAE96F djmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=eqZupbyw1i1zixlyN+KrQq0gwsYKl+Xu9XTO3SNuGTo=; b=7gWP+7Y7wOYAQEGq5vtbC9o6vY4uJCaseCUPUE/mTCg0gplaOxFN0tdPH7hVUuIv7C azIQiT0pnDSzp1uozYa6/pYf1rie0SxF2yqsJsIL4aJMmpnJ+/VOC8AbuPOz985faG4h 9Xy7yHzjlpC+TuiUb6ioG/Vy0uI0nvMGsfnA0eFxm1AbBQJgSAz26T3DnErp2NqHnPe/ eOlaV6inBNWNxwhpxM3WzSS1nLPAoyYtxLlQmjDrMu6tK0HlnjcWAAEh4kU1rHaEdo0a aPuziECyjV+B52V/H9yh+/6dHs/3eGVjtKoDwmVMkx10W6EEb/DN2W0Ycl7F7DxpWqMr WK0A== X-Gm-Message-State: AOAM531zpPz8+D4rZmZzoN3fu4Vo32poT8SVcyhN1paidcEECA/SC/Bv aMcuWJxM/RzsIdsP1wtFnllg0RjKoPMjX/f733uQuSmLFw== X-Google-Smtp-Source: ABdhPJxZPwlV5RrwIc+47T2L7rlAH4tVHnQDqz5vrprjG6YPsqkulMEu+V7TCP2eM1ll9uO/3VqOSOria3hrhqHXDyY= X-Received: by 2002:a2e:8017:0:b0:246:3fb3:1618 with SMTP id j23-20020a2e8017000000b002463fb31618mr25111244ljg.427.1646338676532; Thu, 03 Mar 2022 12:17:56 -0800 (PST) MIME-Version: 1.0 From: Eric Monson Date: Thu, 3 Mar 2022 13:17:45 -0700 Message-ID: Subject: pyhoca-cli cannot launch XDMCP session To: submit@bugs.x2go.org Content-Type: multipart/alternative; boundary="000000000000feab9f05d95617a4" --000000000000feab9f05d95617a4 Content-Type: text/plain; charset="UTF-8" Package: pyhoca-cli Version: 0.4.0.3 I'm attempting to launch an XDMCP session that is suspendable and transferable from one workstation to another. My setup has two workstations each of which can connect to a "session-server", which in turn does an xdmcp query to a host I'll call "xserver". Note that the xserver in this setup is an old solaris machine that runs X, but doesn't have the x2go server packages installed. Here's my ascii diagram of what I tried to convey above: workstation1/workstation2 (x2goclient, pyhoca-gui and pyhoca-cli installed) -> session-server (x2goserver installed) -> xserver (xdmcp enabled) I set up a session using "pyhoca-gui", which results in the following: ------------------------------ [20220303170339880609] user = username defsndport = 1 sshproxyautologin = 1 forwardsshagent = 0 useiconv = 0 iconvfrom = UTF-8 height = 600 uniquehostkeyaliases = 0 directrdp = 0 sshproxysameuser = 0 sshproxysamepass = 0 quality = 9 maxdim = 0 fullscreen = 0 sessiontitle = layout = us useexports = 0 sshproxytype = SSH width = 800 speed = 4 xdmcpserver = xserver sshproxyuser = rdpoptions = -u X2GO_USER -p X2GO_PASSWORD soundsystem = pulse clipboard = both autostart = 0 print = 0 type = pc105/us setsessiontitle = 0 sndport = 4713 usesshproxy = 0 usemimebox = 0 xinerama = 0 usekbd = 1 variant = autologin = 1 sshproxykeyfile = sshproxyport = 22 applications = TERMINAL, WWWBROWSER, MAILCLIENT, OFFICE host = session-server display = 1 mimeboxextensions = multidisp = 0 key = directrdpsettings = fstunnel = 1 icon = :icons/128x128/x2gosession.png sound = 0 autoconnect = 0 rootless = 0 mimeboxaction = OPEN name = pyhoca-xdmcp rdpport = 3389 iconvto = UTF-8 rdpserver = restoreexports = 0 soundtunnel = 1 sshproxyhost = proxyhost.mydomain rdpclient = rdesktop command = XDMCP startsoundsystem = 0 published = 0 sshport = 22 export = setdpi = 0 krblogin = 0 dpi = 96 pack = 16m-jpeg ------------------------------ When I use x2goclient, I'm able to launch the session, suspend the session, and transfer the session between workstations as expected. When I use pyhoca-cli to create the session, I get the following results: % pyhoca-cli --server session-server -N -P pyhoca-xdmcp pyhoca-cli[16544] NOTICE: preparing requested X2Go session pyhoca-cli[16544] (PyHocaCLI) NOTICE: preparing requested X2Go session pyhoca-cli[16544] (x2gosessregistry-pylib) NOTICE: registering X2Go session pyhoca-xdmcp... pyhoca-cli[16544] (x2goclient-pylib) NOTICE: initializing X2Go session... pyhoca-cli[16544] (x2gocontrolsession-pylib) NOTICE: connecting to [session-server]:22 pyhoca-cli[16544] (x2goterminalsession-pylib) WARN: XDMCP pyhoca-cli[16544] (x2goclient-pylib) WARN: HOOK_no_such_command: the command XDMCP is not available for X2Go server (profile: pyhoca-xdmcp, session: ) pyhoca-cli[16544] (x2goclient-pylib) WARN: HOOK_session_startup_failed: session startup for session profile ,,pyhoca-xdmcp failed. pyhoca-cli[16544] (PyHocaCLI) NOTICE: give the X2Go session some time to come up... I'll note here that this also doesn't work with pyhoca-gui (I'm sure I'm supposed to write this up separately, but I think it's useful to have all this information together in one place): % pyhoca-gui /usr/lib/python2.7/site-packages/pyhoca/wxgui/notify.py:27: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded. from gi.repository import Notify as _Notify pyhoca-gui[16667] (PyHoca-GUI) WARN: the current release of PyHoca-GUI does not support client configuration pyhoca-gui[16667] (x2gosessregistry-pylib) NOTICE: registering X2Go session pyhoca-xdmcp... pyhoca-gui[16667] (x2goclient-pylib) NOTICE: initializing X2Go session... pyhoca-gui[16667] (x2gocontrolsession-pylib) NOTICE: connecting to [session-server]:22 pyhoca-gui[16667] (PyHoca-GUI) NOTICE: [pyhoca-xdmcp - connect] SSH key authentication has been successful. pyhoca-gui[16667] (x2gosessregistry-pylib) NOTICE: using already initially-registered yet-unused session 0e8c5ce6-9b16-11ec-9567-1866dafa946c pyhoca-gui[16667] (x2goclient-pylib) NOTICE: initializing X2Go session... pyhoca-gui[16667] (x2goterminalsession-pylib) WARN: XDMCP pyhoca-gui[16667] (PyHoca-GUI) NOTICE: [pyhoca-xdmcp - session failure] The command ,,XDMCP'' is not available on X2Go server . pyhoca-gui[16667] (PyHoca-GUI) NOTICE: [pyhoca-xdmcp - session failure] The session startup failed. Finally, I will note that if the session is created by x2goclient, then suspended, both pyhoca-gui and pyhoca-cli can successfully resume the session created by the x2goclient. Here are the versions I'm running: pyhoca-cli --version pyhoca-cli[13520] - an X2Go command line client written in Python ---------------------------------------------------------------------- developed by Mike Gabriel VERSION: 0.4.0.3 pyhoca-gui --version /usr/lib/python2.7/site-packages/pyhoca/wxgui/notify.py:27: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded. from gi.repository import Notify as _Notify pyhoca-gui[17078] - an X2Go GUI client written in Python ---------------------------------------------------------------------- developed by Mike Gabriel sponsored by Dick Kniep (2010-2016) VERSION: 0.5.0.5 --000000000000feab9f05d95617a4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Package: pyhoca-cli
Version: 0.4.0.3

I'm attempting to launch an XDMCP session that i= s suspendable and transferable from one workstation to another. My setup ha= s two workstations each of which can connect to a "session-server"= ;, which in turn does=C2=A0an xdmcp query to a host I'll call "xse= rver". Note that the xserver in this setup is an old solaris machine t= hat runs X, but doesn't have the x2go server packages installed.
<= div>
Here's my ascii diagram of what I tried to convey ab= ove:
workstation1/workstation2 (x2goclient, pyhoca-gui and pyhoca= -cli installed)=C2=A0 ->=C2=A0 =C2=A0session-server (x2goserver installe= d)=C2=A0 ->=C2=A0 xserver (xdmcp enabled)

I set= up a session using "pyhoca-gui", which results in the following:=

------------------------------
[202= 20303170339880609]
user =3D username
defsndport =3D 1
sshproxyauto= login =3D 1
forwardsshagent =3D 0
useiconv =3D 0
iconvfrom =3D UTF= -8
height =3D 600
uniquehostkeyaliases =3D 0
directrdp =3D 0
ss= hproxysameuser =3D 0
sshproxysamepass =3D 0
quality =3D 9
maxdim = =3D 0
fullscreen =3D 0
sessiontitle =3D
layout =3D us
useexport= s =3D 0
sshproxytype =3D SSH
width =3D 800
speed =3D 4
xdmcpser= ver =3D xserver
sshproxyuser =3D
rdpoptions =3D -u X2GO_USER -p X2GO_= PASSWORD
soundsystem =3D pulse
clipboard =3D both
autostart =3D 0<= br>print =3D 0
type =3D pc105/us
setsessiontitle =3D 0
sndport =3D= 4713
usesshproxy =3D 0
usemimebox =3D 0
xinerama =3D 0
usekbd = =3D 1
variant =3D
autologin =3D 1
sshproxykeyfile =3D
sshproxyp= ort =3D 22
applications =3D TERMINAL, WWWBROWSER, MAILCLIENT, OFFICE
= host =3D session-server
display =3D 1
mimeboxextensions =3D
multid= isp =3D 0
key =3D
directrdpsettings =3D
fstunnel =3D 1
icon =3D= :icons/128x128/x2gosession.png
sound =3D 0
autoconnect =3D 0
root= less =3D 0
mimeboxaction =3D OPEN
name =3D pyhoca-xdmcp
rdpport = =3D 3389
iconvto =3D UTF-8
rdpserver =3D
restoreexports =3D 0
s= oundtunnel =3D 1
sshproxyhost =3D proxyhost.mydomain
rdpclient =3D rd= esktop
command =3D XDMCP
startsoundsystem =3D 0
published =3D 0sshport =3D 22
export =3D
setdpi =3D 0
krblogin =3D 0
dpi =3D = 96
pack =3D 16m-jpeg
------------------------------
<= div>
When I use x2goclient, I'm able to launch the sessio= n, suspend the session, and transfer the session between workstations as ex= pected.

When I use pyhoca-cli to create the sessio= n, I get the following results:

% pyhoca-cli --ser= ver session-server -N -P pyhoca-xdmcp
pyhoca-cli[16544] NOTICE: preparin= g requested X2Go session
pyhoca-cli[16544] (PyHocaCLI) NOTICE: preparing= requested X2Go session
pyhoca-cli[16544] (x2gosessregistry-pylib) NOTIC= E: registering X2Go session pyhoca-xdmcp...
pyhoca-cli[16544] (x2goclien= t-pylib) NOTICE: initializing X2Go session...
pyhoca-cli[16544] (x2gocon= trolsession-pylib) NOTICE: connecting to [session-server]:22
pyhoca-cli[= 16544] (x2goterminalsession-pylib) WARN: XDMCP
pyhoca-cli[16544] (x2gocl= ient-pylib) WARN: HOOK_no_such_command: the command XDMCP is not available = for X2Go server (profile: pyhoca-xdmcp, session: )
pyhoca-cli[16544] (x2= goclient-pylib) WARN: HOOK_session_startup_failed: session startup for sess= ion profile ,,pyhoca-xdmcp failed.
pyhoca-cli[16544] (PyHocaCLI) NOTICE:= give the X2Go session some time to come up...


I'll note here that this also doesn't work with pyh= oca-gui (I'm sure I'm supposed to write this up separately, but I t= hink it's useful to have all this information together in one place):

% pyhoca-gui
/usr/lib/python2.7/site-packages/py= hoca/wxgui/notify.py:27: PyGIWarning: Notify was imported without specifyin= g a version first. Use gi.require_version('Notify', '0.7') = before import to ensure that the right version gets loaded.
=C2=A0 from = gi.repository import Notify as _Notify
pyhoca-gui[16667] (PyHoca-GUI) WA= RN: the current release of PyHoca-GUI does not support client configuration=
pyhoca-gui[16667] (x2gosessregistry-pylib) NOTICE: registering X2Go ses= sion pyhoca-xdmcp...
pyhoca-gui[16667] (x2goclient-pylib) NOTICE: initia= lizing X2Go session...
pyhoca-gui[16667] (x2gocontrolsession-pylib) NOTI= CE: connecting to [session-server]:22
pyhoca-gui[16667] (PyHoca-GUI) NOT= ICE: [pyhoca-xdmcp - connect] SSH key authentication has been successful.pyhoca-gui[16667] (x2gosessregistry-pylib) NOTICE: using already initiall= y-registered yet-unused session 0e8c5ce6-9b16-11ec-9567-1866dafa946c
pyh= oca-gui[16667] (x2goclient-pylib) NOTICE: initializing X2Go session...
p= yhoca-gui[16667] (x2goterminalsession-pylib) WARN: XDMCP
pyhoca-gui[1666= 7] (PyHoca-GUI) NOTICE: [pyhoca-xdmcp - session failure] The command ,,XDMC= P'' is not available on X2Go server .
pyhoca-gui[16667] (PyHoca-= GUI) NOTICE: [pyhoca-xdmcp - session failure] The session startup failed.


Finally, I will note that if the= session is created by x2goclient, then suspended, both pyhoca-gui and pyho= ca-cli can successfully resume the session created by the x2goclient.
=


Here are the versions I'm running:


pyhoca-cli --version

pyhoca-cli[13= 520] - an X2Go command line client written in Python
-------------------= ---------------------------------------------------
developed by Mike Ga= briel <m.gabriel@das-netzwerkteam.de>

VERSION: 0.4.0.3




pyh= oca-gui --version
/usr/lib/python2.7/site-packages/pyhoca/wxgui/notify.p= y:27: PyGIWarning: Notify was imported without specifying a version first. = Use gi.require_version('Notify', '0.7') before import to en= sure that the right version gets loaded.
=C2=A0 from gi.repository impor= t Notify as _Notify

pyhoca-gui[17078] - an X2Go GUI client written i= n Python
---------------------------------------------------------------= -------
developed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>= ;
sponsored by Dick Kniep <dick.kniep@lindix.nl> (2010-2016)

VERSION: 0.= 5.0.5
--000000000000feab9f05d95617a4-- ------------=_1705351803-6813-0--