To tunnel X11 over ssh you have to install xorg-x11 (or x11-apps/xauth). If openssh is merged on a system without xorg-x11/xauth the default path is /usr/X11R6/bin/xauth. Later you merge xorg-x11/xauth. But this installs the program in /usr/bin/xauth. You have to remerge openssh or set in /etc/ssh/sshd_config: XAuthLocation /usr/bin/xauth Steps to reproduce: 1. you need a system with xauth installed 2. mv /usr/bin/xauth /usr/bin/xauth.off (simulates absence of xorg-x11/xauth) 3. emerge openssh 4. strings /usr/sbin/sshd | grep xauth sould show: /usr/X11R6/bin/xauth 5. mv /usr/bin/xauth.off /usr/bin/xauth (simulates new merge off xorg-x11/xauth after openssh) 6. /etc/init.d/sshd restart 7. ssh localhost -2aYv should show: debug1: Remote: No xauth program; ...
fixed in cvs