Socialabel

Friday, April 4, 2014

SSH: Error: cannot open display: :0

$ xhost +
access control disabled, clients can connect from any host
 
$ ssh username@hostname -X   ##Disable
$ ssh username@hostname -Y   ##Enable 

$ export DISPLAY=:0.0

No comments:

Post a Comment