Home · Articles · Downloads · Hobby Wear · Forums · Web Links · News CategoriesSaturday, November 23, 2024
Navigation
Home
Articles
Downloads
Hobby Wear
FAQ
Forums
Web Links
News Categories
Contact Us
Photo Gallery
OpenVMS Bigot
Search
Users Online
Guests Online: 4
No Members Online

Registered Members: 7,708
Newest Member: nifseg
Sponsors
Island Computer
View Thread
OpenVMS Hobbyist Program | VAX Systems Forums | Emulated VAX Forum
Author simh, DECwindows and XDM
Florent
Member

Posts: 3
Joined: 01.07.11
Posted on July 04 2011 11:20
Hello, I'm a new OpenVMS hobbyist, I recently installed simh on a Linux computer and OpenVMS VAX 7.3 is installed on the emulated VAX and I can connect to my emulated VAX using telnet, everything that's needed to use DECwindows on a remote computer is installed and configured (TCPIP and XDM) but when I try to connect to my emulated VAX from another computer (a Windows computer using Cygwin/X(Xwin -ac- query "ipAdressOfMyVAX" ) ) i only get a black screen with a cross shaped pointer.

here's my XDM configuration files , 192.168.1.47 is the ip adress of my Windows computer :
XACCESS.TXT
# $XConsortium: Xaccess,v 1.5 91/08/26 11:52:51 rws Exp $
#
# Access control file for XDMCP connections
#
# To control Direct and Broadcast access:
#
# pattern
#
# To control Indirect queries:
#
# pattern list of hostnames and/or macros ...
#
# To define macros:
#
# %name list of hosts ...
#
# The first form tells xdm which displays to respond to itself.
# The second form tells xdm to forward indirect queries from hosts matching
# the specified pattern to the indicated list of hosts.
#
# In all cases, xdm uses the first entry which matches the terminal;
# for IndirectQuery messages only entries with right hand sides can
# match, for Direct and Broadcast Query messages, only entries without
# right hand sides can match.
#

* #any host can get a login window

#
# To hardwire a specific terminal to a specific host, you can
# leave the terminal sending indirect queries to this host, and
# use an entry of the form:
#

#terminal-a host-a
192.168.1.47




XSERVERS.TXT

# This file can be uses to suppport X terminals which do not support XDMCP.
#
# For each terminal, add a line that consists of
# DisplayName:0 foreign
#
# Where DisplayName is a IP name.
#
192.168.1.47:0 foreign




X_CONFIG.CONF

!
! Default SYS$SPECIFIC:[TCPIP$XDM]XDM_CONFIG.CONF file
!
DisplayManager.keyFile: SYS$SPECIFIC:[TCPIP$XDM]XDM_KEYS.TXT
DisplayManager.servers: SYS$SPECIFIC:[TCPIP$XDM]XSERVERS.TXT
DisplayManager.accessFile: SYS$SPECIFIC:[TCPIP$XDM]XACCESS.TXT
DisplayManager*RemoveDomainname: true




XSESSION.COM

$ DEFINE DECW$DISPLAY "''p1'"
$ DEFINE display "''p1'"
$ @CDE$PATH:XSESSION.COM




and there's nothing in the XDM_KEYS.TXT file
Author RE: simh, DECwindows and XDM
Florent
Member

Posts: 3
Joined: 01.07.11
Posted on July 05 2011 02:23
Now it's nearly working, I still have a black screen with a cross shaped pointer but my windows computer can connect to my openvms system here's the XDM's log
TCPIP$XDM_RUN.LOG;14 :

%SYSTEM-S-NORMAL, normal successful completion
%NONAME-F-NOMSG, Message number 00000004
xdm error (pid 531): Cannot convert Internet address 192.168.1.47 to host name





i does not understand at all what's the problem.
Edited by Florent on July 05 2011 02:28
Author RE: simh, DECwindows and XDM
martinv2
Member

Posts: 107
Location: Goslar, Germany
Joined: 02.10.07
Posted on July 17 2011 06:14
The error message is sufficiently clear (IMHO): XDM tries to get a hostname for the IP address, but this fails. Though I can't explain why this is regarded as a fatal error, I've seen it happen. The solution that worked for me: create an entry for 192.168.1.47 in the TCP/IP hosts database using

$ TCPIP SET HOST anyhostname /ADDRESS=192.168.1.47



HTH,
Martin


http://de.openvms.org/martinv/
Edited by martinv2 on July 17 2011 06:15
http://de.openvms.org/martinv/
Author RE: simh, DECwindows and XDM
Florent
Member

Posts: 3
Joined: 01.07.11
Posted on July 19 2011 00:44
now the "Cannot convert Internet address 192.168.1.47 to host name" no longer appear

but i still get a grey screen with a cross shaped pointer here's

here what's in the TCPIP$XDM.LOG

%SYSTEM-S-NORMAL, normal successful completion
%NONAME-F-NOMSG, Message number 00000004




what does that mean ?

i don't think there's somthing wrong in my configuration file but i show them anyway :

here's my LOGIN.COM file :

$! login.com for HP TCP/IP Services for OpenVMS auxiliary service




my XACCESS.TXT

#
# File name: XACCESS.TXT
# Product: HP TCP/IP Services for OpenVMS
# Version: V5.6-9
#
# © Copyright 1976, 2006 Hewlett-Packard Development Company, L.P.
#
#
# access control file for XDMCP connections
#
#
# To control Direct and Broadcast access:
#
# pattern
#
# To control Indirect queries:
#
# pattern list of hostnames and/or macros ...
#
# To define macros:
#
# %name list of hosts ...
#
# The first form tells xdm which displays to respond to itself.
# The second form tells xdm to forward indirect queries from hosts
# matching the specified pattern to the indicated list of hosts.
#
# In all cases, xdm uses the first entry which matches the terminal;
# for IndirectQuery messages only entries with right hand sides can
# match, for Direct and Broadcast Query messages, only entries without
# right hand sides can match.
#

* #any host can get a login window

#
# To hardwire a specific terminal to a specific host, you can
# leave the terminal sending indirect queries to this host, and
# use an entry of the form:
#

#terminal-a host-a




there's nothing in the XDM_KEYS.TXT file

here's my XSERVERS.TXT file

#
# File name: XSERVERS.TXT
# Product: HP TCP/IP Services for OpenVMS
# Version: V5.6-9
#
# © Copyright 1976, 2006 Hewlett-Packard Development Company, L.P.
#

#
# This file can be used to suppport X terminals which do not support XDMCP
#

#
# For each terminal, add a line that consists of
# DisplayName:0 foreign
#
# Where DisplayName is a IP name.
#
rufus.compaq.com:0 foreign




my XDM_CONFIG.CONF file :

!
! File name: XDM_CONFIG.CONF
! Product: HP TCP/IP Services for OpenVMS
! Version: V5.6-9
!
! © Copyright 1976, 2006 Hewlett-Packard Development Company, L.P.
!

!
! XDM master configuration file
!

DisplayManager.keyFile: SYS$SPECIFIC:[TCPIP$XDM]XDM_KEYS.TXT
DisplayManager.servers: SYS$SPECIFIC:[TCPIP$XDM]XSERVERS.TXT
DisplayManager.accessFile: SYS$SPECIFIC:[TCPIP$XDM]XACCESS.TXT
DisplayManager*RemoveDomainname: true




and my XDM_XSESSION.COM file :

$ DEFINE DECW$DISPLAY "''p1'"
$ DEFINE display "''p1'"
$ @CDE$PATH:XSESSION.COM



Author RE: simh, DECwindows and XDM
malmberg
Moderator

Posts: 530
Joined: 15.04.08
Posted on July 19 2011 02:26
Lets start out with something more simple:

1. See if you can just get DECW$CLOCK to display under Cygwin.
2. The ICO *ICO.EXE program is good for diagnosing X11 conditions.

I do not personally run XDM.

3. With X11, it is usually best to be running a local window manager instead of running the window manager on the remote host. I do not know if XDM gives you that option.
Author RE: simh, DECwindows and XDM
martinv2
Member

Posts: 107
Location: Goslar, Germany
Joined: 02.10.07
Posted on July 19 2011 08:18
The ICO *ICO.EXE program is good for diagnosing X11 conditions.

To be precise, it's DECW$EXAMPLES:ICO.EXE.

Going back to basic things:

- Is the XDM server enabled? (Verify with TCPIP SHOW SERVICE; to enable it, execute @SYS$MANAGER:TCPIP$CONFIG.COM and select "Server components")

- Is TCP/IP configured as an X Windows transport? (Edit SYS$MANAGER:DECW$PRIVATE_SERVER_SETUP.COM or copy it from the .TEMPLATE, and make sure it has TCPIP in the DECW$SERVER_TRANSPORTS line)

- The XDM config files are in SYS$SPECIFIC:[TCPIP$XDM] , right?

- Does the Cygwin/X log file (located at /var/log/xwin/XWin.0.log) contain any hints?

HTH,
Martin


http://de.openvms.org/martinv/
http://de.openvms.org/martinv/
Author RE: simh, DECwindows and XDM
Altivo
Member

User Avatar

Posts: 86
Location: Illinois
Joined: 26.05.07
Posted on July 22 2011 10:19
Another thing to check:

Does the file CDE$PATH:XSESSION.COM actually exist?

I don't think this is normally included in OpenVMS VAX. Certainly it is not in my installations. It does appear in the OpenVMS Alpha installations.

You may need to use SYS$SYSTEM:DECW$SESSION.EXE instead.

Or just send a login panel to the Windows machine. Sign onto the emulated VAX as SYSTEM and create a display definition that points to your windows X server.
$ SET DISPLAY/CREATE/TRANSPORT=TCPIP/NODE=ip-address-of-X-server/SERVER=X-server-session-number/PERMANENT
(note that the session number is determined by you when you start the server, and is usually 0 but can be another number--I believe you used 1 in an earlier example)
$ DEFINE/SYSTEM DECW$DISPLAY 'F$TRNLNM("DECW$DISPLAY")
(the above command converts the session-specific display definition to a system-wide one)
$ RUN SYS$SYSTEM:DECW$STARTLOGIN.EXE

This should put a login panel onto the screen of the X server. If it does not, you should get some sort of error message explaining what happened. Most typically, it would be "failed to open display" or something of that sort, which means that the transport, address, or server are unavailable. Most often it's a security issue, and at least for early testing, you may find it helpful to start the X server with access control turned off. (Not a good idea unless you are behind a firewall or on a private subnet.) In Linux/UNIX this is done by adding "-ac" to the X command. I don't know about a Windows environment.

If the approach above works, you can turn it into a script and activate it remotely if necessary. No XDM is needed at all in this case. What I found was that XDM on the OpenVMS VAX 7.3 system has a number of flaws that make it difficult to use. Among other things, it seems to be unable to start a session at all if the server number is anything other than zero.
Edited by Altivo on July 22 2011 10:19
http://altivo.dreamwidth.org/
Jump to Forum:
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Member Poll
Are you going to OpenVMS Boot Camp 2016?

Yes

No

You must login to vote.
Shoutbox
You must login to post a message.

malmberg
August 04 2022
No more VAX hobbyist licenses. Community licenses for Alpha/IA64/X86_64 VMS Software Inc. Commercial VMS software licenses for VAX available from HPE.

ozboomer
July 20 2022
Just re-visiting.. No more hobbyist licenses? Is that from vmssoftware.com, no 'community' licenses?

valdirfranco
July 01 2022
No more hobbyist license...sad

mister_wavey
February 12 2022
I recall that the disks failed on the public access VMS systems that included Fafner

parwezw
January 03 2022
Anyone know what happened to FAFNER.DYNDS.ORG? I had a hobbyist account here but can longer access the site.

gtackett
October 27 2021
Make that DECdfs _2.1A_ for Vax

gtackett
October 27 2021
I'm looking for DECdfs V2.4A kit for VAX. Asking here just in case anyone is still listening.

MarkRLV
September 17 2021
At one time, didn't this web site have a job board? I would love to use my legacy skills one last time in my career.

malmberg
January 18 2021
New Hobbyist PAKs for VAX/VMS are no longer available according to reports. Only commercial licenses are reported to be for sale from HPE

dfilip
January 16 2021
Can someone please point me to hobbyist license pak? I'm looking for VAX/VMS 7.1, DECnet Phase IV, and UCX/TCPIP ... have the 7.1 media, need the license paks ... thanks!

Bart
October 16 2020
OpenVMS, and this website!

malmberg
September 05 2020
VSI community non-commercial licenses for AXP/IA64 are available now.

malmberg
September 05 2020
See the forum about licensing. Don't know if HPE hobby licenses still being issued. Commercial licenses still being sold.

silfox70
September 01 2020
I need the license for OpenVMS7.3. Where can I find them?

malmberg
August 29 2020
Eisner, which is currently being moved, got an SSH update and the keys were updated to more modern encryption standards.

Shoutbox Archive