Re: Having difficulty exporting display

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Apr 18, 2013 at 04:42:18PM -0400, Yves S. Garret wrote:
> $ xhost +
> $ ssh -X someusername@xxxxxxxxxxxxxxxx -p 49283
> 
> Remote:
> $ export DISPLAY=192.168.1.6:0.0

Why are you doing this?  If ssh isn't setting the DISPLAY variable to
something like localhost:10.0 then sshd isn't configured to tunnel X,
you're missing libraries, or something else.

The whole point of "-X" is that it tells ssh to tunnel X traffic
back to your machine.

So all you should need to do is
  ssh -X user@host -p 49283 xclock

Or
  ssh -Y user@host -p 49283 xclock

-- 

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux