SSH -X doesn't work without an export DISPLAY

Michel Dubois mdubois at polytech.unice.fr
Thu Jul 5 14:37:54 UTC 2007


On Thursday 05 July 2007 15:28:05 you wrote:
>
> When you set the $DISPLAY variable, do you set it to a localhost:#, or
> to hostname.foo.bar:#?  If you are doing the latter, then it isn't using
> a secure channel, but using normal X over TCP connections.

Jonh,

In the both case, I can't get the X11forward

I have to export the DISPLAY env.
Very strange, I have 2 SOLARIS server, and I did :
workstation~#: ssh -X SUN_server1
SUN_server1~#: ssh -X SUN_server2

xcalc display apears from the SUN_server2 on my LINUX workstation without 
problem

In the stuck case I did :
workstation~#: ssh -X SUN_server1
SUN_server1~#: ssh -X redhat_host

xcalc display doesn't appear, same if I export the DISPLAY

anyway thanks for your help

-- 
Cordialement.
----------------------
Michel Dubois
Ingénieur Support CIMPACA
Tel : 04 92 38 85 53
Mobile : 06 09 65 71 76




More information about the redhat-sysadmin-list mailing list