Sounds like it's related to running it from pcmanfm. That's not something I can help with as it's not something I do. In fact I rarely use pcmanfm and even more rarely run a full desktop.
If it were my system I'd do it this way (assumes you are logged in to the client as the target user and that that user currently has sudo permission):
Your user will likely have to refresh their pcmanfm window/view to see the files from the nas.
You could continue to use sshfs instead of nfs the main difference being that you'd need to get key based logins from client to server working, use the correct fstype and additional mount options to specify credentials in your fstab entry. I've not used sshfs from fstab so have no idea what those are.
If you need more help with fstab see Using fstab A Beginner's Guide
While I'm not familiar with the details of pcmanfm, I do know it can connect to a NAS by entering the UNC into the address field e.g. smb://myserver/myshare. I'd expect that to work with other protocols too. It may also be possible to add something to the "Places" list.
If it were my system I'd do it this way (assumes you are logged in to the client as the target user and that that user currently has sudo permission):
- Set up a minimal nfs export on the server (If you're not familiar with how to do that on a Linux server see Building A Pi Based NAS
- Make sure your user has the same numeric ID on both client and server.
Code:
cdCode:
mkdir nas-filesCode:
cd nas-filesCode:
echo "mount $HOME/nas-files" > click-me- Give it read and execute permission for the file's owner only.
Code:
chmod 500 click-me Code:
cd ..- Makes it read only when nothing is mounted on there. Useful to prevent accidentally filling up the root partition and preventing files being stored in the wrong place if the mount fails.
Code:
chmod 400 - Add a suitable line to your fstab. For example:The "user" option allows a normal user to mount it without using sudo and that same user to unmount it also without sudo.
Code:
10.0.0.1:/home/myuser /home/myuser/nas-files nfs defaults,_netdev,user,nofail,x-systemd.automount 0 0
Your user will likely have to refresh their pcmanfm window/view to see the files from the nas.
You could continue to use sshfs instead of nfs the main difference being that you'd need to get key based logins from client to server working, use the correct fstype and additional mount options to specify credentials in your fstab entry. I've not used sshfs from fstab so have no idea what those are.
If you need more help with fstab see Using fstab A Beginner's Guide
While I'm not familiar with the details of pcmanfm, I do know it can connect to a NAS by entering the UNC into the address field e.g. smb://myserver/myshare. I'd expect that to work with other protocols too. It may also be possible to add something to the "Places" list.
Statistics: Posted by thagrol — Fri Oct 03, 2025 12:40 am