[SOLVED] How to boot Xbian as root
|
15th Mar, 2014, 03:37 AM
Post: #1
|
|||
|
|||
[SOLVED] How to boot Xbian as root
After hours of configuration the only way I could configure NFS was beeing root.
I start Xbian as root with this command: Terminal sudo /usr/local/lib/xbmc/xbmc.bin --standalone I reeboted and the user changed again. How can I boot as root automaticly? Sorry about my horrible english |
|||
16th Mar, 2014, 08:05 AM
Post: #2
|
|||
|
|||
RE: [PROBLEM] How to boot Xbian as root
on NFS server edit exports and add "insecure" options. this will accept connections from unprivileged port (NFS sessions opened by not root user).
if this is not an option, then you can change xbian's effective userid to 0 or change user in /etc/init/xbmc.conf Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
16th Mar, 2014, 04:48 PM
Post: #3
|
|||
|
|||
Re: RE: [PROBLEM] How to boot Xbian as root
(16th Mar, 2014 08:05 AM)mk01 Wrote: if this is not an option, then you can change xbian's effective userid to 0 or change user in /etc/init/xbmc.conf Could you explain how to change the user's id? Can't seem to find it in the file you mentioned. Some background: Synology changed something in their new DSM 5 firmware and now newly created nfs-shares don't work with the old instructions on the XBMC-wiki. Some users have had good experience with user-id, but I've not been able to work it out. |
|||
16th Mar, 2014, 05:51 PM
Post: #4
|
|||
|
|||
RE: [PROBLEM] How to boot Xbian as root
you can simply edit /etc/password and /etc/shadow and hard edit current 1000:1000 to 0:0
but before try more proper way: Code: root@xbcubox:~# usermod -a -G 0 xbian Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
17th Mar, 2014, 10:36 AM
Post: #5
|
|||
|
|||
RE: [PROBLEM] How to boot Xbian as root
Problem was me all the time .
My NFS wasn't allowing my RPi getting its subfolders because its IP was wrongly set... Sorry. |
|||
17th Mar, 2014, 11:06 PM
Post: #6
|
|||
|
|||
RE: [PROBLEM] How to boot Xbian as root
no problem.
the point is you got it solved. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|