Nautilus occasionally stops working
Solution 1:
I had the same problem this morning! For no apparent reason.
I manage to restart nautilus by
killall nautilus
nautilus -q
nautilus
I'm trying to figure out what caused the mysterious failure.
Solution 2:
Yes, it is problably gvfs related.
The problem is this bug: gvfs should unmount remote mounts on network disconnect
Running this should allow you to use nautilus again.
gvfs-mount -s sftp & gvfs-mount -s smb & gvfs-mount -s ftp
Can take a few seconds to work
You can run it automatically. You have to write a script and save it as:
/etc/pm/sleep.d/20-gvfs
#!/bin/bash
case "$1" in
suspend)
# executed on suspend
gvfs-mount -s sftp & gvfs-mount -s smb & gvfs-mount -s ftp
;;
resume)
# executed on resume
*)
;;
esac
and
sudo chmod +x /etc/pm/sleep.d/20-gvfs
Solution 3:
killall nautilus
didn't work for me.
I ran :
ps aux |grep nautilus
To list all the process containing nautilus
And I stopped them by using the following command:
kill -9 <PID>
Solution 4:
killall nautilus
didn't work for me.
It was rabbitvcs for me. I kill it by using ps aux|grep rabbit
and then kill -9 <pid>
It was the rabbitvcs service that stuck the nautilus from time to time.