ssh -X remote does not work due to problem with xauth

Valeri Galtsev galtsev at
Thu May 10 14:38:24 UTC 2018

On 05/10/18 09:00, Matthias Apitz wrote:
> On Thursday, 10 May 2018 14:34:27 CEST, James B. Byrne 
> <byrnejb at> wrote:
>> On Wed, May 9, 2018 14:09, Matthias Apitz wrote:
>> What is the ownership of and permissions on .Xauthority on the remote
>> host?
> It's owned by me, created as new if not there, but with size=0.

Did you check that you are not up against hard quota, and the filesystem 
is not full? I already suggested that, but my message seems to miss your 
attention. One thing you can try on remote host is:

dd if=/dev/zero of=~/test.dat bs=1024 count=1

if that creates 1 kB ~/test.dat file, neither quota nor filesystem full 
is on your way. If that file has zero size, then you are hit by one of 
the above.

Another possibility on multi-user system when this works for others but 
not for you is if you as UNIX user is prohibited [X]-forwarding by 
sysadmin (-"fascist"). I as sysadmin only twice during last decade had 
to restrict one single user from doing something, but it still is the 


> matthias

Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247

More information about the freebsd-questions mailing list