I'm brand new user in MacOSX. I'm using ssh to connect to some Linux servers. I'm trying to open a GUI locally for a process running in the remote Linux server.
So I read that I should install XQuartz which is used for the X11 in the Mac.
I installed it but when I try to start the GUI I get error that DISPLAY is not set.
Indeed when I echo DISPLAY
, nothing has been set. Am I supposed to set something manually?
I also noticed that there is some command line as part of the XQuartz installation. Am I supposed to use only this command line? When I start it and echo DISPLAY
I see just :0.0. How can I configure this?
I tried ssh -X
to connect and additionally I also checked out the X-11 FAQ
According to this something overrides my DISPLAY
on the local machine. I suspect that TextMate which I installed previously does this, but I'm not sure how can I override it. What should I set? What is: /tmp/launch-Bh0fLm/:0
?
ssh
andssh -X
into my server at work (to ubuntu from ubuntu) and in both casesecho $DISPLAY
returnedlocalhost:10.0
. I do frequently launch gnome apps from remote machine via ssh command line. IMHO, investigate as much as you can about remove X sessions in Mac OSX. Sorry, I don't know more.-Y
parameter for ssh. Thus,ssh -Y user@server
. Once connected, you should be able to launch your GUI app from the remote shell.