Cannot access gvfs Transport endpoint is not connected

While doing df -h getting below error:

df -h

df: â/run/user/0/gvfsâ: Transport endpoint is not connected

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ol-root 40G 6.7G 34G 17% /
devtmpfs 3.8G 0 3.8G 0% /dev
tmpfs 3.8G 172K 3.8G 1% /dev/shm
tmpfs 3.8G 494M 3.3G 13% /run


The error message "ls: cannot access 'gvfs': Transport endpoint is not connected" typically occurs when there is an issue with the GVFS (GNOME Virtual File System) service in Linux. GVFS is responsible for providing a virtual file system layer that allows applications to access files and folders

Solution 1:

cd /run/user/0

fusermount -zu gvfs

For me this solution fixed the problem

Solution 2:

Restart the GVFS service: Restarting the GVFS service may resolve the problem. You can do this by restarting the corresponding service using the following command:

systemctl --user restart gvfs-goa-volume-monitor.service

Solution 3:

gvfsd --kill

Afterward, the GVFS daemon will automatically restart.

If you like please follow and comment