SSH Problems [1]

SSH Problems

Friday, August 2, 2002 12:13 AM

I am running Xmanager 1.3.9 with RedHat Linux 7.3 and have been encountering difficulties in getting Xstart to work with the SSH protocol. My computers (XP and Linux boxes) are on a local DHCP network. When I attempt to connect to the Linux box with the command line:

/usr/bin/X11/xterm -ls -display $DISPLAY

I get the error message:
/usr/bin/X11/xterm Xt error: Can't open display: localhost:10.0

When I enter the current IP address of the XP box such as with the following command line:

/usr/bin/X11/xterm -ls -display 192.168.1.32:0.0

Xstart works. Any ideas on how to fix this so I don't have to manually enter the IP address in order to get the SSH protocol to work?

Sean


Re: SSH Problems

Friday, August 2, 2002 2:03 AM - Soon

In my experience, SSH connection doesn't require "-display" option in the command line. The display number is automatically allocated by the ssh server and it is "localhost:10.0" in most cases. I think you need to configure X11Forward option on your ssh server to use an ssh protocol.

If you enter your IP address explicitly in the command line, the xterm connects to the Xmanager through an unsecure channel. No reason to use ssh protocol.


Previous views: 150