Hello,
I've been using x2go for a long time to connect from a Mac to a Linux Desktop running Kubuntu 16.04 (KDE running locally). A few weeks back I ran into trouble with x2go crashing very often, and each time killing my VPN connection.
To understand if the OSX version was the problem, I updated my Mac from 10.13. High Sierra to 10.14.3 Mojave, but the problem persists.
Some observations: When connecting to the Linux Desktop without VPN (possible only when physically connected to the same network), the problem persists. When running only the VPN without x2go, the connection is stable. Non-graphical ssh sessions are stable. Connecting to a suspended session seems to make things worse (more frequent crashes). Using xfce or mate doesn't change anything.
When running the x2go client (Version 4.1.2.1) in debug mode, at a certain point (but not upon startup) I get one of the following messages:
x2go-DEBUG-../src/sshmasterconnection.cpp:2193> "ssh_channel_open_session failed": "Socket error: Connection reset by peer"
x2go-DEBUG-../src/sshmasterconnection.cpp:2193> "ssh_channel_open_session failed": "Socket error: No such file or directory"
x2go-DEBUG-../src/sshmasterconnection.cpp:2193> "ssh_channel_open_session failed": "Socket error: Can't assign requested address"
x2go-DEBUG-../src/sshmasterconnection.cpp:2193> "ssh_channel_open_session failed": "Socket error: Operation timed out"
Any help would be greatly appreciated! -Ute
On Wed, Mar 13, 2019 at 4:07 PM Ute Roehrig <Ute.Roehrig@sib.swiss> wrote:
Hello,
I've been using x2go for a long time to connect from a Mac to a Linux Desktop running Kubuntu 16.04 (KDE running locally). A few weeks back I ran into trouble with x2go crashing very often, and each time killing my VPN connection.
Can you connect that "a few weeks back" to updates on either the client or the server? What's the version of nxagent on the server? If it is 3.5.99.18 please upgrade to 3.5.99.19 or downgrade to 3.5.99.17.
Any help would be greatly appreciated!
I would try to disable printing/sound/file sharing since they use a backwards ssh connection from the server to the client.
Uli
Hi Ulrich,
I forgot to mention that I don't use printing/sound/file sharing. Also, I don't recall this issue being connected to an update on the server, but it's still possible. Installed versions are
nxagent 3.5.99.17 x2goserver 4.1.0.3 uname -r 4.4.0-142-generic lsb_release -d Ubuntu 16.04.6 LTS
Thanks for your help! Ute
On 2019-03-13 23:46, Ulrich Sibiller wrote:
On Wed, Mar 13, 2019 at 4:07 PM Ute Roehrig <Ute.Roehrig@sib.swiss> wrote:
Hello,
I've been using x2go for a long time to connect from a Mac to a Linux Desktop running Kubuntu 16.04 (KDE running locally). A few weeks back I ran into trouble with x2go crashing very often, and each time killing my VPN connection.
Can you connect that "a few weeks back" to updates on either the client or the server? What's the version of nxagent on the server? If it is 3.5.99.18 please upgrade to 3.5.99.19 or downgrade to 3.5.99.17.
Any help would be greatly appreciated!
I would try to disable printing/sound/file sharing since they use a backwards ssh connection from the server to the client.
Uli
On Thu, Mar 14, 2019 at 8:12 AM Ute Roehrig <Ute.Roehrig@sib.swiss> wrote:
I've been using x2go for a long time to connect from a Mac to a Linux Desktop running Kubuntu 16.04 (KDE running locally). A few weeks back I ran into trouble with x2go crashing very often, and each time killing my VPN connection.
I have been looking at the corresponding x2go code and rereading your comment. I don't see how a failing ssh connection could kill your vpn. I'd rather think it is the other way round: There's something fishy with your vpn and that makes the ssh connections fail.
Does the vpn go down if you do not even run an x2go connection but a normal ssh connection over it? Do you see information in dmesg after the x2go session failed?
Uli