problem with OpenSSH X11 port forwarding

All types of networks, network stacks, and protocols supported by OpenVMS.
Post Reply

Topic author
joukj
Master
Posts: 224
Joined: Thu Aug 27, 2020 5:50 am
Reputation: 0
Status: Offline

problem with OpenSSH X11 port forwarding

Post by joukj » Fri Aug 30, 2024 9:19 am

I installed the latest OpenSSH (I01) on my OpenVMS X86_64 9.2-2 system switched the X11forwarding on and tried to use X11-forwarding when loging in from a Fedora 40 machine. It seems not to work (see the output/error list below (vleegert is the Fedora 40 machine, samba the OpenVMS machine)

What is wrong???


Jouk


Code: Select all

vleegert-jj ) ssh -X 131.180.116.46

 Welcome to OpenVMS (TM) x86_64 Operating System, Version V9.2-2  
joukj@131.180.116.46's password: 

    Last interactive login on Friday, 30-AUG-2024 14:53:33.62
    Last non-interactive login on Wednesday, 17-NOV-1858 00:00:00.00

samba-jj) sh display

    Device:    WSA12:  [user]
    Node:      samba.nano.tudelft.nl
    Transport: TCPIP
    Server:    10
    Screen:    0

samba-jj) mc decw$clock
X11 connection rejected because of wrong authentication.
XIO:  fatal IO error 65535 (network partner disconnected logical link) on X serv
er "_WSA12:"
      after 0 requests (0 known processed) with 0 events remaining.
X Error of failed request:  BadConnection (fatal error on display connection)
  Major opcode of failed request:  1 (X_CreateWindow)
  Serial number of failed request:  0
  Current serial number in output stream:  0
%XLIB-E-ERROREVENT, error event received from server
Xlib: client uses different protocol version (11) than server (0)!
X Toolkit Error: Can't Open display
%DWT-F-NOMSG, Message number 03AB8204
samba-jj) sh sys/noproc
OpenVMS V9.2-2  on node SAMBA   30-AUG-2024 14:55:45.95   Uptime  37 05:40:06


User avatar

m_detommaso
Master
Posts: 102
Joined: Thu Jun 06, 2019 6:57 am
Reputation: 1
Location: Brindisi (Italy)
Status: Offline
Contact:

Re: problem with OpenSSH X11 port forwarding

Post by m_detommaso » Fri Aug 30, 2024 10:20 am

It seems to be very similar to the problem I reported via the post :

https://forum.vmssoftware.com/viewtopic.php?f=9&t=9209

/Maurizio
Last edited by m_detommaso on Fri Aug 30, 2024 11:05 am, edited 1 time in total.

User avatar

martinv
Master
Posts: 136
Joined: Fri Jun 14, 2019 11:05 pm
Reputation: 0
Location: Goslar, Germany
Status: Offline
Contact:

Re: problem with OpenSSH X11 port forwarding

Post by martinv » Mon Sep 02, 2024 5:57 am

Just a data point: In my E9.2-3 + OpenSSH 8.9-1I01 installation, accessed from a Windows system with PuTTY 0.81 and Exceed 15 works.

Configuration settings:
SSH$ROOT:[ETC]sshd_config. : StrictModes no (another problem altogether), X11Forwarding yes
PuTTY settings : Connection / SSH / X11 : Enable X11 forwarding, display location localhost:1.0, authentication protocol MIT-Magic-Cookie-1
Exceed started in passive mode on display 1.0

I can see the file SYS$LOGIN:DECW$XAUTHORITY.DECW$XAUTH being created.

BTW: Testing with DECW$EXAMPLES:ICO.EXE often has better error messages than "normal" DECW applictions.
Last edited by martinv on Mon Sep 02, 2024 5:58 am, edited 1 time in total.
Opportunity is missed by most people because it is dressed in overalls and looks like work.
(Thomas A. Edison)

Post Reply