• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ssh -X between two macs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ssh -X between two macs


  • Subject: Re: ssh -X between two macs
  • From: Paul Schopf <email@hidden>
  • Date: Fri, 17 Jan 2003 20:37:55 -0500

Thanks, David, that was the problem entirely. Here is what I had to do:

1. On machine 1: edit /etc/sshd_config : Change to X11_Forwarding yes
2. reboot machine 1 (sshd needs to restart, and the cleanest way was a reboot)
3. remove any DISPLAY setting in my .bash_profile on machine 1
4. from machine 2 ssh -X me@machine1


       then I am up and runnning.

I have since edited my .ssh/config to automatically use X11Forwarding when
going to machine 1


Paul

On Friday, January 17, 2003, at 07:47  PM, David McNett wrote:

On 17-Jan-2003, Paul Schopf wrote:
I get access to the other iBook. If I then run xterm it comes up on the
other display. My workaround is to

Are you certain that you're not simply overriding the sshd-set $DISPLAY with an arbitrary ":0" in the .cshrc or .login on the other iBook?

It's entirely possible that sshd is properly setting DISPLAY when you log
in to the other machine and then your login scripts are blowing that away.


If setting DISPLAY to localhost:10 works, then it's not an sshd_config
issue, since ssh *is* managing to properly set up the tunneling.  It's
also not a guarantee that :10 will be the local port.

-- _______________________________________________________________________ _
|David McNett |To ensure privacy and data integrity this message has|
|email@hidden|been encrypted using dual rounds of ROT-13 encryption|
|Austin, TX USA |PGP/GPG DH 0xE43C5FC3 http://www.slacker.com/~nugget/|
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.



Paul Schopf, Professor of Oceanography
Assistant Dean for Research
School of Computational Sciences - MSN 5C3
George Mason University
Fairfax, VA 22030-4444
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: ssh -X between two macs (From: David McNett <email@hidden>)

  • Prev by Date: Re: ssh -X between two macs
  • Next by Date: Feature request - Quartz window resizing option
  • Previous by thread: Re: ssh -X between two macs
  • Next by thread: Patch for XFree86-4.2.1.1 in Japanese Environment
  • Index(es):
    • Date
    • Thread