This is one that I had to piece together, so I fell that it's useful to
summarize here.

Here's how I do it:

1) On your Mac, you need to have Remote Login turned on (On the Services
tab of the Sharing pane of System Preferences).

2)  Also on the Mac, you'll need to modify a configuration file.  Type
"which sshd" in a terminal window.  If it returns "/usr/bin/sshd", then
you'll edit (use sudo pico) /private/etc/sshd_config.  If, on the other
hand, you get "/sw/bin/sshd" you'll want to edit
/sw/etc/ssh/sshd_config.

In either case look for a line that says 

#X11Forwarding no

and change it to

X11Forwarding yes

Then restart sshd (a reboot of your Mac will do)

Now your Mac is set up to do X forwarding.  This is general--you can
forward to any other box with Xwindows on it.

Now comes the PC-specific part

3)  You need X for your PC.  If you are running Linux or a BSD flavor
it's probably installed.  If you are running Windows, there are packages
available.  One free option is to install Cygwin/XFree86
(http://www.cygwin.com/xfree/)
This puts a UNIX layer on top of Windows.

4)  You'll need an ssh client for the PC.  If you decide to use Cygwin,
openssh is available to install.

5)  Start your X server on your PC.

6)  Log into your Mac with 'ssh -X '  (or the equivalent if you are
using a Windows ssh client--I'm not sure how all of them do it)

That should do it.

If you have any problems with 1) or 2) this list is the appropriate
venue to ask.  For 3-6 you can ask me directly (not everybody uses both
a Mac and a PC).

On Fri, 2003-01-24 at 12:28, Elbarbari Sohail wrote:
> Now I have some applications installed on OSX, I want to display them on a PC which 
>would require an X viewer and a telnet somehow. Can someone tell me how to do it and 
>what I need?.  what is the command to send the application to the PC display? set 
>DISPLAY = IP" or something. everytime I type an application in the terminal window on 
>the PC, the application runs on OSX but doesn't display on the PC. thanks
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now
-- 
Alexander K. Hansen
Associate Research Scientist, Columbia University
visiting MIT Plasma Science and Fusion Center
Levitated Dipole Experiment
175 Albany Street, NW17-219
Cambridge, MA  02139-4213


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to