Hi,
The setup is reasonably simple. A network with Ubuntu 18.04 PCs (workstations, so to speak).
SSH connections between them work flawlessly.
But x2go refuses to work. At all. Whatever I do, I only get Segmentation fault (core dumped)
If I run x2goclient in the gdb debugger, it shows that it fails in
Thread 6 "SshMasterConnec" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffdf7fe700 (LWP 5778)] 0x00007ffff7b89eeb in ?? () from /usr/lib/x86_64-linux-gnu/libssh.so.4
Kees
Am 07.10.19 um 15:30 schrieb Kees Bakker:
My first question: is anyone using x2go successfully on Ubuntu 18.04 (client and remote)?
Yes. "Works for me."
Which repository are you using for X2Go and the NX-Libs? The main Ubuntu one, or the X2Go PPA?
Please post the output of
dpkg -l | egrep -i "x2go|nx"
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
Basically the standard Ubuntu packages. But on the client I tried PPA, which didn't help.
Interesting that it works for you. I'm suspecting SSH of some sorts. In that respect it may be worthwhile to mention that we have a FreeIPA environment, with Kerberos and things.
On the client (using PPA)
$ COLUMNS=120 dpkg -l | egrep -i "x2go|nx" ii libnx-x11-6:amd64 2:3.5.99.20-0~201 amd64 nxagent's libNX_X11 client-part library ii libx2go-log-perl 4.1.0.3-0~1708~ub all Perl X2Go::Log package ii libx2go-server-db-perl 4.1.0.3-0~1708~ub amd64 Perl X2Go::Server:DB package ii libx2go-server-perl 4.1.0.3-0~1708~ub all Perl X2Go::Server package ii libxcomp3:amd64 2:3.5.99.20-0~201 amd64 NX compression library ii libxcompshad3:amd64 2:3.5.99.20-0~201 amd64 NX shadowing library ii nx-x11-common 2:3.5.99.20-0~201 all nx-X11 (common files) ii nxagent 2:3.5.99.20-0~201 amd64 Nested Xserver (aka NX Agent) supporting the NX compr ii nxproxy 2:3.5.99.20-0~201 amd64 NX proxy ii pyhoca-gui 0.5.0.8-0~1358~ub all Graphical X2Go client written in (wx)Python ii python-x2go 0.6.0.2-0~1429~ub all Python module providing X2Go client API (Python 2) ii x2goclient 4.1.2.1-0~1788~ub amd64 X2Go Client application (Qt4) ii x2golxdebindings 1.0.2.4-0~70~ubun all LXDE bindings for X2Go ii x2gomatebindings 0.0.1.6-0~212~ubu amd64 X2Go MATE bindings and MIME types ii x2goserver 4.1.0.3-0~1708~ub amd64 X2Go server ii x2goserver-common 4.1.0.3-0~1708~ub amd64 X2Go Server (common files) ii x2goserver-extensions 4.1.0.3-0~1708~ub all X2Go Server (extension support) ii x2goserver-fmbindings 4.1.0.3-0~1708~ub all X2Go Server (file manager bindings) ii x2goserver-printing 4.1.0.3-0~1708~ub all X2Go server (printing support) ii x2goserver-x2goagent 4.1.0.3-0~1708~ub amd64 X2Go Server's X2Go Agent ii x2goserver-xsession 4.1.0.3-0~1708~ub all X2Go Server (Xsession runner)
$ cat /etc/apt/sources.list.d/x2go-ubuntu.list deb http://ppa.launchpad.net/x2go/stable/ubuntu bionic main # deb-src http://ppa.launchpad.net/x2go/stable/ubuntu bionic main
On the server
# COLUMNS=120 dpkg -l | egrep -i "x2go|nx" ii libnx-x11-6:amd64 2:3.5.99.16-1 amd64 nxagent's libNX_X11 client-part library ii libx2go-log-perl 4.1.0.0-3 all Perl X2Go::Log package ii libx2go-server-db-perl 4.1.0.0-3 amd64 Perl X2Go::Server:DB package ii libx2go-server-perl 4.1.0.0-3 all Perl X2Go::Server package ii libxcomp3:amd64 2:3.5.99.16-1 amd64 NX compression library ii libxcompshad3:amd64 2:3.5.99.16-1 amd64 NX shadowing library ii nx-x11-common 2:3.5.99.16-1 all nx-X11 (common files) ii nxagent 2:3.5.99.16-1 amd64 Nested Xserver (aka NX Agent) supporting the NX compr ii x2goserver 4.1.0.0-3 amd64 X2Go server ii x2goserver-common 4.1.0.0-3 amd64 X2Go Server (common files) ii x2goserver-extensions 4.1.0.0-3 all X2Go server (extension support) ii x2goserver-fmbindings 4.1.0.0-3 all X2Go Server (file manager bindings) ii x2goserver-printing 4.1.0.0-3 all X2Go server (printing support) ii x2goserver-x2goagent 4.1.0.0-3 amd64 X2Go Server's X2Go Agent ii x2goserver-xsession 4.1.0.0-3 all X2Go server (Xsession runner)
On 08-10-19 12:01, Stefan Baur wrote:
Am 07.10.19 um 15:30 schrieb Kees Bakker:
My first question: is anyone using x2go successfully on Ubuntu 18.04 (client and remote)? Yes. "Works for me."
Which repository are you using for X2Go and the NX-Libs? The main Ubuntu one, or the X2Go PPA?
Please post the output of
dpkg -l | egrep -i "x2go|nx"
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
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Hi,
I would suggest you try the PPA on the server side as well. There was a problem with the packages in Debian recently, and I could imagine Ubuntu pulling in the "broken" ones from Debian.
So I guess the easiest thing to try right now would be trying out the PPA on both server and client, and see where that takes you.
Kind Regards, Stefan Baur
Am 08.10.19 um 13:32 schrieb Kees Bakker:
Basically the standard Ubuntu packages. But on the client I tried PPA, which didn't help.
Interesting that it works for you. I'm suspecting SSH of some sorts. In that respect it may be worthwhile to mention that we have a FreeIPA environment, with Kerberos and things.
On the client (using PPA)
$ COLUMNS=120 dpkg -l | egrep -i "x2go|nx" ii libnx-x11-6:amd64 2:3.5.99.20-0~201 amd64 nxagent's libNX_X11 client-part library ii libx2go-log-perl 4.1.0.3-0~1708~ub all Perl X2Go::Log package ii libx2go-server-db-perl 4.1.0.3-0~1708~ub amd64 Perl X2Go::Server:DB package ii libx2go-server-perl 4.1.0.3-0~1708~ub all Perl X2Go::Server package ii libxcomp3:amd64 2:3.5.99.20-0~201 amd64 NX compression library ii libxcompshad3:amd64 2:3.5.99.20-0~201 amd64 NX shadowing library ii nx-x11-common 2:3.5.99.20-0~201 all nx-X11 (common files) ii nxagent 2:3.5.99.20-0~201 amd64 Nested Xserver (aka NX Agent) supporting the NX compr ii nxproxy 2:3.5.99.20-0~201 amd64 NX proxy ii pyhoca-gui 0.5.0.8-0~1358~ub all Graphical X2Go client written in (wx)Python ii python-x2go 0.6.0.2-0~1429~ub all Python module providing X2Go client API (Python 2) ii x2goclient 4.1.2.1-0~1788~ub amd64 X2Go Client application (Qt4) ii x2golxdebindings 1.0.2.4-0~70~ubun all LXDE bindings for X2Go ii x2gomatebindings 0.0.1.6-0~212~ubu amd64 X2Go MATE bindings and MIME types ii x2goserver 4.1.0.3-0~1708~ub amd64 X2Go server ii x2goserver-common 4.1.0.3-0~1708~ub amd64 X2Go Server (common files) ii x2goserver-extensions 4.1.0.3-0~1708~ub all X2Go Server (extension support) ii x2goserver-fmbindings 4.1.0.3-0~1708~ub all X2Go Server (file manager bindings) ii x2goserver-printing 4.1.0.3-0~1708~ub all X2Go server (printing support) ii x2goserver-x2goagent 4.1.0.3-0~1708~ub amd64 X2Go Server's X2Go Agent ii x2goserver-xsession 4.1.0.3-0~1708~ub all X2Go Server (Xsession runner)
$ cat /etc/apt/sources.list.d/x2go-ubuntu.list deb http://ppa.launchpad.net/x2go/stable/ubuntu bionic main # deb-src http://ppa.launchpad.net/x2go/stable/ubuntu bionic main
On the server
# COLUMNS=120 dpkg -l | egrep -i "x2go|nx" ii libnx-x11-6:amd64 2:3.5.99.16-1 amd64 nxagent's libNX_X11 client-part library ii libx2go-log-perl 4.1.0.0-3 all Perl X2Go::Log package ii libx2go-server-db-perl 4.1.0.0-3 amd64 Perl X2Go::Server:DB package ii libx2go-server-perl 4.1.0.0-3 all Perl X2Go::Server package ii libxcomp3:amd64 2:3.5.99.16-1 amd64 NX compression library ii libxcompshad3:amd64 2:3.5.99.16-1 amd64 NX shadowing library ii nx-x11-common 2:3.5.99.16-1 all nx-X11 (common files) ii nxagent 2:3.5.99.16-1 amd64 Nested Xserver (aka NX Agent) supporting the NX compr ii x2goserver 4.1.0.0-3 amd64 X2Go server ii x2goserver-common 4.1.0.0-3 amd64 X2Go Server (common files) ii x2goserver-extensions 4.1.0.0-3 all X2Go server (extension support) ii x2goserver-fmbindings 4.1.0.0-3 all X2Go Server (file manager bindings) ii x2goserver-printing 4.1.0.0-3 all X2Go server (printing support) ii x2goserver-x2goagent 4.1.0.0-3 amd64 X2Go Server's X2Go Agent ii x2goserver-xsession 4.1.0.0-3 all X2Go server (Xsession runner)
On 08-10-19 12:01, Stefan Baur wrote:
Am 07.10.19 um 15:30 schrieb Kees Bakker:
My first question: is anyone using x2go successfully on Ubuntu 18.04 (client and remote)? Yes. "Works for me."
Which repository are you using for X2Go and the NX-Libs? The main Ubuntu one, or the X2Go PPA?
Please post the output of
dpkg -l | egrep -i "x2go|nx"
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
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
-- 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 already tried that with another system. Same result: core dumped.
On 08-10-19 13:42, Stefan Baur wrote:
Hi,
I would suggest you try the PPA on the server side as well. There was a problem with the packages in Debian recently, and I could imagine Ubuntu pulling in the "broken" ones from Debian.
So I guess the easiest thing to try right now would be trying out the PPA on both server and client, and see where that takes you.
Kind Regards, Stefan Baur
Am 08.10.19 um 13:32 schrieb Kees Bakker:
Basically the standard Ubuntu packages. But on the client I tried PPA, which didn't help.
Interesting that it works for you. I'm suspecting SSH of some sorts. In that respect it may be worthwhile to mention that we have a FreeIPA environment, with Kerberos and things.
On the client (using PPA)
$ COLUMNS=120 dpkg -l | egrep -i "x2go|nx" ii libnx-x11-6:amd64 2:3.5.99.20-0~201 amd64 nxagent's libNX_X11 client-part library ii libx2go-log-perl 4.1.0.3-0~1708~ub all Perl X2Go::Log package ii libx2go-server-db-perl 4.1.0.3-0~1708~ub amd64 Perl X2Go::Server:DB package ii libx2go-server-perl 4.1.0.3-0~1708~ub all Perl X2Go::Server package ii libxcomp3:amd64 2:3.5.99.20-0~201 amd64 NX compression library ii libxcompshad3:amd64 2:3.5.99.20-0~201 amd64 NX shadowing library ii nx-x11-common 2:3.5.99.20-0~201 all nx-X11 (common files) ii nxagent 2:3.5.99.20-0~201 amd64 Nested Xserver (aka NX Agent) supporting the NX compr ii nxproxy 2:3.5.99.20-0~201 amd64 NX proxy ii pyhoca-gui 0.5.0.8-0~1358~ub all Graphical X2Go client written in (wx)Python ii python-x2go 0.6.0.2-0~1429~ub all Python module providing X2Go client API (Python 2) ii x2goclient 4.1.2.1-0~1788~ub amd64 X2Go Client application (Qt4) ii x2golxdebindings 1.0.2.4-0~70~ubun all LXDE bindings for X2Go ii x2gomatebindings 0.0.1.6-0~212~ubu amd64 X2Go MATE bindings and MIME types ii x2goserver 4.1.0.3-0~1708~ub amd64 X2Go server ii x2goserver-common 4.1.0.3-0~1708~ub amd64 X2Go Server (common files) ii x2goserver-extensions 4.1.0.3-0~1708~ub all X2Go Server (extension support) ii x2goserver-fmbindings 4.1.0.3-0~1708~ub all X2Go Server (file manager bindings) ii x2goserver-printing 4.1.0.3-0~1708~ub all X2Go server (printing support) ii x2goserver-x2goagent 4.1.0.3-0~1708~ub amd64 X2Go Server's X2Go Agent ii x2goserver-xsession 4.1.0.3-0~1708~ub all X2Go Server (Xsession runner)
$ cat /etc/apt/sources.list.d/x2go-ubuntu.list deb http://ppa.launchpad.net/x2go/stable/ubuntu bionic main # deb-src http://ppa.launchpad.net/x2go/stable/ubuntu bionic main
On the server
# COLUMNS=120 dpkg -l | egrep -i "x2go|nx" ii libnx-x11-6:amd64 2:3.5.99.16-1 amd64 nxagent's libNX_X11 client-part library ii libx2go-log-perl 4.1.0.0-3 all Perl X2Go::Log package ii libx2go-server-db-perl 4.1.0.0-3 amd64 Perl X2Go::Server:DB package ii libx2go-server-perl 4.1.0.0-3 all Perl X2Go::Server package ii libxcomp3:amd64 2:3.5.99.16-1 amd64 NX compression library ii libxcompshad3:amd64 2:3.5.99.16-1 amd64 NX shadowing library ii nx-x11-common 2:3.5.99.16-1 all nx-X11 (common files) ii nxagent 2:3.5.99.16-1 amd64 Nested Xserver (aka NX Agent) supporting the NX compr ii x2goserver 4.1.0.0-3 amd64 X2Go server ii x2goserver-common 4.1.0.0-3 amd64 X2Go Server (common files) ii x2goserver-extensions 4.1.0.0-3 all X2Go server (extension support) ii x2goserver-fmbindings 4.1.0.0-3 all X2Go Server (file manager bindings) ii x2goserver-printing 4.1.0.0-3 all X2Go server (printing support) ii x2goserver-x2goagent 4.1.0.0-3 amd64 X2Go Server's X2Go Agent ii x2goserver-xsession 4.1.0.0-3 all X2Go server (Xsession runner)
On 08-10-19 12:01, Stefan Baur wrote:
Am 07.10.19 um 15:30 schrieb Kees Bakker:
My first question: is anyone using x2go successfully on Ubuntu 18.04 (client and remote)? Yes. "Works for me."
Which repository are you using for X2Go and the NX-Libs? The main Ubuntu one, or the X2Go PPA?
Please post the output of
dpkg -l | egrep -i "x2go|nx"
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
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
-- 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
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Am 08.10.19 um 13:57 schrieb Kees Bakker:
I already tried that with another system. Same result: core dumped.
In that case, I would like to ask you to do fresh installs of Ubuntu 18.04 with X2GoServer and X2GoClient somewhere (say, two virtual machines), that aren't joined to your FreeIPA environment. Just two plain and simple basic installations. If it works there, then it's likely to be an issue with your particular setup.
Also, did you try if using a different session type makes a difference? Say, a Desktop session of XFCE or MATE, or a single application LibreOffice session, ... Given your error message, it seems unlikely, but it's a quick check compared to the effort two new installs require.
-Stefan
-- 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
On 08-10-19 14:17, Stefan Baur wrote:
I already tried that with another system. Same result: core dumped. In that case, I would like to ask you to do fresh installs of Ubuntu 18.04 with X2GoServer and X2GoClient somewhere (say, two virtual machines), that aren't joined to your FreeIPA environment. Just two
Am 08.10.19 um 13:57 schrieb Kees Bakker: plain and simple basic installations. If it works there, then it's likely to be an issue with your particular setup. Two virtual machines (with a reasonable fresh install) don't give the problem. I haven't completed the whole test because I needed to install LXDE, or MATE. Most important conclusion is that the connection worked well. No segfault.
Also, did you try if using a different session type makes a difference? Say, a Desktop session of XFCE or MATE, or a single application LibreOffice session, ... Given your error message, it seems unlikely, but it's a quick check compared to the effort two new installs require.
I tried various desktops, all gave the "core dumped" message.
Kees
AFAIK FreeIPA modifies client SSH config when joining domain, particularly sets ProxyCommand (to pull SSH fingerprints from server), and maybe some other options.
Maybe that changes are causing problem with X2GO.
Ср, 9 жовт. 2019, 10:21 користувач Kees Bakker <keesb@ghs.com> пише:
On 08-10-19 14:17, Stefan Baur wrote:
I already tried that with another system. Same result: core dumped. In that case, I would like to ask you to do fresh installs of Ubuntu 18.04 with X2GoServer and X2GoClient somewhere (say, two virtual machines), that aren't joined to your FreeIPA environment. Just two
Am 08.10.19 um 13:57 schrieb Kees Bakker: plain and simple basic installations. If it works there, then it's likely to be an issue with your particular setup. Two virtual machines (with a reasonable fresh install) don't give the problem. I haven't completed the whole test because I needed to install LXDE, or MATE. Most important conclusion is that the connection worked well. No segfault.
Also, did you try if using a different session type makes a difference? Say, a Desktop session of XFCE or MATE, or a single application LibreOffice session, ... Given your error message, it seems unlikely, but it's a quick check compared to the effort two new installs require.
I tried various desktops, all gave the "core dumped" message.
Can we draw the conclusion that it is the SSH connection? How can I investigate this further? One thing I already tried was to run the remote sshd in debug. I noticed that it uses different connection methods between normal ssh and x2go.
Kees
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Bingo !!! Thanks Михайло.
That's it. Disabling ProxyCommand in /etc/ssh/ssh_config allows me to get a remote session.
The FreeIPA installation puts these lines in /etc/ssh/ssh_config
GlobalKnownHostsFile /var/lib/sss/pubconf/known_hosts PubkeyAuthentication yes ProxyCommand /usr/bin/sss_ssh_knownhostsproxy -p %p %h
Just disabling ProxyCommand is enough.
Of course it is not nice that you get a core dump when ProxyCommand is present. That's a bug for sure (in x2go and/or in libssh.so). -- Kees
On 10-10-19 21:36, Михайло Падалка wrote:
**** EXTERNAL E-MAIL ****
AFAIK FreeIPA modifies client SSH config when joining domain, particularly sets ProxyCommand (to pull SSH fingerprints from server), and maybe some other options.
Maybe that changes are causing problem with X2GO.
Ср, 9 жовт. 2019, 10:21 користувач Kees Bakker <keesb@ghs.com <mailto:keesb@ghs.com>> пише:
On 08-10-19 14:17, Stefan Baur wrote: > Am 08.10.19 um 13:57 schrieb Kees Bakker: >> I already tried that with another system. >> Same result: core dumped. > In that case, I would like to ask you to do fresh installs of Ubuntu > 18.04 with X2GoServer and X2GoClient somewhere (say, two virtual > machines), that aren't joined to your FreeIPA environment. Just two > plain and simple basic installations. If it works there, then it's > likely to be an issue with your particular setup. Two virtual machines (with a reasonable fresh install) don't give the problem. I haven't completed the whole test because I needed to install LXDE, or MATE. Most important conclusion is that the connection worked well. No segfault. > > Also, did you try if using a different session type makes a difference? > Say, a Desktop session of XFCE or MATE, or a single application > LibreOffice session, ... > Given your error message, it seems unlikely, but it's a quick check > compared to the effort two new installs require. I tried various desktops, all gave the "core dumped" message. Can we draw the conclusion that it is the SSH connection? How can I investigate this further? One thing I already tried was to run the remote sshd in debug. I noticed that it uses different connection methods between normal ssh and x2go. -- Kees _______________________________________________ x2go-user mailing list x2go-user@lists.x2go.org <mailto:x2go-user@lists.x2go.org> https://lists.x2go.org/listinfo/x2go-user
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user