Re: X Windows App



DJ wrote:
All,

Since I am new to OpenVMS I would like to make sure I am not missing
something in my OpenVMS environment that would be causing me not to
run X Windows applications remotely. I have been reading a non-VMS
specific Xlib threads but have not found a solution.

I have Cygwin running on my workstation connecting to one of my Linux
servers. From my linux server I connect to a client's Linux server
via a command similar to:

ssh -X me@them

I can then run something like xclock on their Linux box and have it
display. I then run on their Linux box:

xhost +vms_host_name_here (or xhost +)

And then telnet to the OpenVMS box. If I now run (found on Internet
this morning):

create /term /detach

I receive:

Xlib: connection to "_WSA54:" refused by server
Xlib: No protocol specified

%DECW-E-CANT_OPEN_DISPL, Can't open display

If I run:

show display

I see:

Device: WSA54: [super]
Node: SUSE64
Transport: TCPIP
Server: 0
Screen: 0

I suspect the problem is here, with the default
server and screen number (zero). On the linux
box, before you telnet to VMS, # echo $DISPLAY.
I expect you'll see something like:

windowsbox.domain:12.0

or some such. At the moment, I don't recall
which order the server and screen come in the
":x.y", but the non-zero value will be the server
number. You need to use that when creating the
display on the VMS side.

That, in turn, makes it difficult to create the
display automatically in a procedure. On the
linux box I was accessing (as an intermediary),
there were a pair of files created when I logged
in, one of which was named .display (or similar).
I would rcp this file to the VMS box whenever I
logged into linux, then on login to VMS, I could
read that file and pick out the correct parameters
for the SET DISPLAY. (That linux system also
required xauth, so there was another file with
the mit-magic-cookie that the VMS side needed in
order to correctly set up xauth on the display...
something you won't need here...)

Regards, Ken
--
Ken & Ann Fairfield
What: Ken dot And dot Ann
Where: Gmail dot Com
.



Relevant Pages

  • Re: Copying/Moving D2007
    ... Apart from the time it takes to backup 30GB back and forth, it should not, no. ... Which Linux distro? ... I am using PCLinuxOS 2007, which is a desktop distro, meaning that it is not very active in the server are for example in their repository PostgreSQL is old .. ... In fact I tend to create VMs for specialised ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: X Windows App
    ... I have Cygwin running on my workstation connecting to one of my Linux ... From my linux server I connect to a client's Linux server ... display. ... The DISPLAY set on the Linux system is the ssh tunnel back to Your ...
    (comp.os.vms)
  • Re: Sun On The Run?
    ... >> Sun On The Run? ... >> processors and Linux, a free operating system. ... > That's a loss for SUN but that same pressure is against VMS also, ... look at the latest virus rampage wiping out server after server, ...
    (comp.os.vms)
  • Re: X Window Servers
    ... windows on VMS and display them on a PC? ... VMS systems. ... selector to get the X server working, ...
    (comp.os.vms)
  • Re: X Windows App
    ... I have Cygwin running on my workstation connecting to one of my Linux ... From my linux server I connect to a client's Linux server ... display. ... The DISPLAY set on the Linux system is the ssh tunnel back to Your ...
    (comp.os.vms)