Results 1 to 7 of 7

Thread: gvfs-mount fails over samba

  1. #1
    Join Date
    Oct 2006
    Location
    Scandiano, RE (ITALY)
    Beans
    32

    gvfs-mount fails over samba

    Hi,
    I'm trying to connect to a samba share with the terminal using gvfs-mount on an Ubuntu Natty PC but I always got this error:

    Code:
    gvfs-mount smb://user@server.mydomain.com/share
    Error mounting location: volume doesn't implement mount
    Any suggestion?

    Max-B

  2. #2
    Join Date
    Dec 2009
    Beans
    4,929

    Re: gvfs-mount fails over samba

    You normally get that error when you don't have the following package installed:
    Code:
    sudo apt-get install gvfs-fuse
    And you haven't added yourself to the fuse group:
    Code:
    sudo gpasswd -a your_user_name fuse
    You need to logout and login again for the group add to take affect.

  3. #3
    Join Date
    Oct 2006
    Location
    Scandiano, RE (ITALY)
    Beans
    32

    Re: gvfs-mount fails over samba

    Hi,
    thanks for your reply.

    gvfs-fuse is installed and I'm in the fuse group.
    Of course the share exists and the server is online.

    Max-B

  4. #4
    Join Date
    Dec 2009
    Beans
    4,929

    Re: gvfs-mount fails over samba

    Is the base package installed: gvfs-backends

  5. #5
    Join Date
    Oct 2006
    Location
    Scandiano, RE (ITALY)
    Beans
    32

    Re: gvfs-mount fails over samba

    Hi, and thanks again for the answer.
    Yes, the base package is installed:

    Code:
    $ aptitude search gvfs
    i   gvfs                            - userspace virtual filesystem - server     
    i   gvfs-backends                   - userspace virtual filesystem - backends   
    i   gvfs-bin                        - userspace virtual filesystem - binaries   
    i   gvfs-fuse                       - userspace virtual filesystem - fuse server
    p   libgvfscommon-dev               - userspace virtual filesystem - development
    i   libgvfscommon0                  - userspace virtual filesystem - library    
    p   xmms2-plugin-gvfs               - XMMS2 - gvfs plug-in

  6. #6
    Join Date
    Oct 2006
    Location
    Scandiano, RE (ITALY)
    Beans
    32

    Re: gvfs-mount fails over samba

    Hi again.
    I found this useful tread: http://ubuntuforums.org/showthread.php?t=1390955

    If I run the command after dbus-launch, gvfs-works works

    Code:
    dbus-launch bash
    gvfs-mount smb://user@server.mydomain.com/share
    This is not useful to me because, at the end, I would like to run a script I have made, but probaply, if someone knows much more than me dbus-launch, is useful to understand which is the problem.

    Max-B

  7. #7
    Join Date
    Oct 2006
    Location
    Scandiano, RE (ITALY)
    Beans
    32

    Re: gvfs-mount fails over samba

    Hi!
    I solved! The problem was that I tryed to run the command on a remote client.
    Max-B

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •