Search This Blog

Friday, February 23, 2018

“No object for D-Bus interface” when mounting a folder in GUI in ubuntu

Got the “No object for D-Bus interface” when mounting with Nautilus In a newly installed ubuntu 16.04 system (yes. it happens that even Linux gets reinstalled, but in this time, as a future post shall tell, it was because of the sister to the dual-boot computer, windows...). 

I searched in Google, and reached the following discussion and was surprised to see that the seemingly best answer was pushed back, so I thought it would be wise to repeat it here when the need returns again (I'm quoting the heart of Antonio's answer there):
  1. Find your gvfs folder and [USER ID]
    $ mount | grep gvfs gvfsd-fuse
  2.  List mount points used by gvfs $ ls -als /run/user/[USER ID]/gvfs
    (as gvfs isn't working, this would produce an empty folder's content list)
  3. Check whether the gvfsd daemon process is active$ ps axu | grep gvfsd
  4. Kill it with the following cmd.
    $ sudo killall -9 gvfsd
  5. relaunch the daemon (process)
    $ sudo /usr/lib/gvfs/gvfsd-fuse /run/user/[USER ID]/gvfs
  6. Now, shutdown the system and restart it (doing this without steps 1-5 will not work...)