Posts: 65
Joined: Feb 2009
Reputation:
0
hi,
I install XBMCbuntu, updated to the PVR build from packages.pulse-eight.net and went to configure TVHeadend and I get a log in screen.
I have tried xbmc/xbmc, the user login details, but keep getting "The server localhost:9981 requires a username & password. The server says: TVHeadend"
I did the reconfigure utility via terminal and changed the user and password but keep getting this same reply.
Am I doing something wrong??
Dave
Posts: 666
Joined: Aug 2011
1st figure out under which user the tvheadend is running;
Quote:#ps ax | grep tvheadend
You will get out such as;
Quote:2140 ? Ssl 3:55 /usr/bin/tvheadend -f -u hts -g video
32238 pts/1 R+ 0:00 grep --color=auto tvheadend
There you will see, it runs as user "hts" (-u hts)
Go into the hts config folder for that user;
Quote:cd /home/hts/.hts/tvheadend/
Here are all setting stored. But also the config of the super user. You need to be root, so under ubuntu for instance;
Quote:sudo cat superuser
You will get an output like;
Quote:{
"username": "gsi095",
"password": "forgotthedamnthing"
}
Use those to get into the webadmin and do your things.
Posts: 2,274
Joined: Feb 2009
Reputation:
30
opdenkamp
Retired Team-Kodi Member
Posts: 2,274
or just run:
sudo dpkg-reconfigure tvheadend
you'll be asked to enter a new password.
opdenkamp / dushmaniac
xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]
Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.
If you like my work, please consider donating to me and/or Team XBMC.
Posts: 2,771
Joined: Mar 2011
Reputation:
95
Have you played with the IP address config at all? Could it be that you're connecting from a PC that doesn't have admin rights because of its IP address?
I can't remember off the top of my head, but I wonder if tvheadend defaults to localhost unless you change it... so are you connecting from the machine hosting tvheadend, or a different one?
Have a look at ~/.hts/tvheadend/accesscontrol and see what's in there...
Posts: 38
Joined: Nov 2008
Reputation:
0
Yep, originally had it set to 0.0.0.0/0. I changed it to 192.168.1.0/24 just to see if it would change the outcome. I also SSHed in and used lynx to localhost:9981. It fails just the same.
Unless there's somewhere else to change it.
Posts: 2
Joined: Mar 2012
Reputation:
0
Try start tvheadend with -C. This will create a user account with no username/password if no user exists already. Then you can get access and create a new user.
That did it for me.
Posts: 2
Joined: Jan 2015
Reputation:
0
negge - thanks I shall try that...