SSH -X doesn't work without an export DISPLAY

Matthew Galgoci mgalgoci at redhat.com
Thu Jul 5 14:36:56 UTC 2007


> > 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

try doing ssh -X -Y SUN_server1

-- 
Matthew Galgoci
Network Operations
Red Hat, Inc
919.754.3700 x44155




More information about the redhat-sysadmin-list mailing list