Re: [X2Go-User] Can't get X2Go connection opened, with error PANIC! The remote NX proxy closed the connection.
Thanks. So nx is working. To be honest I am out of ideas now. Have you checked what updates were installed on the server recently? Can you downgrade and retry? Uli On Fri, Mar 10, 2023 at 12:37 PM Kalle Tuulos wrote: > > Hi Ulrich > > NX Agent appeared and Xterm opened inside it. > > BR, > Kalle > > On Fri, 10 Mar 2023 at 13:20, Ulrich Sibiller wrote: >> >> Hi, >> >> again I don't see any major problem in libssh related output. But I see >> these: >> >> qt.qpa.xcb: X server does not support XInput 2 >> qt.qpa.xcb: QXcbConnection: XCB error: 1 (BadRequest), sequence: 168, >> resource id: 309, major code: 130 (Unknown), minor code: 47 >> >> NX does not support XInput 2. So these errors indicate the session has >> been opened successfully but some application had a communication >> problem with the X server (x2goagent in this case). >> >> So chances are that xterm, libxcb, libX11 or any accompanying library >> have been updated recently and are incompatible now. Maybe we can hunt >> this down by checking this: >> 1. ssh -X and run "nxagent -D -ac :55" there (nxagent window >> should open up) >> 2. ssh server and run "DISPLAY=:55 xterm" there (xterm should open in >> the nxagent window) >> >> Does the xterm come up? >> >> Also please repeat with "nxagent -R -ac :55". (no nxagent window will >> come up, the xterm should open up in its own window in step 2) >> >> Uli ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Can't get X2Go connection opened, with error PANIC! The remote NX proxy closed the connection.
Hi Ulrich NX Agent appeared and Xterm opened inside it. BR, Kalle On Fri, 10 Mar 2023 at 13:20, Ulrich Sibiller wrote: > Hi, > > again I don't see any major problem in libssh related output. But I see > these: > > qt.qpa.xcb: X server does not support XInput 2 > qt.qpa.xcb: QXcbConnection: XCB error: 1 (BadRequest), sequence: 168, > resource id: 309, major code: 130 (Unknown), minor code: 47 > > NX does not support XInput 2. So these errors indicate the session has > been opened successfully but some application had a communication > problem with the X server (x2goagent in this case). > > So chances are that xterm, libxcb, libX11 or any accompanying library > have been updated recently and are incompatible now. Maybe we can hunt > this down by checking this: > 1. ssh -X and run "nxagent -D -ac :55" there (nxagent window > should open up) > 2. ssh server and run "DISPLAY=:55 xterm" there (xterm should open in > the nxagent window) > > Does the xterm come up? > > Also please repeat with "nxagent -R -ac :55". (no nxagent window will > come up, the xterm should open up in its own window in step 2) > > Uli > ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Can't get X2Go connection opened, with error PANIC! The remote NX proxy closed the connection.
Hi, again I don't see any major problem in libssh related output. But I see these: qt.qpa.xcb: X server does not support XInput 2 qt.qpa.xcb: QXcbConnection: XCB error: 1 (BadRequest), sequence: 168, resource id: 309, major code: 130 (Unknown), minor code: 47 NX does not support XInput 2. So these errors indicate the session has been opened successfully but some application had a communication problem with the X server (x2goagent in this case). So chances are that xterm, libxcb, libX11 or any accompanying library have been updated recently and are incompatible now. Maybe we can hunt this down by checking this: 1. ssh -X and run "nxagent -D -ac :55" there (nxagent window should open up) 2. ssh server and run "DISPLAY=:55 xterm" there (xterm should open in the nxagent window) Does the xterm come up? Also please repeat with "nxagent -R -ac :55". (no nxagent window will come up, the xterm should open up in its own window in step 2) Uli On Fri, Mar 10, 2023 at 11:53 AM Kalle Tuulos wrote: > > Hi Ulrich > > In this client log, I have defined Session type as Single application and > command as "/usr/bin/xterm". > > ---8<---8<--- > kalle@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:50:28.963355, 1] ssh_config_parse_line: Unsupported option: > ServerAliveInterval, line: 2 > [2023/03/10 12:50:28.963385, 2] ssh_config_parse_line: Unapplicable option: > ForwardX11Trusted, line: 5 > [2023/03/10 12:50:28.963393, 2] ssh_config_parse_line: Unapplicable option: > ForwardX11, line: 6 > [2023/03/10 12:50:28.963439, 2] ssh_config_parse_line: Unapplicable option: > SendEnv, line: 50 > [2023/03/10 12:50:28.963447, 1] ssh_config_parse_line: Unsupported option: > HashKnownHosts, line: 51 > [2023/03/10 12:50:28.963469, 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:50:28.963517, 2] ssh_socket_connect: Nonblocking connection > socket: 12 > [2023/03/10 12:50:28.963525, 2] ssh_connect: Socket connecting, now waiting > for the callbacks to work > [2023/03/10 12:50:28.964069, 1] socket_callback_connected: Socket connection > callback: 1 (0) > [2023/03/10 12:50:28.981608, 2] ssh_client_connection_callback: SSH server > banner: SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.1 > [2023/03/10 12:50:28.981628, 2] ssh_analyze_banner: Analyzing banner: > SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.1 > [2023/03/10 12:50:28.981634, 2] ssh_analyze_banner: We are talking to an > OpenSSH client version: 8.9 (80900) > [2023/03/10 12:50:28.982012, 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:50:28.983191, 2] ssh_kex_select_methods: Negotiated > curve25519-sha...@libssh.org,ecdsa-sha2-nistp256,aes128-ctr,aes128-ctr,hmac-sha2-256-...@openssh.com,hmac-sha2-256-...@openssh.com,none,none,, > [2023/03/10 12:50:28.989835, 2] ssh_init_rekey_state: Set rekey after > 4294967296 blocks > [2023/03/10 12:50:28.989853, 2] ssh_init_rekey_state: Set rekey after > 4294967296 blocks > [2023/03/10 12:50:28.989860, 2] ssh_packet_client_curve25519_reply: > SSH_MSG_NEWKEYS sent > [2023/03/10 12:50:28.989866, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS > [2023/03/10 12:50:28.989966, 2] ssh_packet_newkeys: Signature verified and > valid > [2023/03/10 12:50:28.989997, 1] ssh_config_parse_line: Unsupported option: > ServerAliveInterval, line: 2 > [2023/03/10 12:50:28.990006, 2] ssh_config_parse_line: Unapplicable option: > ForwardX11Trusted, line: 5 > [2023/03/10 12:50:28.990011, 2] ssh_config_parse_line: Unapplicable option: > ForwardX11, line: 6 > [2023/03/10 12:50:28.990052, 2] ssh_config_parse_line: Unapplicable option: > SendEnv, line: 50 > [2023/03/10 12:50:28.990060, 1] ssh_config_parse_line: Unsupported option: > HashKnownHosts, line: 51 > [2023/03/10 12:50:28.990443, 2] ssh_pki_import_privkey_base64: Trying to > decode privkey passphrase=true > [2023/03/10 12:50:28.990477, 2] ssh_pki_openssh_import: Opening OpenSSH > private key: ciphername: none, kdf: none, nkeys: 1 > [2023/03/10 12:50:29.085757, 2] channel_open: Creating a channel 43 with > 64000 window and 32768 max packet > [2023/03/10 12:50:29.208879, 2] ssh_packet_global_request: Received > SSH_MSG_GLOBAL_REQUEST packet > [2023/03/10 12:50:29.208917, 2] ssh_packet_global_request:
Re: [X2Go-User] Can't get X2Go connection opened, with error PANIC! The remote NX proxy closed the connection.
Hi Ulrich In this client log, I have defined Session type as Single application and command as "/usr/bin/xterm". ---8<---8<--- kalle@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:50:28.963355, 1] ssh_config_parse_line: Unsupported option: ServerAliveInterval, line: 2 [2023/03/10 12:50:28.963385, 2] ssh_config_parse_line: Unapplicable option: ForwardX11Trusted, line: 5 [2023/03/10 12:50:28.963393, 2] ssh_config_parse_line: Unapplicable option: ForwardX11, line: 6 [2023/03/10 12:50:28.963439, 2] ssh_config_parse_line: Unapplicable option: SendEnv, line: 50 [2023/03/10 12:50:28.963447, 1] ssh_config_parse_line: Unsupported option: HashKnownHosts, line: 51 [2023/03/10 12:50:28.963469, 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:50:28.963517, 2] ssh_socket_connect: Nonblocking connection socket: 12 [2023/03/10 12:50:28.963525, 2] ssh_connect: Socket connecting, now waiting for the callbacks to work [2023/03/10 12:50:28.964069, 1] socket_callback_connected: Socket connection callback: 1 (0) [2023/03/10 12:50:28.981608, 2] ssh_client_connection_callback: SSH server banner: SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.1 [2023/03/10 12:50:28.981628, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.1 [2023/03/10 12:50:28.981634, 2] ssh_analyze_banner: We are talking to an OpenSSH client version: 8.9 (80900) [2023/03/10 12:50:28.982012, 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:50:28.983191, 2] ssh_kex_select_methods: Negotiated curve25519-sha...@libssh.org,ecdsa-sha2-nistp256,aes128-ctr,aes128-ctr, hmac-sha2-256-...@openssh.com,hmac-sha2-256-...@openssh.com,none,none,, [2023/03/10 12:50:28.989835, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/03/10 12:50:28.989853, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/03/10 12:50:28.989860, 2] ssh_packet_client_curve25519_reply: SSH_MSG_NEWKEYS sent [2023/03/10 12:50:28.989866, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/03/10 12:50:28.989966, 2] ssh_packet_newkeys: Signature verified and valid [2023/03/10 12:50:28.989997, 1] ssh_config_parse_line: Unsupported option: ServerAliveInterval, line: 2 [2023/03/10 12:50:28.990006, 2] ssh_config_parse_line: Unapplicable option: ForwardX11Trusted, line: 5 [2023/03/10 12:50:28.990011, 2] ssh_config_parse_line: Unapplicable option: ForwardX11, line: 6 [2023/03/10 12:50:28.990052, 2] ssh_config_parse_line: Unapplicable option: SendEnv, line: 50 [2023/03/10 12:50:28.990060, 1] ssh_config_parse_line: Unsupported option: HashKnownHosts, line: 51 [2023/03/10 12:50:28.990443, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=true [2023/03/10 12:50:28.990477, 2] ssh_pki_openssh_import: Opening OpenSSH private key: ciphername: none, kdf: none, nkeys: 1 [2023/03/10 12:50:29.085757, 2] channel_open: Creating a channel 43 with 64000 window and 32768 max packet [2023/03/10 12:50:29.208879, 2] ssh_packet_global_request: Received SSH_MSG_GLOBAL_REQUEST packet [2023/03/10 12:50:29.208917, 2] ssh_packet_global_request: UNKNOWN SSH_MSG_GLOBAL_REQUEST hostkeys...@openssh.com, want_reply = 0 [2023/03/10 12:50:29.208924, 1] ssh_packet_global_request: Invalid SSH_MSG_GLOBAL_REQUEST packet [2023/03/10 12:50:29.208931, 2] ssh_packet_ignore_callback: Received SSH_MSG_DEBUG packet [2023/03/10 12:50:29.252445, 2] ssh_packet_ignore_callback: Received SSH_MSG_DEBUG packet [2023/03/10 12:50:29.252480, 2] ssh_packet_channel_open_conf: Received a CHANNEL_OPEN_CONFIRMATION for channel 43:0 [2023/03/10 12:50:29.252486, 2] ssh_packet_channel_open_conf: Remote window : 0, maxpacket : 32768 [2023/03/10 12:50:29.256211, 2] channel_request: Channel request pty-req success [2023/03/10 12:50:29.301792, 2] channel_rcv_change_window: Adding 2097152 bytes to channel (43:0) (from 0 bytes) [2023/03/10 12:50:29.301816, 2] channel_request: Channel request exec success [2023/03/10 12:50:29.312747, 2] grow_window: growing window (channel 43:0) to 128 bytes [2023/03/10 12:50:29.312818, 1] ssh_channel_accept: No channel request of this type from server [2023/03/10 12:50:29.313383, 1] ssh_channel_accept: No channel request of this type from server [2023/03/10 12:50:29.313392, 2] channel_open: Creating
Re: [X2Go-User] Can't get X2Go connection opened, with error PANIC! The remote NX proxy closed the connection.
Hi, if you are not using kdrive then this message is totally ok. The log does not show a real problem, AFAICS. So can you please try to configure a minimum session opening only an xterm, again without any file sharing, printing, sound? Uli On Fri, Mar 10, 2023 at 11:13 AM Neal Becker wrote: > > You could use ssh -X as an alternative > > On Fri, Mar 10, 2023, 5:04 AM Ulrich Sibiller wrote: >> >> Please try x2goclient --libssh-debug, maybe it shows more information. >> >> Uli >> >> On Fri, Mar 10, 2023 at 10:58 AM Kalle Tuulos 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 >> > \nCopyright (c) 2014-2016 Ulrich Sibiller >> > \nCopyright (c) 2014-2016 Mihai Moldovan >> > \nCopyright (c) 2011-2016 Mike Gabriel >> > \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:> 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
Re: [X2Go-User] Can't get X2Go connection opened, with error PANIC! The remote NX proxy closed the connection.
You could use ssh -X as an alternative On Fri, Mar 10, 2023, 5:04 AM Ulrich Sibiller wrote: > Please try x2goclient --libssh-debug, maybe it shows more information. > > Uli > > On Fri, Mar 10, 2023 at 10:58 AM Kalle Tuulos 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.shney...@phoca-gmbh.de>\nCopyright (c) 2014-2016 Ulrich Sibiller < > ul...@gmx.de>\nCopyright (c) 2014-2016 Mihai Moldovan > \nCopyright > (c) 2011-2016 Mike Gabriel \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:> 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
Re: [X2Go-User] Can't get X2Go connection opened, with error PANIC! The remote NX proxy closed the connection.
kalle@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-sha...@libssh.org,ecdsa-sha2-nistp256,aes128-ctr,aes128-ctr, hmac-sha2-256-...@openssh.com,hmac-sha2-256-...@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...@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 128 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
Re: [X2Go-User] Can't get X2Go connection opened, with error PANIC! The remote NX proxy closed the connection.
Please try x2goclient --libssh-debug, maybe it shows more information. Uli On Fri, Mar 10, 2023 at 10:58 AM Kalle Tuulos 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 > \nCopyright (c) 2014-2016 Ulrich Sibiller > \nCopyright (c) 2014-2016 Mihai Moldovan > \nCopyright (c) 2011-2016 Mike Gabriel > \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:> 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