Results 1 to 7 of 7

Thread: Default Xubuntu file manager can't browse default Samba shares

  1. #1
    Join Date
    May 2009
    Beans
    33

    Default Xubuntu file manager can't browse default Samba shares

    I did a fresh install of Xubuntu 20.04, and installed samba (sudo apt install samba).

    I then attempted to browse my local computer over SMB using Thunar. My workgroup and computer showed up, but it was not possible to enter my own computer and view the shares.

    I solved it by adding the line
    Code:
    server min protocol = NT1
    to /etc/samba/smb.conf, to make the Samba server compatible with the Samba version 1 protocol.

    So from what I understand, the default file manager in Xubuntu 20.04 can't use the default Samba configuration.

    Should this be reported as a bug in Xubuntu?
    Last edited by metacell; September 28th, 2020 at 12:54 PM.

  2. #2
    Join Date
    Dec 2009
    Beans
    6,774

    Re: Default Xubuntu file manager can't browse default Samba shares

    So from what I understand, the default file manager in Xubuntu 20.04 can't use the default Samba configuration.
    Depends on the definition of "can't use".

    I added a "test_file.txt" file to my Public folder then shared it through samba on my Xubuntu20 machine. I can access this share from myself if I ask for it explicitly by hostname and share name in Thunar:
    XubSambaShare.png

    What I cannot do is discover ( Browse Network ) that server and get a list of shares:XubSambaShare2.png
    Should this be reported as a bug in Xubuntu?
    It is a bug to be sure but it is not in Xubuntu or Thunar. It's in gvfs - specifically gvfsd-smb-browse. You can add a " so when the hell is this going to get fixed" in the existing bug if you want: https://bugs.launchpad.net/gvfs/+bug/1828107


  3. #3
    Join Date
    May 2009
    Beans
    33

    Re: Default Xubuntu file manager can't browse default Samba shares

    Quote Originally Posted by Morbius1 View Post
    I can access this share from myself if I ask for it explicitly by hostname and share name in Thunar:
    Thanks, that helps for now.

  4. #4
    Join Date
    May 2010
    Beans
    3,247

    Re: Default Xubuntu file manager can't browse default Samba shares

    Is there no scope to use SFTP/SSHFS? Samba is awful

  5. #5
    Join Date
    May 2009
    Beans
    33

    Re: Default Xubuntu file manager can't browse default Samba shares

    Quote Originally Posted by ActionParsnip View Post
    Is there no scope to use SFTP/SSHFS? Samba is awful
    I'll probably try NFS instead, if that is too hard to get working I'll try SSHFS.

    I only use Samba because it always comes up first when you search for Linux file sharing. The guides never warn you about these glaring incompatibility problems.

  6. #6
    Join Date
    Dec 2009
    Beans
    6,774

    Re: Default Xubuntu file manager can't browse default Samba shares

    Just to keep the record straight the "glaring incompatibility" is for gvfs not samba. Before they started mucking up gvfs the gnome developers needed the assistance of a Samba subject matter expert which is probably not available in the limited gnome gene pool. And remember you can do a CIFS mount which bypasses gvfs completely.

    Anyhoo ..... As for SSH / SFTP give this a shot:

    [1] Install ssh:
    Code:
    sudo apt install ssh
    [2] Go to the other Linux machine and access the ssh server in Thunar:
    Code:
    ssh://hostname.local
    You will get something like this:
    XubSSH.png

    Select log in anyway. You will get a prompt for credentials.

    And as my wife's Irish grandmother would say ... Bada Bing Bada Boom:
    XubSSH2.png

    You can get fancy with this if you want and create an avahi announcement for it so it shows up under "Browse Network".
    Last edited by Morbius1; September 29th, 2020 at 12:13 PM.

  7. #7
    Join Date
    May 2009
    Beans
    33

    Re: Default Xubuntu file manager can't browse default Samba shares

    Thanks, @Morbius, that helps a lot.

Tags for this Thread

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
  •