quinta-feira, 12 de março de 2015

X11 connection error in Mac

http://ift.tt/1BtSsJq

Typically, I log into my remote server/cluster via "ssh -X" and from there launch R program for plotting. But it always shows an error as


unable to open connection to X11 display ''
after a while, when you want to call functions such as plot(). 
This is very annoying. So that I have to exit the server and re-login again. 
Does this sound familiar for you?
Here is the solution I found via website below:http://ift.tt/1cPTJde
Two ways to solve this:
1. add the following line to the Mac client’s /etc/ssh_config:ForwardX11Timeout 596h
2. use “ssh -Y <remote system>”, instead of -X, as it may not trigger the untrusted auth timeout.



from R-bloggers http://ift.tt/xdvlrq

Nenhum comentário:

Postar um comentário

Leave your comment here!