TVHeadend not letting me in - Printable Version
+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: PVR Help and Support (/forumdisplay.php?fid=167)
+---- Forum: HTS Tvheadend (/forumdisplay.php?fid=168)
+---- Thread: TVHeadend not letting me in (/showthread.php?tid=125011)
TVHeadend not letting me in - gsi095 - 2012-03-08 07:05
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??
- LastCoder - 2012-03-08 18:09
Sorry, have no idea .. try to ask in the tvheadend forum (https://www.lonelycoder.com/redmine/projects/tvheadend/boards)
- j1nx - 2012-03-08 18:52
1st figure out under which user the tvheadend is running;
Quote:#ps ax | grep tvheadendYou will get out such as;
Quote:2140 ? Ssl 3:55 /usr/bin/tvheadend -f -u hts -g videoThere 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 superuserYou will get an output like;
Use those to get into the webadmin and do your things.
RE: TVHeadend not letting me in - opdenkamp - 2012-03-17 12:59
or just run:
sudo dpkg-reconfigure tvheadend
you'll be asked to enter a new password.
RE: TVHeadend not letting me in - babca - 2012-05-07 15:03
I had a similar issue, and found this:
Quote:create a file calles "1" with following content in the ~/.hts/tvheadend/accesscontrol/ directory
For some reason the ~/.hts/tvheadend/accesscontrol/ directory had gone, so I had to create it again incl. the '1' file and it's OK now.
RE: TVHeadend not letting me in - nobleach - 2012-09-14 21:13
(2012-03-17 12:59)dushmaniac Wrote: or just run:
It doesn't matter how many times I try this, it doesn't let me in. I can see the username and password in the file, so I know I'm typing it correctly.
Does it not allow my to connect from a remote host? I can't connect from localhost, it doesn't have a web browser.
RE: TVHeadend not letting me in - Prof Yaffle - 2012-09-15 00:13
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...
RE: TVHeadend not letting me in - nobleach - 2012-09-15 00:20
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.
RE: TVHeadend not letting me in - thatsenough - 2012-09-16 12:41
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.
RE: TVHeadend not letting me in - lachs - 2013-01-07 02:52
(2012-09-15 00:20)nobleach Wrote: 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.
I had the same problem but when i ran:
root@LachsMC:/home/lachs/.hts/tvheadend/accesscontrol# cat 1
"comment": "Default access entry",
showing me that despite setting up my own password with the initial tvheadend config it is using xbmc/xbmc as the user/pass still...
Hope this helps...
RE: TVHeadend not letting me in - shess757 - 2013-09-17 16:16
(2013-01-07 02:52)lachs Wrote:(2012-09-15 00:20)nobleach Wrote: 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.
Had same problem tried xbmc/xbmc and it worked, just wanted to update this post.
RE: TVHeadend not letting me in - martyn379 - 2015-01-11 15:54
I am a new user to Kodi but played around with XBMC for a while - never really getting it to work properly for me.
In addition to the issues above - I followed the instructions to find that the hts user wasn't in fact running tvheadend on my system. I don't know if this is a quirk of the Ubuntu setup I am using but it was using the user name set up during *buntu installation.
as suggested I accidently discovered that.
When looking through that users home directory there was the 'hts hidden file with all the settings in the subdirectories as already described. If you find your setups are not behaving it might be worthwhile checking your own home folder if you have one.
RE: TVHeadend not letting me in - negge - 2015-01-14 12:11
@martyn379 uninstall tvheadend completely and install it from the apt repository. I recommend using the "unstable" version, it's not really unstable but packs a ton of new features and fixes.
RE: TVHeadend not letting me in - martyn379 - 2015-01-14 19:56
negge - thanks I shall try that...