Women in Technology

Hear us Roar



Article:
  Hands on X11
Subject:   Yes, but how do I run Mac OS X apps through X?
Date:   2003-04-26 05:47:15
From:   anonymous2
I'm looking to export my Mac's display to another system, so that when I run apps (X11 apps, of course) on my Mac, they'll display on my PC's X11 server. Or my Linux boxes. Over SSH.


When I ssh -X to my OSX box the DISPLAY variable is not set, as in this example from xterm on my OSX box:


[bkoehn@g4 foo]$ echo $DISPLAY
:0.0
[bkoehn@g4 foo]$ ssh -X localhost
bkoehn@localhost's password:
Last login: Sat Apr 26 07:44:00 2003 from localhost
Welcome to Darwin!
[bkoehn@g4 foo]$ echo $DISPLAY


[bkoehn@g4 foo]$



Any ideas on how to fix this?

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • Yes, but how do I run Mac OS X apps through X?
    2003-10-23 10:01:21  anonymous2 [View]

    Did you find a solution ? Even im looking for the same. It would be great if u could drop me an email if u find out something.

    -Dwipal (mac@dwipal.com)
    • Yes, but how do I run Mac OS X apps through X?
      2003-11-10 23:45:11  anonymous2 [View]

      Or better yet, post a reply
      • Yes, but how do I run Mac OS X apps through X?
        2004-09-29 11:08:05  ansobol [View]

        Edit (as the superuser, i.e., by sudo) the file /etc/sshd_config: find in it the line saying

        # X11Forwarding no

        uncomment it and change "no" to "yes." Then restart the ssh daemon by typing:

        kill -1 `cat /var/run/sshd.pid`

        (note backward quotes).