You are not logged in.

#1 2025-11-29 10:41:35

lvlanson
Member
Registered: 2024-12-26
Posts: 4

configuring nautilus to properly mount nfs share

Hey,
I just recently switched from years of manjaro to finally going pure arch. So I am setting up my system to have some functionality I previously had. I have a nfs server setup with multiple shares

/srv/nfs                   192.168.178.200/24(ro,fsid=0,no_subtree_check)
/srv/nfs/myshare    192.168.178.200/24(ro,no_subtree_check,insecure)
/srv/nfs/myshare    192.168.178.128(rw,no_subtree_check,insecure)

Clientside I have gnome as DE and installed

sudo pacman -S nfs-utils gvfs gvfs-nfs

to facilitate nautilus the necessary functionality.

Now I kind of expect that if I am inside nautilus and I put in a server address inside the Network tab that it correctly mounts the share into nautilus. I tried the following addresses

nfs://192.168.178.200/srv/nfs/myshare
nfs://192.168.178.200:24/srv/nfs/myshare
nfs://192.168.178.200:/srv/nfs/myshare

I can not really recall how I invoked the address earlier. Nevertheless, some addresses resolve, but they redirect me to nfs://192.168.178.200/srv/nfs instead of to the subdirectory myshare. I also get the popup message Could Not Display "myshare" - The file is of an unknown type.

I can confirm that I indeed can mount from the terminal

sudo mount -t nfs 192.168.200:/srv/nfs/myshare ./test

I am out of knowledge how to track this down. I would be grateful for some help here.

Last edited by lvlanson (2025-11-29 11:04:47)

Offline

#2 2025-11-29 11:06:26

Acry
Member
Registered: 2025-11-17
Posts: 4

Re: configuring nautilus to properly mount nfs share

Hi lvlanson,

I’ve been using NFS for decades, but I wouldn’t call myself an expert. What usually bites me are mismatched GIDs and UIDs on my NAS.
I only use kernel mounts:

sudo mount -t nfs4 192.168.88.248:/volume1/ 	/home/carsten/NAS_Media

I assume you want to access the share occasionally via Nautilus?

Try in Nautilus → Network→ Serveraddress:

nfs://192.168.178.200

or

nfs://192.168.178.200/myshare
journalctl -f | grep gvfs

might help.

smile

Offline

#3 2025-11-29 11:30:27

lvlanson
Member
Registered: 2024-12-26
Posts: 4

Re: configuring nautilus to properly mount nfs share

This kind of would work if I would mount it by hand into a folder and go from there. Though, I would want to use the functionality which nautilus provides for convenience.

nfs://192.168.178.200
nfs://192.168.178.200/myshare

Gives me the mount point does not exist. When I call server address

nfs://192.168.178.200:24/srv/nfs/myshare

it at least finds something, but it does not know what to do with "myshare". It defaults then to nfs://192.168.178:200.:24/srv/nfs listing all the available shares from my server.

I suspect something is not really working correctly with gvfs, since from my understanding this facilitates the functionality for nautilus to correctly load the share into nautilus.

Offline

#4 2025-11-29 12:43:43

Acry
Member
Registered: 2025-11-17
Posts: 4

Re: configuring nautilus to properly mount nfs share

Okay, I think I got you 'somewhat'.

worked like a charm:

sftp://192.168.88.248

No Server to connect:

nfs://192.168.88.248

I looked the issue up:
https://discourse.gnome.org/t/connect-t … us/19824/2

The Package:
https://archlinux.org/packages/extra/x86_64/gvfs-nfs/

gvfs-nfs
/usr/lib/gvfsd-nfs
/usr/share/gvfs/mounts/nfs.mount

Fixed it for me:

sudo setcap 'cap_net_bind_service=+ep' /usr/lib/gvfsd-nfs
nfs://192.168.88.248

Then said: no mount point. After specifying the mount point, it did work for me.

Offline

Board footer

Powered by FluxBB