Mount SMB share with gvfs from command line

Solution 1:

At least with Ubuntu 18.04, the following works:

$ gio mount smb://<server>/<share>
Password required for share <share> on <server>
User [<user>]:
Domain [<workgroup>]:
Password:

The mount points are located in /run/user/<uid>/gvfs/ (idem $XDG_RUNTIME_DIR/gvfs).

Solution 2:

The mount point should be in ~/.gvfs. At least by me it was there with this name: smb-share\:domain\=WORKGROUP\,server\=192.168.0.186\,share\=asmedia-hdd\,user\=root/. If you still cannot find it, you can try sudo find / -name sharename -type d. Maybe it finds the directory somewhere else. Another possible location is /run/user/1000/gvfs.