• simh and xdmcp

    From JKB@21:1/5 to All on Fri May 23 07:13:09 2025
    Hello,

    I'm trying to configure XDMCP on OpenVMS 7.3/VAX (running on simh)
    and I'm unable to obtain a running configuration.

    X server is Xephyr running on hilbert (192.168.10.103). In a first
    time, I have configured xdmcp on a foreign NetBSD server
    (legendre, 192.168.10.128).

    With followin command:
    hilbert:[~] > Xephyr -ac :1 -screen 1024x768 -listen tcp -query legendre
    a nested X server is displayed with remote XDM. I can open a
    graphical session on legendre.

    Now, as Xephyr runs as expected, I try to configure OpenVMS running
    on fermat (192.168.10.107).

    fermat can ping hilbert (there is no firewall between hilbert and
    fermat). I launch Xephyr on hilbert:
    hilbert:[~] > Xephyr -ac :1 -screen 1024x768 -listen tcp -query fermat

    tcpdump shows following packets:
    08:58:33.645218 IP hilbert.systella.fr.47532 > fermat.systella.fr.xdmcp: UDP, length 7
    08:58:33.766675 ARP, Request who-has legendre.systella.fr tell fermat.systella.fr, length 46
    08:58:33.813541 ARP, Request who-has hilbert.systella.fr tell fermat.systella.fr, length 46
    08:58:33.813558 ARP, Reply hilbert.systella.fr is-at d4:5d:64:b4:9a:3b (oui Unknown), length 28
    08:58:33.813791 IP fermat.systella.fr.xdmcp > hilbert.systella.fr.47532: UDP, length 47
    08:58:33.813959 IP hilbert.systella.fr.47532 > fermat.systella.fr.xdmcp: UDP, length 106
    08:58:35.316469 IP fermat.systella.fr.xdmcp > hilbert.systella.fr.47532: UDP, length 52
    08:58:35.316636 IP hilbert.systella.fr.47532 > fermat.systella.fr.xdmcp: UDP, length 29
    08:58:37.317081 IP hilbert.systella.fr.47532 > fermat.systella.fr.xdmcp: UDP, length 29
    08:58:38.777066 ARP, Request who-has fermat.systella.fr tell hilbert.systella.fr, length 28
    08:58:38.802655 ARP, Reply fermat.systella.fr is-at 08:00:2b:7a:39:2e (oui Unknown), length 46
    08:58:41.321144 IP hilbert.systella.fr.47532 > fermat.systella.fr.xdmcp: UDP, length 29
    08:58:49.329070 IP hilbert.systella.fr.47532 > fermat.systella.fr.xdmcp: UDP, length 29
    08:59:05.345153 IP hilbert.systella.fr.47532 > fermat.systella.fr.xdmcp: UDP, length 29
    08:59:10.521103 ARP, Request who-has fermat.systella.fr tell hilbert.systella.fr, length 28
    08:59:10.532610 ARP, Reply fermat.systella.fr is-at 08:00:2b:7a:39:2e (oui Unknown), length 46

    Thus, Xephyr (running on hilbert) sends packets to fermat (OpenVMS
    7.3) on port 177/UDP. And fermat answers.

    On VMS side, I have an error in SYS$SPECIFIC:[TCPIP$XDM]TCPIP$XDM_RUN.LOG:
    %NONAME-F-NOMSG, Message number 00000004
    %SYSTEM-S-NORMAL, normal successful completion
    %NONAME-F-NOMSG, Message number 00000004
    %SYSTEM-S-NORMAL, normal successful completion
    %NONAME-F-NOMSG, Message number 00000004
    [338 1747983672] xdm error: Cannot accept chooser connection

    XACCESS.TXT only contains:
    * #any host can get a login window

    I suppose I have done a mistake or I have a misconfiguration
    somwhere on VMS side. Help will be welcome.

    Best regards,

    JB

    PS: I have tried to open a terminal with another error:
    $ show display

    Device: WSA16: [super]
    Node: 192.168.10.103
    Transport: TCPIP
    Server: 1
    Screen: 0

    $ create/term/detach
    %DECW-E-CANT_OPEN_DISPL, Can't open display

    Of course, with the same configuration, I can open a xterm from
    foreing NetBSD server to Xephyr.


    --
    Si votre demande me parvient en code 29, je vous titiouillerai volontiers
    une réponse.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Clubley@21:1/5 to JKB on Fri May 23 18:17:28 2025
    On 2025-05-23, JKB <JKB@hilbert.invalid> wrote:

    PS: I have tried to open a terminal with another error:
    $ show display

    Device: WSA16: [super]
    Node: 192.168.10.103
    Transport: TCPIP
    Server: 1
    Screen: 0

    $ create/term/detach
    %DECW-E-CANT_OPEN_DISPL, Can't open display


    Do you have to do something with xhost to allow access ?

    It's been a _long_ time (I've run X over SSH for many years), but
    IIRC, you had to use xhost on the target device to authorise incoming connections.

    Simon.

    --
    Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
    Walking destinations on a map are further away than they appear.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jayjwa@21:1/5 to JKB on Sat May 24 13:58:00 2025
    JKB <JKB@hilbert.invalid> writes:

    I'm trying to configure XDMCP on OpenVMS 7.3/VAX (running on simh)
    and I'm unable to obtain a running configuration.

    X server is Xephyr running on hilbert (192.168.10.103). In a first
    time, I have configured xdmcp on a foreign NetBSD server
    (legendre, 192.168.10.128).

    Which TCP stack are you using? The Compaq one that comes with 7.3 is so
    old that only older things like PathWorks v7.4 under Windows or the Microvax2000 booted as a VXT off an Infoserver can catch the
    display. Something must have changed between then and now. The Multinet
    one you can catch with modern setups. At least this has been my finding
    after wrestling with it.

    Under X11, I could use either Xephyr or Xnest. Now under Wayland only
    Xnest "works", with some issues (windows don't move/resize properly). I
    have no experience with BSD to VMS: only Linux, Windows, and Solaris.

    Xephyr :1 -ac -listen tcp -screen 1200x800 -from atr2.lan -retro -query kirin.lan

    Xnest :1 -ac -listen tcp -from atr2.lan -retro -query kirin.lan

    "-ac" turns off access control; you don't have to use xhost.

    $ show display

    Device: WSA2: [user]
    Node: 192.168.20.1
    Transport: TCPIP
    Server: 1
    Screen: 0

    $ spawn /nowait mcr sys$system:decw$clock

    This is with Slackware Linux Current/Wayland. In other words, you may
    have to play around with it to get it working. If you want to use the microvax2000 off the infoserver100 (SIMH), here's the config for it
    (assuming you have a bridge and the infoserver100 on it with VXT
    installed). The software for the infoserver100/150 is in the file infoserver.zip that you see floating around online. Then you'll really
    be retro with a monochrome VXT.

    ; MicroVAX 2000 (KA410)
    ; This is set up as a diskless Virtual X Terminal
    ; to be booted off an Infoserver that serves VXT.

    ; Max memory this model will support is 16M.
    set cpu 16M
    set cpu idle
    set cpu conhalt

    ; Enable monocrome graphics display, "VC". "VA" is
    ; for color GPX, but will not boot off the infoserver
    ; (hangs).
    ;set va capture
    ;set va enable
    ;set cpu model=VAXstationGPX
    set vc capture
    set vc ena

    ; Non-volitile memory file goes here
    att nvr nvr.bin

    ; Keep a log for debugging purposes
    ;set console log=console.log

    ; Disable disk drives since this is set up as
    ; a virtual X terminal thin client
    set rd0 dis
    set rd1 dis
    set rd2 dis

    ; MAC address is set on NAR, this would be 1.16.
    ; Enable Lance ethernet controller and attach to tuntap
    set nar mac=AA:00:04:00:10:04
    set xs ena
    att xs tap:tap7

    ; Start simulator
    boot cpu

    ; Commands to boot VXT off the Infoserver:
    ; >>> b/101
    ; Bootfile: vxtldr
    ; VXTLDR> VXT.SYS
    ;
    ; Patience - it can take a while to load!
    ; Terminal group "XTERMINALS" password: VXT
    ; Manager password for group configuration: VXT
    ;
    ; EOF

    That one will work for Compaq XDM, but not Multinet XDM. Xnest/Xephyr
    work for Multinet, but not Compaq. Pathworks does both. YMMV.

    --
    PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE
    "The Internet should always be the Wild West!"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From JKB@21:1/5 to All on Sun May 25 08:15:00 2025
    Le 23-05-2025, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> a écrit :
    On 2025-05-23, JKB <JKB@hilbert.invalid> wrote:

    PS: I have tried to open a terminal with another error:
    $ show display

    Device: WSA16: [super]
    Node: 192.168.10.103
    Transport: TCPIP
    Server: 1
    Screen: 0

    $ create/term/detach
    %DECW-E-CANT_OPEN_DISPL, Can't open display


    Do you have to do something with xhost to allow access ?

    Of course. If not, NetBSD server cannot obtain an access to Xephyr.

    It's been a _long_ time (I've run X over SSH for many years), but
    IIRC, you had to use xhost on the target device to authorise incoming connections.

    Regards,

    JB

    --
    Si votre demande me parvient en code 29, je vous titiouillerai volontiers
    une réponse.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From JKB@21:1/5 to All on Sun May 25 08:27:10 2025
    Le 24-05-2025, jayjwa <jayjwa@atr2.ath.cx.invalid> a écrit :
    JKB <JKB@hilbert.invalid> writes:

    I'm trying to configure XDMCP on OpenVMS 7.3/VAX (running on simh)
    and I'm unable to obtain a running configuration.

    X server is Xephyr running on hilbert (192.168.10.103). In a first
    time, I have configured xdmcp on a foreign NetBSD server
    (legendre, 192.168.10.128).

    Which TCP stack are you using? The Compaq one that comes with 7.3 is so
    old that only older things like PathWorks v7.4 under Windows or the Microvax2000 booted as a VXT off an Infoserver can catch the
    display. Something must have changed between then and now. The Multinet
    one you can catch with modern setups. At least this has been my finding
    after wrestling with it.

    $ product show product tcpip
    ----------------------------------- ----------- ------------
    PRODUCT KIT TYPE STATE ----------------------------------- ----------- ------------
    DEC VAXVMS TCPIP V5.3-18 Full LP Installed ----------------------------------- ----------- ------------

    Under X11, I could use either Xephyr or Xnest. Now under Wayland only
    Xnest "works", with some issues (windows don't move/resize properly). I
    have no experience with BSD to VMS: only Linux, Windows, and Solaris.

    I use X11.

    Xephyr :1 -ac -listen tcp -screen 1200x800 -from atr2.lan -retro -query kirin.lan

    Xnest :1 -ac -listen tcp -from atr2.lan -retro -query kirin.lan

    "-ac" turns off access control; you don't have to use xhost.

    $ show display

    Device: WSA2: [user]
    Node: 192.168.20.1
    Transport: TCPIP
    Server: 1
    Screen: 0

    $ spawn /nowait mcr sys$system:decw$clock

    I have tried with Xnest with the same result:

    $ set display/create/node=192.168.10.103/transport=tcpip/server=1
    $ show display

    Device: WSA17: [super]
    Node: 192.168.10.103
    Transport: TCPIP
    Server: 1
    Screen: 0

    $ mcr sys$system:decw$clock
    X Toolkit Error: Can't Open display
    %DWT-F-NOMSG, Message number 03AB8204

    This is with Slackware Linux Current/Wayland. In other words, you may
    have to play around with it to get it working. If you want to use the microvax2000 off the infoserver100 (SIMH), here's the config for it
    (assuming you have a bridge and the infoserver100 on it with VXT
    installed). The software for the infoserver100/150 is in the file infoserver.zip that you see floating around online. Then you'll really
    be retro with a monochrome VXT.

    ; MicroVAX 2000 (KA410)
    ; This is set up as a diskless Virtual X Terminal
    ; to be booted off an Infoserver that serves VXT.

    ; Max memory this model will support is 16M.
    set cpu 16M
    set cpu idle
    set cpu conhalt

    ; Enable monocrome graphics display, "VC". "VA" is
    ; for color GPX, but will not boot off the infoserver
    ; (hangs).
    ;set va capture
    ;set va enable
    ;set cpu model=VAXstationGPX
    set vc capture
    set vc ena

    ; Non-volitile memory file goes here
    att nvr nvr.bin

    ; Keep a log for debugging purposes
    ;set console log=console.log

    ; Disable disk drives since this is set up as
    ; a virtual X terminal thin client
    set rd0 dis
    set rd1 dis
    set rd2 dis

    ; MAC address is set on NAR, this would be 1.16.
    ; Enable Lance ethernet controller and attach to tuntap
    set nar mac=AA:00:04:00:10:04
    set xs ena
    att xs tap:tap7

    ; Start simulator
    boot cpu

    ; Commands to boot VXT off the Infoserver:
    ; >>> b/101
    ; Bootfile: vxtldr
    ; VXTLDR> VXT.SYS
    ;
    ; Patience - it can take a while to load!
    ; Terminal group "XTERMINALS" password: VXT
    ; Manager password for group configuration: VXT
    ;
    ; EOF

    That one will work for Compaq XDM, but not Multinet XDM. Xnest/Xephyr
    work for Multinet, but not Compaq. Pathworks does both. YMMV.

    I will try xdm /after/ I'm able to display clock on Xnest/Xephyr. I
    don't understand why VMS answers "can't open display"...

    Best regards,

    JB

    --
    Si votre demande me parvient en code 29, je vous titiouillerai volontiers
    une réponse.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to JKB on Sun May 25 09:44:59 2025
    On Sun, 25 May 2025 08:27:10 -0000 (UTC), JKB wrote:

    X Toolkit Error: Can't Open display
    %DWT-F-NOMSG, Message number 03AB8204

    ...

    I don't understand why VMS answers "can't open display"...

    Presumably that error code will give you a clue, you just don’t have a message section loaded that will show the corresponding message.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Lawrence D'Oliveiro on Sun May 25 09:08:10 2025
    On 5/25/2025 5:44 AM, Lawrence D'Oliveiro wrote:
    On Sun, 25 May 2025 08:27:10 -0000 (UTC), JKB wrote:
    X Toolkit Error: Can't Open display
    %DWT-F-NOMSG, Message number 03AB8204

    ...

    I don't understand why VMS answers "can't open display"...

    Presumably that error code will give you a clue, you just don’t have a message section loaded that will show the corresponding message.


    Unfortunately:

    $ exit %x03ab8204
    %DWT-F-NOMSG, Message number 03AB8204
    $ set mes sys$message:decw$dwtmsg
    $ exit %x03ab8204
    %DWT-F-DWTABORT, xtoolkit fatal error

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jayjwa@21:1/5 to JKB on Sun May 25 13:05:42 2025
    JKB <JKB@hilbert.invalid> writes:

    $ product show product tcpip

    PRODUCT KIT TYPE STATE

    DEC VAXVMS TCPIP V5.3-18 Full LP Installed ----------------------------------- ----------- ------------
    That looks like the Compaq one.

    I have tried with Xnest with the same result:

    $ set display/create/node=192.168.10.103/transport=tcpip/server=1
    $ show display

    Device: WSA17: [super]
    Node: 192.168.10.103
    Transport: TCPIP
    Server: 1
    Screen: 0
    You shouldn't have to set the display. That's the job of XDM. You only
    have to do that if you rlogin/telnet or similar.

    I will try xdm /after/ I'm able to display clock on Xnest/Xephyr. I
    don't understand why VMS answers "can't open display"...
    I guess I'm confused then, because your subject mentioned xdmcp. I
    though you were using XDM.

    If you are doing it "by hand", then just start Xnest/Xephyr with "-ac"
    to turn off access control. From the VMS side, you can execute something
    like this:

    $ type xephyr.com
    $! Command procedure to send X11 traffic to a Xephyr
    $! nested XServer, by setting the DISPLAY.
    $ SET DISPLAY/CREATE/TRANSPORT=TCPIP/NODE=192.168.20.1/SERVER=1/PERMANENT
    $ DEFINE/SYSTEM DECW$DISPLAY 'F$TRNLNM("DECW$DISPLAY")
    $ RUN SYS$SYSTEM:DECW$STARTLOGIN.EXE
    $

    SERVER corresponds with what Unix calls the :1.0 part of DISPLAY
    (matching the above example). Chances are you main desktop is :0.0, so Xnest/Xephr would then be :1.0.

    If you enable XDM, you don't have to run the above each time, and you'll
    get a log file to check if something doesn't go right.

    TCPIP> show service xdm /full

    Service: XDM
    State: Enabled
    Port: 177 Protocol: UDP Address: 0.0.0.0 Inactivity: 0 User_name: TCPIP$XDM Process: TCPIP$XDM Limit: 1 Active: 0 Peak: 0

    File: TCPIP$SYSTEM:TCPIP$XDM_RUN.COM
    Flags: None

    Socket Opts: Rcheck Scheck
    Receive: 0 Send: 0

    Log Opts: Acpt Actv Dactv Conn Error Exit Logi Logo Mdfy Rjct TimO Addr
    File: SYS$SPECIFIC:[TCPIP$XDM]TCPIP$XDM_RUN.LOG

    Security
    Reject msg: not defined
    Accept host: 0.0.0.0
    Accept netw: 0.0.0.0
    TCPIP> exit
    $ type SYS$SPECIFIC:[TCPIP$XDM]TCPIP$XDM_RUN.LOG
    $ Set NoOn
    $ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY"))
    12-MAY-2025 14:49:57.83 - Waiting for DECwindows to start...
    12-MAY-2025 14:50:02.83 - Waiting for DECwindows to start...
    12-MAY-2025 14:50:07.83 - Waiting for DECwindows to start...
    %SYSTEM-S-NORMAL, normal successful completion
    %SYSTEM-S-NORMAL, normal successful completion
    %SYSTEM-S-NORMAL, normal successful completion
    %SYSTEM-S-NORMAL, normal successful completion
    %SYSTEM-S-NORMAL, normal successful completion
    %SYSTEM-S-NORMAL, normal successful completion
    $

    --
    PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE
    "The Internet should always be the Wild West!"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Sun May 25 21:39:15 2025
    On Sun, 25 May 2025 09:08:10 -0400, Arne Vajhøj wrote:

    On 5/25/2025 5:44 AM, Lawrence D'Oliveiro wrote:

    Presumably that error code will give you a clue, you just don’t have a
    message section loaded that will show the corresponding message.

    Unfortunately:

    $ exit %x03ab8204
    %DWT-F-NOMSG, Message number 03AB8204
    $ set mes sys$message:decw$dwtmsg
    $ exit %x03ab8204
    %DWT-F-DWTABORT, xtoolkit fatal error

    This is a job for RUN/DEBUG ... isn’t it?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From JKB@21:1/5 to All on Mon May 26 11:10:27 2025
    Le 25-05-2025, jayjwa <jayjwa@atr2.ath.cx.invalid> a écrit :
    JKB <JKB@hilbert.invalid> writes:

    $ product show product tcpip

    PRODUCT KIT TYPE STATE

    DEC VAXVMS TCPIP V5.3-18 Full LP Installed
    ----------------------------------- ----------- ------------
    That looks like the Compaq one.

    I have tried with Xnest with the same result:

    $ set display/create/node=192.168.10.103/transport=tcpip/server=1
    $ show display

    Device: WSA17: [super]
    Node: 192.168.10.103
    Transport: TCPIP
    Server: 1
    Screen: 0
    You shouldn't have to set the display. That's the job of XDM. You only
    have to do that if you rlogin/telnet or similar.

    Yes, I know. Goal is to use xdmcp, but I'm trying in a first time to
    display a single window on Xephyr or Xnest.

    I will try xdm /after/ I'm able to display clock on Xnest/Xephyr. I
    don't understand why VMS answers "can't open display"...
    I guess I'm confused then, because your subject mentioned xdmcp. I
    though you were using XDM.

    If you are doing it "by hand", then just start Xnest/Xephyr with "-ac"
    to turn off access control. From the VMS side, you can execute something
    like this:

    $ type xephyr.com
    $! Command procedure to send X11 traffic to a Xephyr
    $! nested XServer, by setting the DISPLAY.
    $ SET DISPLAY/CREATE/TRANSPORT=TCPIP/NODE=192.168.20.1/SERVER=1/PERMANENT
    $ DEFINE/SYSTEM DECW$DISPLAY 'F$TRNLNM("DECW$DISPLAY")
    $ RUN SYS$SYSTEM:DECW$STARTLOGIN.EXE
    $

    SERVER corresponds with what Unix calls the :1.0 part of DISPLAY
    (matching the above example). Chances are you main desktop is :0.0, so Xnest/Xephr would then be :1.0.

    On Linux side, I use :
    $ Xephyr -ac :1 -screen 1024x768 -listen tcp -query 192.168.10.107

    On VMS side:
    $ set display/create/node=192.168.10.103/transport=tcpip/server=1
    $ DEFINE/SYSTEM DECW$DISPLAY 'F$TRNLNM("DECW$DISPLAY")
    $ RUN SYS$SYSTEM:DECW$STARTLOGIN.EXE
    $

    No error, but startlogin doesn't appear on Xephyr.

    $ mcr sys$system:decw$clock
    X Toolkit Error: Can't Open display
    %DWT-F-NOMSG, Message number 03AB8204


    If you enable XDM, you don't have to run the above each time, and you'll
    get a log file to check if something doesn't go right.

    TCPIP> show service xdm /full

    Service: XDM
    State: Enabled
    Port: 177 Protocol: UDP Address: 0.0.0.0 Inactivity: 0 User_name: TCPIP$XDM Process: TCPIP$XDM Limit: 1 Active: 0 Peak: 0

    File: TCPIP$SYSTEM:TCPIP$XDM_RUN.COM
    Flags: None

    Socket Opts: Rcheck Scheck
    Receive: 0 Send: 0

    Log Opts: Acpt Actv Dactv Conn Error Exit Logi Logo Mdfy Rjct TimO Addr
    File: SYS$SPECIFIC:[TCPIP$XDM]TCPIP$XDM_RUN.LOG

    Security
    Reject msg: not defined
    Accept host: 0.0.0.0
    Accept netw: 0.0.0.0
    TCPIP> exit

    $ tcpip
    TCPIP> show service xdm /full

    Service: XDM
    State: Enabled
    Port: 177 Protocol: UDP Address: 0.0.0.0 Inactivity: 0 User_name: TCPIP$XDM Process: TCPIP$XDM Limit: 1 Active: 0 Peak: 0

    File: TCPIP$SYSTEM:TCPIP$XDM_RUN.COM
    Flags: None

    Socket Opts: Rcheck Scheck
    Receive: 0 Send: 0

    Log Opts: Acpt Actv Dactv Conn Error Exit Logi Logo Mdfy Rjct TimO Addr
    File: SYS$SPECIFIC:[TCPIP$XDM]TCPIP$XDM_RUN.LOG

    Security
    Reject msg: not defined
    Accept host: 0.0.0.0
    Accept netw: 0.0.0.0
    TCPIP>

    $ type SYS$SPECIFIC:[TCPIP$XDM]TCPIP$XDM_RUN.LOG
    $ Set NoOn
    $ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY"))
    12-MAY-2025 14:49:57.83 - Waiting for DECwindows to start...
    12-MAY-2025 14:50:02.83 - Waiting for DECwindows to start...
    12-MAY-2025 14:50:07.83 - Waiting for DECwindows to start... %SYSTEM-S-NORMAL, normal successful completion
    %SYSTEM-S-NORMAL, normal successful completion
    %SYSTEM-S-NORMAL, normal successful completion
    %SYSTEM-S-NORMAL, normal successful completion
    %SYSTEM-S-NORMAL, normal successful completion
    %SYSTEM-S-NORMAL, normal successful completion
    $


    In SYS$SPECIFIC:[TCPIP$XDM]TCPIP$XDM_RUN.LOG, I have a lot of %SYSTEM-S-NORMAL, normal successful completion
    %NONAME-F-NOMSG, Message number 00000004

    Best regards,

    JB

    --
    Si votre demande me parvient en code 29, je vous titiouillerai volontiers
    une réponse.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jayjwa@21:1/5 to JKB on Mon May 26 15:11:02 2025
    JKB <JKB@hilbert.invalid> writes:

    On Linux side, I use :
    $ Xephyr -ac :1 -screen 1024x768 -listen tcp -query 192.168.10.107

    On VMS side:
    $ set display/create/node=192.168.10.103/transport=tcpip/server=1
    $ DEFINE/SYSTEM DECW$DISPLAY 'F$TRNLNM("DECW$DISPLAY")
    $ RUN SYS$SYSTEM:DECW$STARTLOGIN.EXE
    $

    No error, but startlogin doesn't appear on Xephyr.

    $ mcr sys$system:decw$clock
    X Toolkit Error: Can't Open display
    %DWT-F-NOMSG, Message number 03AB8204

    If you want to do it "by hand" as above, leave off everything from
    "-query" onward, including IP address. If you want to use XDM, use the
    -query flag with IP and don't run any procedure on the VMS side. You're
    mixing two different things: you're telling Xephyr to contact an X
    Display Manager at 192.168.10.107 and then trying to manually start
    another session on top of 192.168.10.103:1.0

    --
    PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE
    "The Internet should always be the Wild West!"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From JKB@21:1/5 to All on Tue May 27 06:12:22 2025
    Le 26-05-2025, jayjwa <jayjwa@atr2.ath.cx.invalid> a écrit :
    JKB <JKB@hilbert.invalid> writes:

    On Linux side, I use :
    $ Xephyr -ac :1 -screen 1024x768 -listen tcp -query 192.168.10.107

    On VMS side:
    $ set display/create/node=192.168.10.103/transport=tcpip/server=1
    $ DEFINE/SYSTEM DECW$DISPLAY 'F$TRNLNM("DECW$DISPLAY")
    $ RUN SYS$SYSTEM:DECW$STARTLOGIN.EXE
    $

    No error, but startlogin doesn't appear on Xephyr.

    $ mcr sys$system:decw$clock
    X Toolkit Error: Can't Open display
    %DWT-F-NOMSG, Message number 03AB8204

    If you want to do it "by hand" as above, leave off everything from
    "-query" onward, including IP address. If you want to use XDM, use the
    -query flag with IP and don't run any procedure on the VMS side. You're mixing two different things: you're telling Xephyr to contact an X
    Display Manager at 192.168.10.107 and then trying to manually start
    another session on top of 192.168.10.103:1.0

    OK.

    Let consider :
    - hilbert (Linux Workstation) that runs Xephyr, 192.168.10.103 ;
    - legendre (NetBSD server), 192.168.10.128 ;
    - fermat (VAX, OpenVMS 7.3), 192.168.10.107.

    Hilbert runs Xephyr -ac :1 -screen 1024x768 -listen tcp. On
    legendre, export DISPLAY=hilbert:1.0 && xterm launches xterm on
    Xephyr display as expected.

    Now, on VMS side:
    $ tcpip
    TCPIP> ping hilbert
    PING hilbert.systella.fr (192.168.10.103): 56 data bytes
    64 bytes from 192.168.10.103: icmp_seq=0 ttl=64 time=20 ms
    Cancel
    ----hilbert.systella.fr PING Statistics----
    1 packets transmitted, 1 packets received, 0% packet loss
    round-trip (ms) min/avg/max = 20/20/20 ms
    TCPIP> exit
    $ set display/create/node=192.168.10.103/transport=tcpip/server=1
    $ show display

    Device: WSA21: [super]
    Node: 192.168.10.103
    Transport: TCPIP
    Server: 1
    Screen: 0

    $ mcr sys$system:decw$clock
    X Toolkit Error: Can't Open display
    %DWT-F-NOMSG, Message number 03AB8204
    $

    I don't understand difference between BSD export DISPLAY && xterm
    and VMS set/display followed by mcr. There is no firewall on LAN.

    Best regards,

    JB

    --
    Si votre demande me parvient en code 29, je vous titiouillerai volontiers
    une réponse.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From JKB@21:1/5 to All on Tue May 27 12:31:46 2025
    Le 27-05-2025, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> a écrit :
    On 2025-05-27, JKB <JKB@hilbert.invalid> wrote:

    $ mcr sys$system:decw$clock
    X Toolkit Error: Can't Open display
    %DWT-F-NOMSG, Message number 03AB8204
    $

    I don't understand difference between BSD export DISPLAY && xterm
    and VMS set/display followed by mcr. There is no firewall on LAN.


    This is now a job for Wireshark.

    I don't have wireshark but I have tried to check traffic with
    tcpdump.

    Between NetBSD server and Xephyr, when I try to open an xterm,
    there is a lot of packets on port x11-1. Now, I check packets
    between Xephyr and OpenVMS :

    Root hilbert:[~] > tcpdump -p host 192.168.10.107 and ! port 23
    tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes 14:29:53.056530 ARP, Request who-has hilbert.systella.fr tell fermat.systella.fr, length 46
    14:29:53.056557 ARP, Reply hilbert.systella.fr is-at d4:5d:64:b4:9a:3b (oui Unknown), length 28

    Of course, I have tried to run mcr sys$system:decw$clock on VMS's
    side. Thus, VMS does't send packet to Xephyr even is display is set:
    $ mcr sys$system:decw$clock
    X Toolkit Error: Can't Open display
    %DWT-F-NOMSG, Message number 03AB8204
    $ show display

    Device: WSA21: [super]
    Node: 192.168.10.103
    Transport: TCPIP
    Server: 1
    Screen: 0

    $

    Best regards,

    JB

    --
    Si votre demande me parvient en code 29, je vous titiouillerai volontiers
    une réponse.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Clubley@21:1/5 to JKB on Tue May 27 12:18:54 2025
    On 2025-05-27, JKB <JKB@hilbert.invalid> wrote:

    $ mcr sys$system:decw$clock
    X Toolkit Error: Can't Open display
    %DWT-F-NOMSG, Message number 03AB8204
    $

    I don't understand difference between BSD export DISPLAY && xterm
    and VMS set/display followed by mcr. There is no firewall on LAN.


    This is now a job for Wireshark.

    Simon.

    --
    Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
    Walking destinations on a map are further away than they appear.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jayjwa@21:1/5 to JKB on Tue May 27 16:10:07 2025
    JKB <JKB@hilbert.invalid> writes:

    I don't understand difference between BSD export DISPLAY && xterm
    and VMS set/display followed by mcr. There is no firewall on LAN.
    There's not one. Those are the correct commands. From 192.168.20.1 to 192.168.20.3. I left the xkeyboard and font errors in for completeness.

    ≻ Xephyr :1 -ac -listen tcp -screen 1024x768 -from atr2.lan &
    ≻ The XKEYBOARD keymap compiler (xkbcomp) reports:
    Warning: Could not resolve keysym XF86RefreshRateToggle
    Warning: Could not resolve keysym XF86Accessibility
    Warning: Could not resolve keysym XF86DoNotDisturb
    Errors from xkbcomp are not fatal to the X server
    r rlogin lunast
    [TNDRIVER: Proxy login for user "jayjwa" in progress ...]

    $ set display /create /node=192.168.20.1 /transport=tcpip /server=1
    $ show display

    Device: WSA19: [super]
    Node: 192.168.20.1
    Transport: TCPIP
    Server: 1
    Screen: 0

    $ mcr decw$clock
    X Toolkit Warning: Cannot convert string "-*-Menu-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
    X Toolkit Warning: Cannot convert string "-*-Menu-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
    X Toolkit Warning: Cannot convert string "-*-Menu-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
    X Toolkit Warning: Cannot convert string "-*-Menu-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct

    (decwclock shows). You may have to consider your install/software kit is
    faulty if you are otherwise able to make TCP connections to/from the node.

    $ @DECW$VERSIONS.COM
    DECwindows ident is DW T1.2-6010221
    DECwindows server ident is DW V7.1-010215
    DECwindows transport ident is DW V7.3-010215
    DECwindows xlib ident is DW T1.2-6010221
    DECwindows OSF/Motif Toolkit ident is DW T1.2-6010221
    DECwindows apps ident is DW V1.2-6010221
    DECwindows programming ident is DW T1.2-6010221

    $ product show product tcpip
    ----------------------------------- ----------- ------------
    PRODUCT KIT TYPE STATE ----------------------------------- ----------- ------------
    DEC VAXVMS TCPIP V5.1-15 Full LP Installed ----------------------------------- ----------- ------------

    1 item found

    Other than that, I think I am out of ideas.

    --
    PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE
    "The Internet should always be the Wild West!"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to JKB on Tue May 27 21:29:34 2025
    On Tue, 27 May 2025 12:31:46 -0000 (UTC), JKB wrote:

    I don't have wireshark but I have tried to check traffic with
    tcpdump.

    On Debian or derivatives, it’s just an apt-get install away. Just as with
    any other package.

    <https://packages.debian.org/bookworm/wireshark>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From JKB@21:1/5 to All on Sun Jun 1 16:34:26 2025
    Le 27-05-2025, jayjwa <jayjwa@atr2.ath.cx.invalid> a écrit :
    JKB <JKB@hilbert.invalid> writes:

    I don't understand difference between BSD export DISPLAY && xterm
    and VMS set/display followed by mcr. There is no firewall on LAN.
    There's not one. Those are the correct commands. From 192.168.20.1 to 192.168.20.3. I left the xkeyboard and font errors in for completeness.

    ≻ Xephyr :1 -ac -listen tcp -screen 1024x768 -from atr2.lan &
    ≻ The XKEYBOARD keymap compiler (xkbcomp) reports:
    Warning: Could not resolve keysym XF86RefreshRateToggle
    Warning: Could not resolve keysym XF86Accessibility
    Warning: Could not resolve keysym XF86DoNotDisturb
    Errors from xkbcomp are not fatal to the X server
    r rlogin lunast
    [TNDRIVER: Proxy login for user "jayjwa" in progress ...]

    $ set display /create /node=192.168.20.1 /transport=tcpip /server=1
    $ show display

    Device: WSA19: [super]
    Node: 192.168.20.1
    Transport: TCPIP
    Server: 1
    Screen: 0

    $ mcr decw$clock
    X Toolkit Warning: Cannot convert string "-*-Menu-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
    X Toolkit Warning: Cannot convert string "-*-Menu-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
    X Toolkit Warning: Cannot convert string "-*-Menu-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
    X Toolkit Warning: Cannot convert string "-*-Menu-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct

    I have tried without success:
    hilbert:[~] > Xephyr :1 -ac -listen tcp -screen 1024x768 -from fermat.systella.fr

    $ set display /create /node=192.168.10.103/transport=tcpip /server=1
    $ show display

    Device: WSA1: [super]
    Node: 192.168.10.103
    Transport: TCPIP
    Server: 1
    Screen: 0

    $ mcr decw$clock
    X Toolkit Error: Can't Open display
    %DWT-F-NOMSG, Message number 03AB8204

    Same error.

    (decwclock shows). You may have to consider your install/software kit is faulty if you are otherwise able to make TCP connections to/from the node.

    No firewall, all ports opened in both directions.

    Host that runs simh (Rpi 3B running Linux Devuan) is able to open X
    applications on Xephyr.

    My version of simh was built from source (https://github.com/simh).

    $ @DECW$VERSIONS.COM
    DECwindows ident is DW T1.2-6010221
    DECwindows server ident is DW V7.1-010215
    DECwindows transport ident is DW V7.3-010215
    DECwindows xlib ident is DW T1.2-6010221
    DECwindows OSF/Motif Toolkit ident is DW T1.2-6010221
    DECwindows apps ident is DW V1.2-6010221
    DECwindows programming ident is DW T1.2-6010221

    Here:

    $ @SYS$UPDATE:DECW$VERSIONS
    DECwindows ident is DW T1.2-6010221
    DECwindows server ident is DW V7.1-010215
    DECwindows transport ident is DECWINDOWS V5.4
    not yours : DW V7.3-010215
    DECwindows xlib ident is DW T1.2-6010221
    DECwindows OSF/Motif Toolkit ident is DW T1.2-6010221
    DECwindows apps ident is DW V1.2-6010221
    DECwindows programming ident is DW T1.2-6010221

    $ product show product tcpip
    ----------------------------------- ----------- ------------
    PRODUCT KIT TYPE STATE ----------------------------------- ----------- ------------
    DEC VAXVMS TCPIP V5.1-15 Full LP Installed ----------------------------------- ----------- ------------

    1 item found

    $ product show product tcpip
    ----------------------------------- ----------- ------------
    PRODUCT KIT TYPE STATE ----------------------------------- ----------- ------------
    DEC VAXVMS TCPIP V5.3-18 Full LP Installed ----------------------------------- ----------- ------------

    I suppose there are some differences between DECWINDOWS V5.4
    transport and DW V7.3-010215. If I remeber, I have installed X from
    official OpenVMS 7.3 CD... Where can I find DW V7.3-010215 ?

    Best regards,

    JB

    --
    Si votre demande me parvient en code 29, je vous titiouillerai volontiers
    une réponse.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)