xterm Xt error

Alan Coopersmith alan.coopersmith at sun.com
Mon Aug 7 08:56:05 PDT 2006


Kaushal Shriyan wrote:
> Hi ALL
> 
> a) On local box, do xhost +
> 
> b)  Go to remote host.
>    ssh -X remotehost
>    export DISPLAY= <local box ip>:0.0
>    /usr/bin/xterm Xt error: Can't open display: IP:0.0

ssh -X replaces both the "xhost +" and "export DISPLAY" - by using
them you are losing all security and simplicity benefits of ssh.
Drop both of those steps and simply do:

	ssh -X remotehost
	/usr/bin/xterm

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering



More information about the xorg mailing list