Forum
NFS connections fail unless XBMC is run as root - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Kodi (/forum-18.html)
+--- Thread: NFS connections fail unless XBMC is run as root (/thread-821.html)



NFS connections fail unless XBMC is run as root - gurgle - 21st Apr, 2013 06:05 PM

Hey I've just installed Xbian and i can't access my NFS shares. I had no problem accessing them using Rasbmc, and after following these instructions to run XBMC as root, NFS connects instantly. Sadly this is not a solution because when i close the SSH window XBMC then quits to the command line...

Does anyone have any suggestions?

Xbian version: 1.0a5
not overclocked


Re: NFS connections fail unless XBMC is run as root - f1vefour - 25th Apr, 2013 03:47 AM

You need to add the xbian user to whichever group nfs is, I don't use it so no idea..check /etc/group

Or you could use screen which allows commands to continue.


NFS connections fail unless XBMC is run as root - mk01 - 28th Apr, 2013 05:46 PM

this looks like you are missing the insecure export option on the nfs exports.

insecure means, that server will accept remote connections from ports above 1024. by standard this is not allowed.

the issue is the fact that on unix systems non-root processes cant initialize connections on ports below this. that,s why it works if you are on root.

go to the server and add "insecure" to the export options.