Re: X Windows App



On Wed, 14 Feb 2007 00:27:11 -0800, Joseph Huber <huber@xxxxxxxxxxxxxxxxxxxx> wrote:

In article <1171389358.513434.209100@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, "DJ" <dkjjr@xxxxxxxx> writes:
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


You NEVER will succeed to use an unencrypted to a (SSH-) encrypted
display.
The DISPLAY set on the Linux system is the ssh tunnel back to Your
"Cygwin" display server. What You attempt is to set an unencrypted display
back to the Linux system, the Linux systems X11 server: this is NOT the
display on "Cygwin" owned by You !

Go directly from the "Cygwin" (assumed to be a Windows system running the X11
server) to VMS: ssh -X me@vms_host_name_here .
And on VMS NEVER replace the ssh display with a different SET DISPLAY:
the SSH server is setting it , that's it.

He can also use PuTTY directly from Windows to VMS.

If after a ssh login there is no display set, then the TCPIP stack/SSH
subsystem is too old. You didn't tell us VMS and TCPIP version:
HP TCPIP services (UCX) before 5.4+some ECO didn't do X11 forwarding.
(Multinet has it's own SSH server, and a SSH packet for older UCX stacks).




--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
.



Relevant Pages

  • Re: probleme mit ssh
    ... waehrend das entfernte System der Server ist. ... Bei X11 ist alles andersherum, da ist das entfernte System der Client ... und dein lokales Display der Server. ... DArum brauchsts bei SSH ...
    (de.comp.os.unix.networking.misc)
  • Re: Suggestions for a square font?
    ... > ssh -X creates a tunnel from distant_computer to your real X server at ... > the tunneled X display, connecting directly to the X ... Let's say that the first line was for ssh users and the second ... connect through ssh and play a curses game. ...
    (rec.games.roguelike.development)
  • Re: probleme mit ssh
    ... waehrend das entfernte System der Server ist. ... und dein lokales Display der Server. ... DArum brauchsts bei SSH ... SSH hat das fuer X11 aber bereits ...
    (de.comp.os.unix.networking.misc)
  • X11 session over ssh, problem
    ... The problem is that I ssh to a server, and then try to run a program that requires an X display. ... But if I do the same to B (i.e. xterm -e ssh B &), then try to run a program like xpdf which uses X, it doesn't work. ...
    (Debian-User)
  • RE: Problem with X server
    ... Try tunneling everything through ssh. ... This gets around the need to use the xhost and export display settings. ... Subject: Problem with X server ... On the local host, type: ...
    (RedHat)