Hi everyone, maybe this has already been asked, but I couldn't find anything about it.
I installed the latest version of GhostBSD Xfce from scratch and thunar doesn't allow me to access my NAS, which was visible with the previous version of GhostBSD. Not only that, but I can't even mount a USB SSD. It says it's already mounted, but I can't access its contents. What can I do? What do I have to change and where?
Thanks

(Google Translate)

Thanks for the detailed description. These kinds of regressions can happen with new releases, especially when it comes to automounting and network shares in GhostBSD. Let’s work through it step-by-step.

  1. Check if automounting services are running

GhostBSD uses devd and autofs or automount for USB and media devices. Sometimes XFCE's Thunar also needs gvfs and related services.

Make sure these services are running:

Open a terminal and run:

service automount status
service devd status

If they're not running, start and enable them:

    sudo service devd start
    sudo sysrc devd_enable=YES
    
    sudo service automount start
    sudo sysrc automount_enable=YES

Also, ensure the automountd and autounmountd daemons are enabled if you use them:

    sudo sysrc automountd_enable=YES
    sudo sysrc autounmountd_enable=YES    
  1. Install gvfs components (important for Thunar)

gvfs allows Thunar to handle mounts like USB, NAS (via SMB), MTP, etc.

Run: sudo pkg install gvfs gvfs-smb gvfs-mtp fusefs-simple-mtpfs

Then reboot or log out/in.

  1. Enable FUSE kernel module

Ensure that FUSE is enabled, required for gvfs mounting:

    sudo kldload fusefs
    sudo sysrc kld_list+="fusefs"

  1. Fix USB drive saying “already mounted”

Sometimes /media might have stale mountpoints. Do this:

    sudo umount -f /media/da1p1  # Adjust the device as needed
    sudo rm -rf /media/da1p1     # Remove stale dir if needed

Then try plugging the USB in again and check dmesg or mount output.

Also check:

    mount
    ls /media
  1. Accessing your NAS (SMB/Samba share)

If the NAS is SMB-based:

Open Thunar and type: smb://192.168.x.x/
Note: Replace with your NAS IP

If this doesn’t work:

  1. Make sure gvfs-smb is installed.

  2. Make sure samba413 or higher is installed: sudo pkg install samba413

  3. You can also try using mount_smbfs manually:
    sudo mkdir -p /mnt/nas
    sudo mount_smbfs -I 192.168.x.x -W WORKGROUP //user@192.168.x.x/share /mnt/nas

    Change WORKGROUP, user, share accordingly.

    6. Is your user in the operator group?

    To allow your user to mount/unmount devices: sudo pw groupmod operator -m yourusername

    Then log out and back in.

    Checklist Recap:
    * automount, devd, and optionally automountd running
    * gvfs, gvfs-smb, fusefs-simple-mtpfs installed
    * fusefs loaded via kldload
    * USB drives cleanly unmounted
    * Your user added to operator group
    * Thunar tested with smb://...

    If you still have issues, submit a bug report to ensure the issue is addressed and fixed.

Thanks a lot.
Problem solved. Thank you.