Description of Problem: pam_xauth doesn't copy the cookie that is actually used by xlib. Version-Release number of selected component (if applicable): 7.2 latest upgrades, as of 17th April 2002 How Reproducible: 4 Servers, all had exactly the same problem. Steps to Reproduce: 1. Log in via ssh (with X tunneling) 2. Su to root "su -" 3. Try and run an X application. Actual Results: It fails, because the cookie hasn't been copied. Expected Results: X application should run. Additional Information: /etc/hosts ---------------------------------------------------------------------------- 127.0.0.1 localhost.localdomain localhost 192.168.0.1 MachineName ---------------------------------------------------------------------------- Changes to sshd_config (openssh from openssh-3.1p1-2) ---------------------------------------------------------------------------- Protocol 2 PermitRootLogin no PasswordAuthentication no X11UseLocalHost yes ---------------------------------------------------------------------------- Unclear how much these affect the problem. X11UseLocalHost causes only 1 xauth cookie to be set (instead of two). Basically: If you have DISPLAY set to localhost:10, then the cookie that is used is MachineName/unix:10, pam_xauth doesn't copy this. -Antony
It works just fine with Fedora Core 2.