Setup to display to X-Windows server on Windows Host

  • Guenther
  • Topic Author
  • Visitor
  • Visitor
13 years 4 months ago #5208 by Guenther
I need to display the output of an application on FreeAXP (build 307) to the host Windows system with eXcursion server running.

It did not work with just the local Ethernet controller:

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

On OpenVMS I did:

$ SET DISPLAY/CREATE/TRANS=TCPIP/NODE=192.168.1.21

On the host Windows system I have enabled all access to the X-Windows server.

Works fine from a 'real' OpenVMS system

I heard rumours that you can do this through the "Loopback Adapter" on the Windows system. I named the loopback connection on Windows "FreeAXP" and added this to the FreeAXP configuration file after the real Ethernet controller connection:

pci11 = de500
{
adapter="Local Area Connection&quot
}

pci12 = de500
{
adapter="FreeAXP&quot
}

And I defined Interface WE1 in TCPIP$CONFIG:

1 - WE0 Menu (EWA0: TwistedPair 10mbps)
2 - 192.168.1.203/24 bugcel Configured,Active

3 - WE1 Menu (EWB0: TwistedPair 10mbps)
4 - 192.168.1.204/24 bugcel1 Configured,Active

The application (I use DECW$CLOCK for testing) hangs for quite some time and then returns the error above.

So, did someone succeed in doing this?

Thanks,
Guenther<hr>

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #5209 by iamcamiel
There's a section in the manual on how to enable host-to-emulator networking using the TAP adapter from OpenVPN:

8.2 NETWORKING AVANTI ON A SYSTEM WITH A SINGLE NIC
Assigning Avanti its own NIC on a single NIC host system is feasible using a virtual NIC.
OpenVPN is one way to create a virtual NIC under Windows. The following steps describe how to create a virtual NIC using OpenVPN 2.1.1:
1) Download the OpenVPN 2.1.1 installation package for Windows from
openvpn.net/index.php/open-source/downloads.html
2) Run the installation package, selecting only the “TAP Virtual Ethernet Adapter”.
3) Refresh the system's Network Properties. A new network connection with “TAP-Win32 Adapter V9” as the description should now be available. Rename this virtual adapter to “Avanti NIC”.
4) Go to the virtual “Avanti NIC” properties, choose “Configure”, and on the “Advanced” tab set “Media Status” to “Always Connected”.
5) Select both the physical NIC that is connected to the outside world and the virtual “Avanti NIC”, right click, and choose “Bridge connections”.
6) From a cmd window, run “NET STOP MSIPCAP” followed by “NET START MSIPCAP” to restart the Avanti PCAP driver.
7) Run the Avanti configuration utility and choose the virtual “Avanti NIC” as the network adapter.
This configuration allows the creation of network connections between the virtual Alpha, the host system, and the external network.

Please Log in or Create an account to join the conversation.

  • martinv2
  • Topic Author
  • Visitor
  • Visitor
13 years 3 months ago #5210 by martinv2
< class='quote'>And I defined Interface WE1 in TCPIP$CONFIG:

1 - WE0 Menu (EWA0: TwistedPair 10mbps)
2 - 192.168.1.203/24 bugcel Configured,Active

3 - WE1 Menu (EWB0: TwistedPair 10mbps)
4 - 192.168.1.204/24 bugcel1 Configured,Active

You got to have different subnets on WE0 and WE1 - define WE1 as 192.168.11.203/24, on the Windows side assign another (different) address to the loopback adapter in the 192.168.11.x/24 network.

Oh, and BTW: "loopback adapter" does [b:]not[/b:] mean the adapter that has 127.0.0.1. Instead:
- Go to ‘Start” / “Control Panel” / “Add Hardware”.
- In the introductory dialog box, click “Next”.
- Select “Yes, I Have Already Connected the Hardware”, and click “Next”.
- Scroll to the bottom of the Installed Hardware list box, select “Add a New Hardware Device” and click “Next".
- Select the “Install The Hardware That I Manually Select From A List (Advanced)” option and click “Next”.
- Under “Hardware Types”, select “Network Adapters”, and click “Next”.
- Under “Manufacturer”, select “Microsoft”.
- Under Network Adapter, select Microsoft Loopback Adapter.

HTH,
Martin

<hr> de.openvms.org/martinv/

Please Log in or Create an account to join the conversation.

Moderators: iamcamiel
Time to create page: 0.195 seconds
Powered by Kunena Forum