Problem with core 3 and X11 forwarding

Scot L. Harris webid at cfl.rr.com
Fri Sep 23 18:01:21 UTC 2005


On Fri, 2005-09-23 at 11:54, Syed Ali wrote:
> The exact error is "Error: Can't open display:linuxbox:0.0" 
> 

> 
> 
> Hello,
> 
> I am using fedora core 3 and am having a problem with X11 forwarding.
> 
> When I telnet from my fedora box to a solaris box and then try to run an
> x app on the solaris box, I get an error message saying 'can't export
> display'. 
> 
> However, when I ssh -X from my fedora box to another linux box and then
> try to run an x app on the other linux box, the x app works fine.
> 
> I have made sure I had xhost + solarisbox on my fedora box, and also
> that selinux was disabled.
> I have also tried to export DISPLAY=linuxbox:0.0 using the linuxbox
> hostname and IP address.
> 
> Any help would be appreciates, thanks.
> 
> 

You probably need to set the DISPLAY variable to localhost:10.0 after
connecting to the remote host.  ssh does this for you when you use the
-X or -Y options.   You can confirm this by using ssh and then echo
$DISPLAY to see what it gets set to.





More information about the users mailing list