X11 forwarding from Mac OS 10.7 Lion Server

Discussion in 'Mac OS X Lion (10.7)' started by mirni, Mar 13, 2012.

  1. mirni macrumors newbie

    Joined:
    Mar 13, 2012
    #1
    Hey folks,
    I have a Lion server that I want to connect to from remote machines.
    ssh works fine, but I need to enable X11 forwarding.
    So I opened /etc/sshd_config and made sure I have these magic lines.
    X11Forwarding yes
    X11DisplayOffset 10
    X11UseLocalhost no

    I test from a linux machine, run xeyes, and Yay! works like charm. BUT when I try to run any other program, like
    /Applications/Mail.app/Contents.../Mail (or wherever it is)
    or MATLAB or web browser, it runs the GUI on the server and does not forward the X11...
    The same scenario from Windows 7. xeyes and xclock pass through, but no useful programs...
    Thanks for any and all input on this.
     
  2. MisterMe macrumors G4

    MisterMe

    Joined:
    Jul 17, 2002
    Location:
    USA
    #2
    Doesn't work that way. In order to run an application through X11, the application must be designed to share its UI via the X Windowing System. Aqua-based MacOS X applications do not fill that bill. As for Windows applications, are you kidding me?
     

Share This Page