X-Spam-Check-By: sourceware.org Message-ID: <467AC190.26658DC4@dessent.net> Date: Thu, 21 Jun 2007 11:21:04 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Cygwin and OS X References: <11238408 DOT post AT talk DOT nabble DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com puce1 wrote: [ X11 related questions like this should go to the cygwin-xfree list instead. ] > Can someone tell me if I can do this (easily). > > I have Cygwin on my XP machine - and I want it to display a terminal on my > OS X machine. > > Do I have to have X11 running on the MAC or is there an easier way ?? Sure: On Cygwin machine: 1. Install packages openssh,cygrunsrv,xterm (and all dependencies) 2. run ssh-host-config -y 3. start the ssh daemon (cygrunsrv -S sshd) On OS X machine: 1. start X server 2. open a terminal, make sure DISPLAY is set (e.g. to :0) 3. ssh -Y cygwinusername AT cygwinmachinename 4. run xterm, e.g. "xterm &", and it should appear on the OS X desktop (you can combine 3 and 4 as just 'ssh -YN user AT host xterm') Note that your Cygwin machine is now running a ssh daemon that allows people to ssh in, so make sure all accounts have good passwords. Alternatively, you can disable password authentication in /etc/sshd_config and use only public key auth. To do this run ssh-keygen on the OS X host if you haven't already, and then add the public key (~/.ssh/id_[dr]sa.pub) to the ~/.ssh/authorized_keys of the Cygwin host. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/