[X2Go-User] Can't get X2Go connection opened, with error PANIC! The remote NX proxy closed the connection.

Kalle Tuulos kalle at tuulos.net
Fri Mar 10 11:12:24 CET 2023


kalle at cathouse:~$ x2goclient --libssh-debug
qt.qpa.xcb: X server does not support XInput 2
x2go-INFO-1> "Starting X2Go Client 4.1.2.2..."
x2go-WARNING-1> English language requested, not loading translator.
x2go-WARNING-1> English language requested, not loading translator.
x2go-INFO-3> "Started X2Go Client."
qt.qpa.xcb: QXcbConnection: XCB error: 1 (BadRequest), sequence: 168,
resource id: 309, major code: 130 (Unknown), minor code: 47
x2go-INFO-8> "Starting connection to server: 192.168.1.41:22"
[2023/03/10 12:08:24.829193, 1] ssh_config_parse_line:  Unsupported option:
ServerAliveInterval, line: 2
[2023/03/10 12:08:24.829222, 2] ssh_config_parse_line:  Unapplicable
option: ForwardX11Trusted, line: 5
[2023/03/10 12:08:24.829230, 2] ssh_config_parse_line:  Unapplicable
option: ForwardX11, line: 6
[2023/03/10 12:08:24.829275, 2] ssh_config_parse_line:  Unapplicable
option: SendEnv, line: 50
[2023/03/10 12:08:24.829282, 1] ssh_config_parse_line:  Unsupported option:
HashKnownHosts, line: 51
[2023/03/10 12:08:24.829306, 2] ssh_connect:  libssh 0.9.3 (c) 2003-2019
Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed
under the LGPL, please refer to COPYING file for information about your
rights, using threading threads_pthread
[2023/03/10 12:08:24.829345, 2] ssh_socket_connect:  Nonblocking connection
socket: 12
[2023/03/10 12:08:24.829352, 2] ssh_connect:  Socket connecting, now
waiting for the callbacks to work
[2023/03/10 12:08:24.830170, 1] socket_callback_connected:  Socket
connection callback: 1 (0)
[2023/03/10 12:08:24.847550, 2] ssh_client_connection_callback:  SSH server
banner: SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.1
[2023/03/10 12:08:24.847573, 2] ssh_analyze_banner:  Analyzing banner:
SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.1
[2023/03/10 12:08:24.847579, 2] ssh_analyze_banner:  We are talking to an
OpenSSH client version: 8.9 (80900)
[2023/03/10 12:08:24.847971, 1] ssh_known_hosts_read_entries:  Failed to
open the known_hosts file '/etc/ssh/ssh_known_hosts': No such file or
directory
[2023/03/10 12:08:24.848961, 2] ssh_kex_select_methods:  Negotiated
curve25519-sha256 at libssh.org,ecdsa-sha2-nistp256,aes128-ctr,aes128-ctr,
hmac-sha2-256-etm at openssh.com,hmac-sha2-256-etm at openssh.com,none,none,,
[2023/03/10 12:08:24.855770, 2] ssh_init_rekey_state:  Set rekey after
4294967296 blocks
[2023/03/10 12:08:24.855801, 2] ssh_init_rekey_state:  Set rekey after
4294967296 blocks
[2023/03/10 12:08:24.855809, 2] ssh_packet_client_curve25519_reply:
 SSH_MSG_NEWKEYS sent
[2023/03/10 12:08:24.855815, 2] ssh_packet_newkeys:  Received
SSH_MSG_NEWKEYS
[2023/03/10 12:08:24.855922, 2] ssh_packet_newkeys:  Signature verified and
valid
[2023/03/10 12:08:24.855963, 1] ssh_config_parse_line:  Unsupported option:
ServerAliveInterval, line: 2
[2023/03/10 12:08:24.855972, 2] ssh_config_parse_line:  Unapplicable
option: ForwardX11Trusted, line: 5
[2023/03/10 12:08:24.855977, 2] ssh_config_parse_line:  Unapplicable
option: ForwardX11, line: 6
[2023/03/10 12:08:24.856024, 2] ssh_config_parse_line:  Unapplicable
option: SendEnv, line: 50
[2023/03/10 12:08:24.856031, 1] ssh_config_parse_line:  Unsupported option:
HashKnownHosts, line: 51
[2023/03/10 12:08:24.856419, 2] ssh_pki_import_privkey_base64:  Trying to
decode privkey passphrase=true
[2023/03/10 12:08:24.856456, 2] ssh_pki_openssh_import:  Opening OpenSSH
private key: ciphername: none, kdf: none, nkeys: 1
[2023/03/10 12:08:24.958694, 2] channel_open:  Creating a channel 43 with
64000 window and 32768 max packet
[2023/03/10 12:08:25.035571, 2] ssh_packet_global_request:  Received
SSH_MSG_GLOBAL_REQUEST packet
[2023/03/10 12:08:25.035617, 2] ssh_packet_global_request:  UNKNOWN
SSH_MSG_GLOBAL_REQUEST hostkeys-00 at openssh.com, want_reply = 0
[2023/03/10 12:08:25.035623, 1] ssh_packet_global_request:  Invalid
SSH_MSG_GLOBAL_REQUEST packet
[2023/03/10 12:08:25.035631, 2] ssh_packet_ignore_callback:  Received
SSH_MSG_DEBUG packet
[2023/03/10 12:08:25.076378, 2] ssh_packet_ignore_callback:  Received
SSH_MSG_DEBUG packet
[2023/03/10 12:08:25.076408, 2] ssh_packet_channel_open_conf:  Received a
CHANNEL_OPEN_CONFIRMATION for channel 43:0
[2023/03/10 12:08:25.076414, 2] ssh_packet_channel_open_conf:  Remote
window : 0, maxpacket : 32768
[2023/03/10 12:08:25.078228, 2] channel_request:  Channel request pty-req
success
[2023/03/10 12:08:25.122001, 2] channel_rcv_change_window:  Adding 2097152
bytes to channel (43:0) (from 0 bytes)
[2023/03/10 12:08:25.122045, 2] channel_request:  Channel request exec
success
[2023/03/10 12:08:25.134211, 2] grow_window:  growing window (channel 43:0)
to 1280000 bytes
[2023/03/10 12:08:25.134321, 1] ssh_channel_accept:  No channel request of
this type from server
[2023/03/10 12:08:25.134908, 1] ssh_channel_accept:  No channel request of
this type from server
[2023/03/10 12:08:25.134935, 2] channel_open:  Creating a channel 44 with
64000 window and 32768 max packet
[2023/03/10 12:08:25.135693, 2] ssh_packet_channel_open_conf:  Received a
CHANNEL_OPEN_CONFIRMATION for channel 44:0
[2023/03/10 12:08:25.135720, 2] ssh_packet_channel_open_conf:  Remote
window : 0, maxpacket : 32768
[2023/03/10 12:08:25.138058, 2] channel_rcv_change_window:  Adding 2097152
bytes to channel (44:0) (from 0 bytes)
[2023/03/10 12:08:25.138084, 2] channel_request:  Channel request exec
success
[2023/03/10 12:08:25.167478, 2] grow_window:  growing window (channel 44:0)
to 1280000 bytes
[2023/03/10 12:08:25.167520, 1] ssh_channel_accept:  No channel request of
this type from server
[2023/03/10 12:08:25.342136, 1] ssh_channel_accept:  No channel request of
this type from server
[2023/03/10 12:08:25.342377, 1] ssh_channel_accept:  No channel request of
this type from server
[2023/03/10 12:08:25.342978, 1] ssh_channel_accept:  No channel request of
this type from server
[2023/03/10 12:08:25.342992, 2] channel_open:  Creating a channel 45 with
64000 window and 32768 max packet
[2023/03/10 12:08:25.343743, 2] ssh_packet_channel_open_conf:  Received a
CHANNEL_OPEN_CONFIRMATION for channel 45:0
[2023/03/10 12:08:25.343755, 2] ssh_packet_channel_open_conf:  Remote
window : 0, maxpacket : 32768
[2023/03/10 12:08:25.344826, 2] channel_rcv_change_window:  Adding 2097152
bytes to channel (45:0) (from 0 bytes)
[2023/03/10 12:08:25.344839, 2] channel_request:  Channel request exec
success
[2023/03/10 12:08:25.351126, 2] grow_window:  growing window (channel 45:0)
to 1280000 bytes
[2023/03/10 12:08:25.351149, 1] ssh_channel_accept:  No channel request of
this type from server
............
[2023/03/10 12:08:27.873960, 1] ssh_channel_accept:  No channel request of
this type from server
RESUMING SESSION is KDRIVE:  false
[2023/03/10 12:08:27.874558, 1] ssh_channel_accept:  No channel request of
this type from server
............
[2023/03/10 12:08:27.970502, 1] ssh_channel_accept:  No channel request of
this type from server
[2023/03/10 12:08:27.970606, 1] ssh_config_parse_line:  Unsupported option:
ServerAliveInterval, line: 2
[2023/03/10 12:08:27.970630, 2] ssh_config_parse_line:  Unapplicable
option: ForwardX11Trusted, line: 5
[2023/03/10 12:08:27.970639, 2] ssh_config_parse_line:  Unapplicable
option: ForwardX11, line: 6
[2023/03/10 12:08:27.970706, 2] ssh_config_parse_line:  Unapplicable
option: SendEnv, line: 50
[2023/03/10 12:08:27.970715, 1] ssh_config_parse_line:  Unsupported option:
HashKnownHosts, line: 51
[2023/03/10 12:08:27.970733, 2] channel_open:  Creating a channel 46 with
64000 window and 32768 max packet
[2023/03/10 12:08:27.972462, 2] ssh_packet_channel_open_conf:  Received a
CHANNEL_OPEN_CONFIRMATION for channel 46:0
[2023/03/10 12:08:27.972479, 2] ssh_packet_channel_open_conf:  Remote
window : 2097152, maxpacket : 32768
[2023/03/10 12:08:27.972525, 1] ssh_channel_accept:  No channel request of
this type from server
............
[2023/03/10 12:08:33.082715, 1] ssh_channel_accept:  No channel request of
this type from server
[2023/03/10 12:08:33.082725, 2] channel_open:  Creating a channel 47 with
64000 window and 32768 max packet
[2023/03/10 12:08:33.083115, 2] ssh_packet_channel_open_conf:  Received a
CHANNEL_OPEN_CONFIRMATION for channel 47:0
[2023/03/10 12:08:33.083127, 2] ssh_packet_channel_open_conf:  Remote
window : 0, maxpacket : 32768
[2023/03/10 12:08:33.084048, 2] channel_rcv_change_window:  Adding 2097152
bytes to channel (47:0) (from 0 bytes)
[2023/03/10 12:08:33.084063, 2] channel_request:  Channel request exec
success
[2023/03/10 12:08:33.090188, 2] grow_window:  growing window (channel 47:0)
to 1280000 bytes
[2023/03/10 12:08:33.090216, 1] ssh_channel_accept:  No channel request of
this type from server
[2023/03/10 12:08:33.123981, 1] ssh_channel_accept:  No channel request of
this type from server
[2023/03/10 12:08:33.124233, 1] ssh_channel_accept:  No channel request of
this type from server
x2go-INFO-6> "Closing X2Go Client ..."
x2go-INFO-7> "Finished X2Go Client closing hooks."

On Fri, 10 Mar 2023 at 12:04, Ulrich Sibiller <uli42 at gmx.de> wrote:

> Please try x2goclient --libssh-debug, maybe it shows more information.
>
> Uli
>
> On Fri, Mar 10, 2023 at 10:58 AM Kalle Tuulos <kalle at tuulos.net> wrote:
> >
> > In short: X2Goserver is hosted in Ubuntu 22.04 computer. It is being
> accessed from Ubuntu 20.04 and Windows 11. Previously, everything worked
> well, but today morning, I could not any more get connection to this
> computer, not from Ubuntu or from Windows 11.
> >
> > On the Windows client error message is: "The remote proxy closed the
> connection while negotiating..."
> > On Ubuntu client, x2goclient --debug print shows:
> > --8<--8<--
> > RESUMING SESSION is KDRIVE:  false
> > x2go-DEBUG-../src/onmainwindow.cpp:6142> "Starting NX proxy, command:
> nxproxy -S
> nx/nx,options=/home/kalle/.x2go/S-ktuulos-50-1678441073_stDLXDE_dp24/options:50"
> > x2go-DEBUG-../src/sshprocess.cpp:157> Direct tunnel: waiting for
> connections on "localhost":34744
> > x2go-DEBUG-../src/onmainwindow.cpp:6618> Proxy wrote on stderr:
> "\nNXPROXY - Version 3.5.99.23\n\nCopyright (c) 2001, 2011 NoMachine (
> http://www.nomachine.com)\nCopyright (c) 2008-2014 Oleksandr Shneyder <
> o.shneyder at phoca-gmbh.de>\nCopyright (c) 2014-2016 Ulrich Sibiller <
> uli42 at gmx.de>\nCopyright (c) 2014-2016 Mihai Moldovan <ionic at ionic.de>\nCopyright
> (c) 2011-2016 Mike Gabriel <mike.gabriel at das-netzwerkteam.de>\nCopyright
> (c) 2015-2016 Qindel Group (http://www.qindel.com)\n\nNXCOMP, NX protocol
> compression and NX extensions to this software\nare copyright of the
> aforementioned persons and companies.\n\nRedistribution and use of the
> present software is allowed according\nto terms specified in the file
> LICENSE.nxcomp which comes in the\nsource distribution.\n\nAll rights
> reserved.\n\nNOTE: This software has received contributions from various
> other\ncontributors, only the core maintainers and supporters are listed
> as\ncopyright holders. Please contact us, if you feel you should be
> listed\nas copyright holder, as well.\n\nNX protocol compression is derived
> from DXPC project.\n\nCopyright (c) 1995,1996 Brian Pane\nCopyright (c)
> 1996,1997 Zachary Vonler and Brian Pane\nCopyright (c) 1999 Kevin Vigor and
> Brian Pane\nCopyright (c) 2000,2003 Gian Filippo Pinzari and Brian
> Pane\n\nAll rights reserved.\n\nSee
> https://github.com/ArcticaProject/nx-libs for more information.\n\nInfo:
> Proxy running in server mode with pid '2505200'.\nSession: Starting session
> at 'Fri Mar 10 11:37:54 2023'.\nInfo: Using errors file
> '/home/kalle/.x2go/S-ktuulos-50-1678441073_stDLXDE_dp24/sessions'.\nInfo:
> Using stats file '/home/kalle/.x2go/S-50/stats'.\nLoop: WARNING! Overriding
> auxiliary X11 port with new value '1'.\nWarning: Overriding auxiliary X11
> port with new value '1'.\nInfo: Using abstract X11 socket in kernel
> namespace for accessing DISPLAY=:50.\nInfo: Connecting to remote host
> 'localhost:34744'.\nInfo: Connected to remote proxy on FD#5.\n"
> > x2go-DEBUG-../src/sshprocess.cpp:109> New TCP connection.
> > x2go-DEBUG-../src/sshprocess.cpp:114> New socket: 14
> > x2go-DEBUG-../src/sshmasterconnection.cpp:1977> Creating new channel.
> > x2go-DEBUG-../src/sshmasterconnection.cpp:1990> New
> channel:0x7f41a4012000
> > x2go-DEBUG-../src/sshmasterconnection.cpp:1994> Forwarding parameters:
> from remote ("localhost":33744) to local ("localhost":33758)
> > x2go-DEBUG-../src/sshmasterconnection.cpp:2028> Temporary session port
> after config file parse: 33744
> > x2go-DEBUG-../src/sshmasterconnection.cpp:2032> Temporary session host
> after config file parse: localhost
> > x2go-DEBUG-../src/sshmasterconnection.cpp:2059> New channel forwarded.
> > ....
> > x2go-DEBUG-../src/sshmasterconnection.cpp:2121> EOF on channel
> 0x7f41a4012000; SshProcess object: 2
> > x2go-DEBUG-../src/sshmasterconnection.cpp:2222> EOF sent.
> > x2go-DEBUG-../src/sshmasterconnection.cpp:2224> Channel closed.
> > x2go-DEBUG-../src/onmainwindow.cpp:6618> Proxy wrote on stderr: "Loop:
> PANIC! The remote NX proxy closed the connection.\nError: The remote NX
> proxy closed the connection.\nLoop: PANIC! Failure negotiating the session
> in stage '7'.\nError: Failure negotiating the session in stage '7'.\nLoop:
> PANIC! Wrong version or invalid session authentication cookie.\nError:
> Wrong version or invalid session authentication cookie.\nSession:
> Terminating session at 'Fri Mar 10 11:37:59 2023'.\nSession: Session
> terminated at 'Fri Mar 10 11:37:59 2023'.\nqt.qpa.xcb: X server does not
> support XInput 2\n"
> > x2go-DEBUG-../src/onmainwindow.cpp:6475> Deleting Proxy.
> > x2go-DEBUG-../src/onmainwindow.cpp:6520> Waiting for proxy to exit.
> > x2go-DEBUG-../src/onmainwindow.cpp:6544> Checking exit status.
> > x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via
> SshProcess object 3: "x2gocmdexitmessage ktuulos-50-1678441073_stDLXDE_dp24"
> > --8<--8<--
> >
> > Printing, audio and shared folder have previously been activated and
> they have worked. Now I have disabled them and it does not make any
> difference.
> >
> > I have tried to re-install x2go server by command:
> > sudo apt-get install --reinstall x2goserver x2goserver-common
> x2goserver-xsession
> >
> > On the server computer, .xsession-x2go-<client>-errors file has
> following:
> > --8<--8<--
> > XSession-x2go: X session started for ktuulos at pe 10.3.2023 11.30.25
> +0200
> > dbus-update-activation-environment: setting
> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
> > dbus-update-activation-environment: setting DISPLAY=:50
> > dbus-update-activation-environment: setting
> XAUTHORITY=/home/ktuulos/.Xauthority
> > xrdb: Connection reset by peer
> > xrdb: Can't open display ':50'
> > /etc/x2go/Xsession.d/30x11-common_xresources: line 16: has_option:
> command not found
> > xhost:  unable to open display ":50"
> > /etc/x2go/Xsession.d/75dbus_dbus-launch: line 9: has_option: command not
> found
> > dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
> > /etc/x2go/Xsession.d/90x11-common_ssh-agent: line 9: has_option: command
> not found
> > dbus-update-activation-environment: setting SHELL=/bin/bash
> > --8<--8<--
> >
> > X2goserver host information:
> > ktuulos at kallep50:~$ lsb_release -a
> > No LSB modules are available.
> > Distributor ID: Ubuntu
> > Description: Ubuntu 22.04.2 LTS
> > Release: 22.04
> > Codename: jammy
> > ktuulos at kallep50:~$ dpkg -l x2go* openssh-server
> > Desired=Unknown/Install/Remove/Purge/Hold
> > |
> Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> > ||/ Name                  Version         Architecture Description
> >
> +++-=====================-===============-============-===================================
> > ii  openssh-server        1:8.9p1-3ubuntu0.1 amd64        secure shell
> (SSH) server, for secure access from remote machines
> > un  x2goagent             <none>             <none>       (no
> description available)
> > ii  x2goclient            4.1.2.2-2build1    amd64        X2Go Client
> application (Qt5)
> > un  x2goclient-gtk        <none>             <none>       (no
> description available)
> > un  x2godesktopsharing    <none>             <none>       (no
> description available)
> > un  x2goprint             <none>             <none>       (no
> description available)
> > ii  x2goserver            4.1.0.3-5          amd64        X2Go Server
> > ii  x2goserver-common     4.1.0.3-5          all          X2Go Server
> (common files)
> > un  x2goserver-compat     <none>             <none>       (no
> description available)
> > ii  x2goserver-extensions 4.1.0.3-5          all          X2Go Server
> (extension support)
> > ii  x2goserver-fmbindings 4.1.0.3-5          all          X2Go Server
> (file manager bindings)
> > un  x2goserver-home       <none>             <none>       (no
> description available)
> > un  x2goserver-one        <none>             <none>       (no
> description available)
> > ii  x2goserver-printing   4.1.0.3-5          all          X2Go Server
> (printing support)
> > un  x2goserver-pyhoca     <none>             <none>       (no
> description available)
> > ii  x2goserver-x2goagent  4.1.0.3-5          amd64        X2Go Server's
> X2Go Agent
> > ii  x2goserver-xsession   4.1.0.3-5          all          X2Go Server
> (Xsession runner)
> >
> > On the Ubuntu 20.04 version, x2go package versions are the same, but
> openssh-server is version 1:8.2.
> >
> > Could someone please instruct how to get this working? This Ubuntu 22.04
> is my R&D work computer and I don't have a keyboard or monitor attached to
> it at all, so now I can only use it through the SSH terminal, which makes
> desktop operations pretty difficult. :(
> >
> > BR
> >   Kalle
> >
> > _______________________________________________
> > x2go-user mailing list
> > x2go-user at lists.x2go.org
> > https://lists.x2go.org/listinfo/x2go-user
> _______________________________________________
> x2go-user mailing list
> x2go-user at lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-user
>


-- 
Please act environmentally and recycle all valuable bits of this e-mail
after reading.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x2go.org/pipermail/x2go-user/attachments/20230310/a93fe9bf/attachment-0001.htm>


More information about the x2go-user mailing list