pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ssh x-forwarding doesn't work with the current X setup in pkgsrc



On Sat, 8 Dec 2007, John Nemeth wrote:

On Mar 25,  9:26pm, "S.P.Zeidler" wrote:
} htodd%twofifty.com@localhost (Hisashi T Fujinaka) writes:
} >On Tue, 4 Dec 2007, Matthias Scheler wrote:
}
} >> I'm sorry I don't think there is any reason to send a PR. sshd(8) in
} >> NetBSD's base system looks for "xauth" in "/usr/X11R6/bin/xauth"
} >> which is where that command is located in the NetBSD X11 distribution.
} >> There is IMHO nothing wrong with that behavior.
} >>
} >> You have two options to fix that:
} >> 1.) Correct the symbolic "/usr/X11R6".
} >> 2.) Add "XAuthLocation /usr/pkg/bin/xauth" to "/etc/ssh/sshd_config"
} >>    and run "/etc/rc.d/sshd reload" afterwards.
}
} >Yes, this is true. However, this wasn't documented anywhere in current
} >or release.
}
} >I know. That's what I get for using -current, but the reason I use
} >netbsd is the documentation.
}
} I tripped over the problem too, but since I knew XAuthLocation exists I
} just set the option (that's not what you get for using -current, that's
} what we got for using a fairly new pkgsrc variant instead of the
} 'included' X :).
}
} I'd suggest including XAuthLocation as another commented out option
} in sshd_config, with a comment to twiddle it if one uses something

    Done.

Thanks!

--
Hisashi T Fujinaka - htodd%twofifty.com@localhost
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte



Home | Main Index | Thread Index | Old Index