Can't get PHT to run on ubuntu 14.04

I am running ubuntu 14.04 with PMS.  I installed PHT for linux, and it ran fine the first time I started it.

I rebooted the laptop, and now I cant get it to run. 

 

I am a linux noob / recent windows refuge, so this is not second nature to me yet.

 

I installed PHT using instructions here: https://forums.plex.tv/topic/87255-the-plex-home-theater-debs-thread/?p=505692

 

I tried to fix by going to terminal and typing: sudo apt-get remove plexhometheater

 

Then I reinstall it.  That didn't work.

 

Can anyone give me a little help?  I would like to have PMS and PHT running on the same machine.  Could that be the problem?

I have PHT running on my Ubuntu 14.04 - but the mouse does not work within the application.

@sethlo, could you provide more infomation? I'm not a linux guy but got PHT running great on ubuntu 14.04 since yesterday.

It was a bit of a strucle to get it going until I found the correct tutorial on plex forums.

@bit.shifter52@gmail.com, isn't that normal in PHT player? I have to run it on Windows 8.1 and windows 7 and both neded to be controlled by keyboard or idealy via remote control IR

@twisted_nl not sure what else to add. It started once, then after reboot I try to run it from unity and absolutely nothing happens. Nothing after my reinstall attempt either.

PlexHT was running fine after installing on ubuntu 14.04, but then I attempted to login to plex in the home theater, and right after I pressed ok, PlexHT crashed.  I have tried to restart it and it cannot start.  I've been trying to find out where the log files are for plex so I can examine what the problem might be.  Can anyone help me figure out how to read the log files for PlexHT on ubuntu 14.04?  Thanks in advance for you help.

The logs are in 

~.plexht/temp/

https://support.plex.tv/hc/en-us/articles/201165607-Plex-Home-Theater-Log-File

I have the same issue. I was able to run the program once but it crashed before I could sign in. Even if I call it directly from terminal it doesn't open at all. Was not able to reinstall as couldn't figure that part out but I think I will try your method for removing. New to ubuntu as well.

Looks like a lot of people are having this issue. Does it persist with 1.3.3 (latest as of today)? Important: are you running 32-bit or 64-bit (if you don't know you can run "uname -a" from command line and look for either i686 (32-bit) or amd64 (64-bit) in the string it outputs).

I have Ubuntu 14.04.1 64Bit and PHT use to work with some crashes but almost stable version 1.3.2. After Yesterday and today's update to version 1.3.3 it is not usable at all. Unable to sign with pin or login credentials and unable to play any file or display picture. I had to go back to 1.3.2 and it works again.

Went from 1.3.1 to 1.3.3 -> doesn't work, unresponsive at every start of video.

Hi fellow per-Plex-ed,


I found that I also could not run plexhometheater 1.3.3 on Ubuntu 14.04.1 LTS. Could not log in with either PIN or manual. Attempted removing and reinstalling the application, as well as removing .plexht from the user directory, etc. Even when not logged in, nothing would play…


I uninstalled the problematic version using:

sudo apt-get remove plexhometheater
On another thread (https://forums.plex.tv/topic/129727-130-worked-fine-131-is-unusable-–-ubuntu-1404), a link to previously released builds is given.


I downloaded the latest 64-bit 1.3.2 release for Ubuntu 14.04.1 using the following command:
wget https://launchpad.net/~plexapp/+archive/ubuntu/plexht/+build/6611245/+files/plexhometheater_1.3.2.417-201412021047-ubuntu65~ubuntu14.04.1_amd64.deb

I then installed the retrieved .deb using:
sudo dpkg -i plexhometheater_1.3.2.417-201412021047-ubuntu65~ubuntu14.04.1_amd64.deb

Received some errors for fonts during install, but otherwise all good…


If you plan to do the same, make sure you download the correct version for your machine and OS; 64-bit vs 32-bit, and Ubuntu version, respectively.


So far, it’s working again for me. I won’t be updating until a fix is released!


Best wishes…

I have not had much luck finding i386 older versions; however, the behavior I'm seeing is fairly reproducible.

1. remove .plexht

2. start plexhometheater.sh - works fine through the installer... until...

3. CANCEL the sign-in process. My sign-in process hangs (never returns) if I do PIN, or locks up if I use login/password.

4. if the sign-in process is cancelled, I can see my local media (of course none of the media shared with me)

At this point I can quit and restart PlexHT over and over and it continues to work locally.

If at any point I enter authentication credentials then I cannot get back on. It segfaults every time. I can then start the process over again.

With that said... no movies can play either, even if I get it to this "working" state.

How can I help? 

PHT version 1.3.4 no good same as 1.3.3 on Ubuntu 14.04.1 64Bit. :(

I should mention I was able to build from source using a small patch for a member non-object (something like iDoubleTap becoming iDoubleTap50). With the source built, I was able to get some debug information from gdb, if this is helpful to anyone. 

Also see:

https://forums.plex.tv/topic/130297-pht-131-on-ubuntu-broken-please-update-to-132-and-report-back-here/?p=792290

I am knowledgeable with git, so I could apply patches and try them out and rebuild source and test - I don't have a ton of relevant Linux/C++ knowledge, but I can generally wade through code. But i don't have a full debugger. I think this is somehow hardware specific. My friend who has the problem also has Intel hardware?

Relevant lspci:

cwells@pegasus:~$ lspci
00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82G965 Integrated Graphics Controller (rev 02)
00:03.0 Communication controller: Intel Corporation 82P965/G965 HECI Controller (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02)
00:1a.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HH (ICH8DH) LPC Interface Controller (rev 02)
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA Controller [RAID mode] (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
02:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6101/6102 single-port PATA133 interface (rev b1)
06:00.0 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
06:00.1 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
06:00.2 USB controller: VIA Technologies, Inc. USB 2.0 (rev 63)
06:01.0 Multimedia video controller: Internext Compression Inc iTVC15 (CX23415) Video Decoder (rev 01)
06:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx]

Hey. 

I also cannot run PlexHT on my fresh install of 14.04 32bit.

I've tried 1.3.3 and now 1.3.4 and get stuck on login.

I've tried to download 1.3.2 and install with dpkg but I only get a bunch of dependency issues then which I cannot fix. 

webbson - what is your hardware? (output of running "lspci" from command line)

My PHT worked just fine earlier. Cant remember what version it was but probably a month or two old. Just upgraded to 1.3.4 and now I need to switch to console to kill PHT. I can move in the menus but no remote content and quit doesn't work.

Ubuntu 14.04

PHT 1.3.4

AMD Radeon w/ fglrx drivers

Intel i5 2500k

8GB RAM

webbson - what is your hardware? (output of running "lspci" from command line)

00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 02)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300 Series]

An old Intel Core 2 Quad i think.

Actually - which processor is it specifically (execute "cat /proc/cpuinfo")?  I think it matters.. I've dug through a little bit and discovered something interesting. In fact, I can get it working with changes to the code that bypass using the extended AES instruction set.

Some chips come with instructions to help speed up encryption and decryption using the AES standard. Others do not. There is a function in /plex-home-theater-public/plex/Third-Party/aes/aes_via_ace.h near line 351 called is_via_cpu() -- which presumably exists to determine whether or not the AES instruction set exists on the processor. 

This is the processor I have. You can see that the AES instruction set is NOT supported on this processor:

http://ark.intel.com/products/29755/Intel-Core2-Duo-Processor-E6420-4M-Cache-2_13-GHz-1066-MHz-FSB

So I took that function and you can see the code that was there that I commented out, and replaced with a more hard "no this is not a VIA cpu":

INLINE int is_via_cpu(void)
{   int val;
    /*asm("pushl %ebx
	");
    asm("xorl %eax,%eax
	");
    asm("cpuid
	");
    asm("xorl %eax,%eax
	");
    asm("subl $0x746e6543,%ebx
	");
    asm("orl  %ebx,%eax
	");
    asm("subl $0x48727561,%edx
	");
    asm("orl  %edx,%eax
	");
    asm("subl $0x736c7561,%ecx
	");
    asm("orl  %ecx,%eax
	");
    asm("movl %%eax,%0
	" : "=m" (val));
    asm("popl %ebx
	");
    val = (val ? 0 : 1);
    via_flags = (val | NEH_CPU_READ);
    return val;*/
    via_flags = (0 | NEH_CPU_READ);
    return 0;
}

I then rebuilt AND NOW PLEX IS VERY STABLE AND WORKS WELL FOR ME!  Hooray for me, I guess - but lots of other people don't know how to compile from scratch. I wish I knew the appropriate venue to file a bug report for this... the github repo does not have the issue tracker enabled. If anyone knows the proper place to file this I can attach a backtrace and stuff. 

I read through some of the code comments and it seems that if it can't use the AES instruction set it just falls back to using a slower software-based solution, but considering it allowed me to authenticate with plex and everything's running well (I'm basing my build off the 1.3.3 code but I bet this would work fine against 1.3.4 or HEAD) I think I've at least found the crux of the issue. 

Specifically, the segfault happens when trying to set via_flags:

via_flags = (val | NEH_CPU_READ);

So val must be something pretty bogus after all that assembler code executes...?

I have similar problems on Fedora Core 20 & 21 as well CentOS 7. Sign on never completes. PIN just hangs. Is there some firewall port that needs to be opened or forwarded from the router? Everthing since 1.3.* has failed in one way or another on any Linux I try.