New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

launching UNIX apps from MAC via SSH


Post Reply New Thread Subscribe

 
Thread Tools
mspadaccino

 
Member Since: Aug 30, 2011
Posts: 2
mspadaccino is on a distinguished road

mspadaccino is offline
Hi,
I am new to OS X (coming from Windows, and NOT regretting at all) and began to play around with Terminal and SSH potentials, I got at this point where I need to make a question like this:
at home I have an iMac powered wity Lion OS and a PC that has been converted to Linux OS (Ubuntu distro 11.04).
I discovered the potential of SSH tunneling and X forwarding, and succeeded to run X applications resident on my Linux PC on the screen of the iMac (i.e. Gimp, xcalc, xeyes etc.). Pretty nice.
I also succeeded to access my remote filesystem in both directions (i.e. accessing Linux filesystem from Mac Terminal via ssh and accessing Mac files via Linux ssh session).
I could even launch Mac apps from Linux via ssh (i.e. from Linux terminal connected to my iMac, launching the 'open *.app' command), with those apps showing on my iMac screen (my Linux being a sort of 'remote controller' of my Mac).
One thing I didn't succeed was the opposite from the last point: I cannot launch Linux applications ON Linux screen FROM my iMac via ssh.

Both my systems are configured in order to allow X11Forwarding (I edited the sshd_config on the two machines removing the #sign and writing 'X11Forwarding yes'). I've been reading around but couldn't find a solution to my problem.
Does anyone know what I am missing here in order to proceed with this last bullet? Everything else is working fine.
Thanks for your precious help
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 18,006
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
Don't use X11Forwarding. If you forward X, the apps will open on your Mac - that's what X forwarding is for. Disable X11Forwarding and try again.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
mspadaccino

 
Member Since: Aug 30, 2011
Posts: 2
mspadaccino is on a distinguished road

mspadaccino is offline
thanks vansmith.
I also tried by simple typing of 'ssh user@address' (without the -X option) on my iMac and then launching commands such as 'gimp', but on the Linux screen I won't see anything, and on my Mac Terminal connected to Linux I get 'can't open display' sort of messages...
any clue of what I'm still missing?
QUOTE Thanks

Post Reply New Thread Subscribe


« Fonts are screwed up after Lion Installation | OS X Lion Random Desktop Reorganize »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Who's got the most Macs? narf1899 Schweb's Lounge 139 11-24-2012 10:53 AM
Mac Users Get More ISP Choices schweb Apple Rumors and Reports 1 03-06-2003 10:57 AM

All times are GMT -4. The time now is 11:05 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?