Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED: Running GUI programs remotely on OSX
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jmroach
n00b
n00b


Joined: 04 May 2005
Posts: 50
Location: West Lafayette, IN

PostPosted: Tue Jan 16, 2007 3:01 pm    Post subject: SOLVED: Running GUI programs remotely on OSX Reply with quote

Ok, here's the situation-

I'm trying to run a few programs I need a GUI for remotely on a mac (ssh'ing into Gentoo machine from OSX). I have set the DISPLAY variable to my local IP address (ipaddress:0.0), but programs still just hang and nothing shows up on the mac.

Any ideas on what else to look into?

Thanks in advance!

-john


Last edited by jmroach on Tue Jan 16, 2007 11:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
xeinsane
n00b
n00b


Joined: 08 Jan 2007
Posts: 7

PostPosted: Tue Jan 16, 2007 10:04 pm    Post subject: Low information Reply with quote

When setting your address to '0.0', what do you mean? Shouldn't you be setting it to localhost (by tradition 127.0.0.1)?

Can you get text programs to run through ssh?

Also, I believe it is much easier if you run the X11 terminal instead of the standard OSX one, and have the X11 terminal and mac terminal always in my dock for this reason. You might not have the X11 terminal installed and properly configured, in which case you should do that first.
Back to top
View user's profile Send private message
jmroach
n00b
n00b


Joined: 04 May 2005
Posts: 50
Location: West Lafayette, IN

PostPosted: Tue Jan 16, 2007 11:14 pm    Post subject: Reply with quote

i fixed it!... i was using X11, but i guess ssh sets the a lot of the x-specific variables for you. here's what i did to get the thing working:

first, change a few lines in the /etc/ssh_config file- uncomment or add:

ForwardAgent yes
ForwardX11 yes

next, use the -Y flag (with OSX 10.4.x, or -X with previous) with ssh:

Code:
# ssh -Y remotehost


oh, and DON'T set the DISPLAY variable on the remote host. X does this for you.

-john
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum