Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: display exporting from an OS X box



Not an authoritative answer, but it works on my Jaguar machine...

edit /etc/sshd_config (sudo pico /etc/sshd_config) and add the following
line:

X11Forwarding yes

Save the file and exit the editor. Then reset the ssh daemon:

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

Note that the cat command is surrounded by backwards apostrophes (what
are those called?); the key for that is just below the Esc key on your
keyboard. Hope this helps.

Dave

-----Original Message-----
From: scitech-bounces+d.taflin=email@hidden
[mailto:scitech-bounces+d.taflin=email@hidden] On Behalf
Of Andrei Sobolevskii
Sent: Wednesday, September 29, 2004 9:46 AM
To: email@hidden
Subject: display exporting from an OS X box


Dear All,

I am sorry for this off-topic question, but I spend half a day trying 
to find an answer myself before writing to the list, and the question 
is for Unix people anyway.

I am trying to run X Window apps on my PowerBook (OS X 10.2.8) 
remotely via SSH, but the display won't be exported.  In a simple 
test, I get the following (in an xterm window):

[khayyam~: ] ansobol% echo $DISPLAY
:0.0
[khayyam~: ] ansobol% ssh -X localhost
ansobol@localhost's password:
Last login: Wed Sep 29 19:48:26 2004 from localhost
Welcome to Darwin!
[khayyam:~] echo $DISPLAY
DISPLAY: Undefined variable.
[khayyam:~] ansobol%

Of course running any X app in this "remote" session results in the 
"Unable to open the display" error.  How does one fix this?

Sorry again and thanks,
Andrei
-- 
Andrei SOBOLEVSKII

==============================
Assistant Professor -
Physics Department
Moscow State University
------------------------------
Visiting Scientist -
Laboratoire Cassiopee
Observatoire de la Cote d'Azur
------------------------------
email@hidden
==============================
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Scitech mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/scitech/email@hidden

This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Scitech mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/scitech/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.