There are many ways to mount an SMB share in Ubuntu. For example:
as root, you can use mount.cifs:
mount -t cifs -o user=username //servername/sharename/ /mnt
you can use smbnetfs as described here
However, I would like to use gvfs. When logging in using ssh. I tried the following without a success:
dbus-launch bash gvfs-mount smb://servername/sharename/
This works... kind of. When I run
I get the following:
Mount(0): sharename on servername -> smb://servername/sharename/ Type: GDaemonMount
So, the mount seems to work. However, there is no file system mount point, whereas when I mount it using Nautilus, I get a mountpoint in
/run/user/1000/gvfs/, which I can then access using command line.
What should I do to get a mount point with gvfs which I can access with the command line?