X11 error

avatar

OS Ubuntu 24.04
uname -a
Linux paryav-HPG6 6.13.0-061300rc1-generic #202412012327 SMP PREEMPT_DYNAMIC Wed Dec 4 20:14:29 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

x11 forwarding error

[4/29/2025 9:14:13 PM] Starting SSH, verbose level: 4
[4/29/2025 9:14:13 PM] Setting up connection
[4/29/2025 9:14:13 PM] Connecting to port: 22 (IPv4 - 6)
[4/29/2025 9:14:13 PM] SSH banner: SSH-2.0-OpenSSH_9.6p1 Ubuntu-3ubuntu13.11
[4/29/2025 9:14:13 PM] Sending kex init
[4/29/2025 9:14:13 PM] Received kex init
[4/29/2025 9:14:13 PM] Selected algorithms: curve25519-sha256(strict), ssh-ed25519, chacha20-poly1305@openssh.com, chacha20-poly1305@openssh.com, implicit by cipher, implicit by cipher, none, none
[4/29/2025 9:14:13 PM] Sending Ed25519 kex init
[4/29/2025 9:14:14 PM] Received Ed25519 kex reply
[4/29/2025 9:14:14 PM] Successfully authentified server
[4/29/2025 9:14:14 PM] Sending new keys message
[4/29/2025 9:14:14 PM] Received new keys message
[4/29/2025 9:14:14 PM] Sending userauth service request
[4/29/2025 9:14:14 PM] Received extension info message
[4/29/2025 9:14:14 PM] Server accepts public key types: ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
[4/29/2025 9:14:14 PM] Received service accepted message
[4/29/2025 9:14:14 PM] Sending userauth init request
[4/29/2025 9:14:14 PM] Received userauth failure: publickey,gssapi-keyex,gssapi-with-mic,password,keyboard-interactive
[4/29/2025 9:14:14 PM] Starting interactive authentication
[4/29/2025 9:14:14 PM] Sending userauth interactive request
[4/29/2025 9:14:14 PM] Received userauth info request:
[Prompt->Password: ]
[4/29/2025 9:14:14 PM] Sending userauth interactive response: 1
[4/29/2025 9:14:14 PM] Received userauth info request:
[4/29/2025 9:14:14 PM] Sending userauth interactive response: 0
[4/29/2025 9:14:14 PM] Received userauth success
[4/29/2025 9:14:14 PM] User authenticated successfuly by password interactive
[4/29/2025 9:14:14 PM] Sending session channel open request: 0/-
[4/29/2025 9:14:15 PM] Received global request: hostkeys-00@openssh.com , no need to reply
[4/29/2025 9:14:15 PM] Received channel open confirmation: 0/0 WS 200000/0 MPS 32000/32768
[4/29/2025 9:14:15 PM] Sending pty request: 0/0 xterm-256color width = 164 height = 49
[4/29/2025 9:14:15 PM] Received channel success: 0/0
[4/29/2025 9:14:15 PM] Sending environment variable request: LANG=en_US.UTF-8 0/0
[4/29/2025 9:14:15 PM] Received channel success: 0/0
[4/29/2025 9:14:15 PM] Display name for X11 forwarding: localhost:0
[4/29/2025 9:14:15 PM] Using X authority file: /run/user/1000/gdm/Xauthority
[4/29/2025 9:14:15 PM] Using local MIT magic cookie for display: paryav-HPG6:
[4/29/2025 9:14:15 PM] Sending X11 forwarding request: MIT-MAGIC-COOKIE-1 (32 auth bytes) 0/0
[4/29/2025 9:14:15 PM] Received channel success: 0/0
[4/29/2025 9:14:15 PM] Sending shell request: 0/0
[4/29/2025 9:14:15 PM] Received window adjust: 0/0 2097152
[4/29/2025 9:14:15 PM] Received channel success: 0/0
[4/29/2025 9:14:15 PM] Sending pty size change: 0/0 width = 164 height = 49
[4/29/2025 9:14:15 PM] New Data 1268 bytes
Welcome to Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-57-generic x86_64)

* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro

System information as of вівторок, 29 квітня 2025 22:14:25 +0300

System load: 0.05 Processes: 229
Usage of /: 1.8% of 489.11GB Users logged in: 0
Memory usage: 13% IPv4 address for ens192: 10.229.229.150
Swap usage: 0%

* Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
just raised the bar for easy, resilient and secure K8s cluster deployment.

https://ubuntu.com/engage/secure-kubernetes-at-the-edge

Expanded Security Maintenance for Applications is not enabled.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status


*** Потрібно перезавантажити систему ***
Last login: Tue Apr 29 22:07:30 2025 from 10.229.229.149
[4/29/2025 9:14:15 PM] New Data 82 bytes
paryav@kv-v37-mgmt:~$ [4/29/2025 9:14:16 PM] Sending session channel open request: 1/-
[4/29/2025 9:14:16 PM] Sending pty size change: 0/0 width = 139 height = 49
[4/29/2025 9:14:16 PM] Received channel open confirmation: 1/3 WS 200000/0 MPS 32000/32768
[4/29/2025 9:14:16 PM] Sending subsystem request: 1/3 sftp
[4/29/2025 9:14:16 PM] New Data 79 bytes
@mgmt:~$ [4/29/2025 9:14:16 PM] Received window adjust: 1/3 2097152
[4/29/2025 9:14:16 PM] Received channel success: 1/3
[4/29/2025 9:14:16 PM] New Data 322 bytes
[4/29/2025 9:14:16 PM] New Data 49 bytes
[4/29/2025 9:14:16 PM] New Data 17 bytes
[4/29/2025 9:14:16 PM] New Data 901 bytes
[4/29/2025 9:14:16 PM] New Data 32 bytes
[4/29/2025 9:14:16 PM] New Data 28 bytes
[4/29/2025 9:14:29 PM] New Data 93 bytes

paryav@kv-v37-mgmt:~$ [4/29/2025 9:14:29 PM] New Data 6 bytes
xclock[4/29/2025 9:14:31 PM] New Data 19 bytes
echo $DISPLAY[4/29/2025 9:14:32 PM] New Data 109 bytes

localhost:10.0
@mgmt:~$ [4/29/2025 9:14:33 PM] New Data 13 bytes
echo $DISPLAY[4/29/2025 9:14:33 PM] New Data 23 bytes
xclock[4/29/2025 9:14:34 PM] New Data 2 bytes

[4/29/2025 9:14:34 PM] New Data 9 bytes
[4/29/2025 9:14:34 PM] Received channel open request: X11
[4/29/2025 9:14:34 PM] Connecting to X server: localhost:6000
[4/29/2025 9:14:34 PM] Successfully established X11 connection
[4/29/2025 9:14:34 PM] Sending channel open confirmation: 2/4
[4/29/2025 9:14:34 PM] Sending channel close request: 2/4
State error, ending connection X11
[(-22) Connection reset.]
[4/29/2025 9:14:34 PM] New Data 48 bytes
[4/29/2025 9:14:34 PM] Received channel close request: 2/4
[4/29/2025 9:14:34 PM] Channel is closed: 2/4
[4/29/2025 9:14:34 PM] New Data 43 bytes
Error: Can't open display: localhost:10.0
[4/29/2025 9:14:34 PM] New Data 82 bytes
@mgmt:~$

p.s. Putty work normal

All Comments (1)

avatar

Hello,

Interestingly, I’m not experiencing any issues with X11 on RDM Linux.

Could you please check the SSH entry properties? Navigate to SSH Terminal → X11 and ensure that X11 forwarding is enabled and configured correctly.

Please keep us informed about your progress.

Best regards,

Carl Marien