SSH / permissions problem

Gary Stainburn gary.stainburn at
Wed Jul 14 08:51:04 UTC 2010

On Wednesday 14 July 2010 08:32:09 birger wrote:
> On Tue, 2010-07-13 at 16:49 +0100, Gary Stainburn wrote:
> > [gary at dcomp5 ~]$ ssh -Y -C lcomp3
> > gary at lcomp3's password:
> > Last login: Tue Jul 13 15:55:16 2010 from
> > /usr/bin/xauth:  timeout in locking authority file /home/gary/.Xauthority
> > [gary at lcomp3 ~]$ kcalc
> > X11 connection rejected because of wrong authentication.
> > kcalc: cannot connect to X server localhost:11.0
> > [gary at lcomp3 ~]$
> Usually, the problem is that xauth isn't installed. Here, you seem to
> have xauth, but xauth is unable to lock the ~/.Xauthority file. I would
> try removing that file and retrying. Removing it could affect existing X
> sessions on that host, but being a virtual system I assume you are not
> logged in on the console. The next ssh should then recreate the file
> with only a cookie for the ssh session.
> birger

Hi Birger,

I am not logged in on the console. I have also does as you suggest but it has 
not made any difference.

I am convinced that the problem with with that user on the new server as I can 
ssh onto root on that server without problems.

I also have the problem on user ~gary irrespective of where I ssh from.


Gary Stainburn
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     

More information about the users mailing list