On 7/4/24 3:00 PM, Ulrich Sibiller wrote:
he session suspend happens because of a long standing bug in x2go. To fix it you need to:
- install nxdialog on the server
- change one line in /usr/bin/x2gostartagent (or wherever it is located on your system) like this: -export NX_CLIENT="${X2GO_LIB_PATH}/x2gosuspend-agent" +export NX_CLIENT="/usr/bin/nxdialog"
This does not work with
export NX_CLIENT="/usr/bin/x2goclient"
I'm using arch linux. Where can I download nxdialog?
I don't know how arch handles nxdialog. On debian it is a separate package. However, it is only one file, you can find it here:https://github.com/ArcticaProject/nx-libs/tree/3.6.x/nxdialog/bin. It works with python2 and python3.
The dependencies (on debian) for python3 look like this:
Depends: python3, python3-gi, gir1.2-gtk-3.0, x11-xkb-utils,
You can check if nxdialog (or nx2goclient) works for this purpose like this: nxdialog --dialog ok -message hi --caption test x2goclient --dialog ok -message hi --caption test
Both should open a little requester with an ok button.
Uli
On Thu, Jul 4, 2024 at 3:14 PM sjomae <sjomae@mailbox.org> wrote:
On 7/4/24 3:00 PM, Ulrich Sibiller wrote:
he session suspend happens because of a long standing bug in x2go. To fix it you need to:
- install nxdialog on the server
- change one line in /usr/bin/x2gostartagent (or wherever it is located on your system) like this: -export NX_CLIENT="${X2GO_LIB_PATH}/x2gosuspend-agent" +export NX_CLIENT="/usr/bin/nxdialog"
This does not work with
export NX_CLIENT="/usr/bin/x2goclient"
I'm using arch linux. Where can I download nxdialog?
Hi,
On Do 04 Jul 2024 15:57:29 CEST, sjomae wrote:
This does not work with
export NX_CLIENT="/usr/bin/x2goclient" I just rebooted and it works actually. Not sure why restarting the
x2go service didn't do it, but ok.
but setting NX_CLIENT to /usr/bin/x2goclient is wrong. X2Go Client
does not know how to handle NX dialog requests.
You need to install nxdialog to /usr/bin on the X2Go Server and set
NX_CLIENT to /usr/bin/nxdialog during session startup (i.e. before
nxagent/x2goagent comes up:
https://gitlab.x2go.org/x2go/server/x2goserver/-/merge_requests/3
DAS-NETZWERKTEAM c\o Technik- und Ökologiezentrum Eckernförde Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde 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
On Fri, Jul 5, 2024 at 8:22 AM Mike Gabriel <mike.gabriel@das-netzwerkteam.de> wrote:
but setting NX_CLIENT to /usr/bin/x2goclient is wrong. X2Go Client does not know how to handle NX dialog requests.
Yes it does: try x2goclient --dialog ok --message something --caption something_else
Uli