Results 1 to 3 of 3
  1. #1

    Member Since
    Aug 30, 2011
    launching UNIX apps from MAC via SSH
    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

  2. #2

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Early 2015 13" rMBP
    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

  3. #3

    Member Since
    Aug 30, 2011
    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?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Apps Launching at Start up
    By mjkuryak in forum macOS - Operating System
    Replies: 2
    Last Post: 08-04-2012, 04:10 PM
  2. Tunesque : Search for Apps without launching iTunes or the MAS !!!!
    By TattooedMac in forum macOS - Apps and Games
    Replies: 1
    Last Post: 11-08-2011, 11:56 AM
  3. Launching apps from terminal (like linux?)
    By systix in forum macOS - Operating System
    Replies: 2
    Last Post: 02-20-2009, 10:57 AM
  4. Error message when launching Office apps
    By josh1980 in forum macOS - Operating System
    Replies: 5
    Last Post: 05-11-2007, 01:11 AM
  5. Unix apps and X11
    By edokid in forum Switcher Hangout
    Replies: 0
    Last Post: 11-04-2004, 10:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts