Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] How to boot Xbian as root
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
[SOLVED] How to boot Xbian as root
15th Mar, 2014, 03:37 AM
Post: #1
JD Patxiku Offline
Registered
Posts: 9
Joined: Mar 2014
Reputation: 0
[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
This was the only way to acces NFS[/term].
I reeboted and the user changed again.
How can I boot as root automaticly?
Sorry about my horrible englishConfused
Find all posts by this user
Quote this message in a reply
16th Mar, 2014, 08:05 AM
Post: #2
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
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
Find all posts by this user
Quote this message in a reply
16th Mar, 2014, 04:48 PM
Post: #3
Smultie Offline
Moderator
******
Posts: 322
Joined: Feb 2013
Reputation: 16
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.
Find all posts by this user
Quote this message in a reply
16th Mar, 2014, 05:51 PM
Post: #4
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
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
root@xbcubox:~# su xbian
xbian@xbcubox /root $ id
uid=1001(xbian) gid=1002(xbian) groups=1002(xbian),0(root),7(lp),27(sudo),29(audio),44(video),100(users),112(pul​se),1000(input)

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
17th Mar, 2014, 10:36 AM
Post: #5
JD Patxiku Offline
Registered
Posts: 9
Joined: Mar 2014
Reputation: 0
RE: [PROBLEM] How to boot Xbian as root
Problem was me all the time Sad.
My NFS wasn't allowing my RPi getting its subfolders because its IP was wrongly set...
Sorry.
Find all posts by this user
Quote this message in a reply
17th Mar, 2014, 11:06 PM
Post: #6
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
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
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 06:00 PM Powered By MyBB, © 2002-2025 MyBB Group.