remove .Xauthority failed

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
pompom
500 Command not understood
Posts: 4
Joined: 2010-07-04 16:47
First name: pom
Last name: robertson

remove .Xauthority failed

#1 Post by pompom » 2010-07-04 20:10

Hi,

I am using filezilla to transfer files from one desktop to another (long distance), but in the middle of file transfer, the process hung, so I had to kill filezilla and now after restart my desktop, I can no longer transfer files.
Because it is not a clean exit from filezilla, I need to remove .Xauthority file but can not delete, here
is the error, please help

[Pom@PomLinux Pom]# su -
[root@PomLinux ~]# pwd
/root
[root@PomLinux ~]# ls -al /home/Pom/.Xauthority
-rw------- 1 Pom Pom 270 Jul 3 19:25 /home/Pom/.Xauthority
[root@PomLinux ~]# rm /home/Pom/.Xauthority
rm: remove regular file `/home/Pom/.Xauthority'? y
rm: cannot remove `/home/Pom/.Xauthority': Read-only file system

thanks

pompom
500 Command not understood
Posts: 4
Joined: 2010-07-04 16:47
First name: pom
Last name: robertson

Re: remove .Xauthority failed

#2 Post by pompom » 2010-07-04 20:11

I want to add the following info:
chown or chmod of the file do not work either.

User avatar
botg
Site Admin
Posts: 35563
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: remove .Xauthority failed

#3 Post by botg » 2010-07-04 20:58

rm: cannot remove `/home/Pom/.Xauthority': Read-only file system
Your filesystem is mounted read-only.

pompom
500 Command not understood
Posts: 4
Joined: 2010-07-04 16:47
First name: pom
Last name: robertson

Re: remove .Xauthority failed

#4 Post by pompom » 2010-07-04 22:58

But if it is read only, then I should not be able to create a new file to the $HOME directory, correct?

How can I change it, please

thanks

btw: here is the output of mount command, all read and write.

[root@PomLinux ~]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda2 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /mnt/windows type fuse (rw,nosuid,nodev,noatime,allow_other)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
automount(pid1953) on /net type autofs (rw,fd=4,pgrp=1953,minproto=2,maxproto=4)

thanks again.

User avatar
botg
Site Admin
Posts: 35563
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: remove .Xauthority failed

#5 Post by botg » 2010-07-05 06:12

Perhaps filesystem damage? Try forcing an fsck run.

User avatar
boco
Contributor
Posts: 26938
Joined: 2006-05-01 03:28
Location: Germany

Re: remove .Xauthority failed

#6 Post by boco » 2010-07-05 12:38

Linux usually checks for filesystem damage on startup and runs fsck if necessary.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

pompom
500 Command not understood
Posts: 4
Joined: 2010-07-04 16:47
First name: pom
Last name: robertson

Re: remove .Xauthority failed: SOLVED

#7 Post by pompom » 2010-07-05 17:29

thanks.

After reboot my remote desktop, I can login back in and transfer file again.

I think there is a new .Xauthority file created.

Post Reply