[CentOS] Having difficulty exporting display
Stephen Harris
lists at spuddy.org
Thu Apr 18 21:59:52 UTC 2013
On Thu, Apr 18, 2013 at 04:42:18PM -0400, Yves S. Garret wrote:
> $ xhost +
> $ ssh -X someusername at somehostname.net -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 at host -p 49283 xclock
Or
ssh -Y user at host -p 49283 xclock
--
rgds
Stephen
More information about the CentOS
mailing list