Re: X Windows App
- From: Ken Fairfield <Ken@xxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 13 Feb 2007 18:53:27 -0800
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
.
- References:
- X Windows App
- From: DJ
- X Windows App
- Prev by Date: Re: Intel 80 core chip revealed in full detail
- Next by Date: Re: How to temporarily disable AUTO_DLIGHT_SAV?
- Previous by thread: Re: X Windows App
- Next by thread: Re: X Windows App
- Index(es):
Relevant Pages
|