Problem when moving .Xauthority
Posted on 2004-09-01
I'm running a Linux cluster, and I'm having some X problems.
Background: Dell X86 machines running Fedora Core 1; networked together on a private LAN. The worker nodes are all automounting their /home directory off of the master/storage node. Display, mouse, keyboard connected to the master/storage node. When a user logs on, DISPLAY = :0.0
When I tried to ssh between the master and the workers, I'd get "Warning: No xauth data; using fake authentication data for X11 forwarding.", I assume because everybody was trying the use the same .Xauthority file.
So I created a directory for each user under /usr/local on each node (including the master/storage node). I added a line to the end of my .bashrc:
I copied .Xauthority from /home/mysername to /usr/local/myusername and checked that permissions on the file and directory were the same as the originals.
Now I'm no longer getting the "No xauth data" when ssh'ing between the nodes, but when I try to log in to the master/storage node at the console, the login fails, and the session log says:
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified
I can get back in by commenting out the line in the .bashrc to revert to my original .Xauthority file.
Anyone got any idea what's going on?