I manage to mount a distant remote using :
sudo mount -t cifs //adress /mnt/point/ -o credentials=/home/me/.credentialsI tried to integrate this into my fstab using:
//adress /mnt/point/ cifs noauto,credentials=/home/me/.credentials 0 0Note that the noauto option is needed as I want to mount manually by clicking on the GUI.
However, nothing shows up when I reboot on my GUI:
See the empty other locations.
1 Answer
For this to work in the graphical user interface, you will need to allow users to perform the mount. This can be implemented by adding the user or the users option.
For having the volume appear in the file manager, there are two options:
- Mount the volume under
/mediainstead. Mounts under/mediaautomatically are shown as an icon in the file manager for all users. That also applied for mounts under a user's /home directory, but then only for that user . - Alternatively, add the mount option
x-gvfs-showto the line for the volume in/etc/fstab.