[mythtv-users] Install package for MythTV 0.27 on Raspberry Pi 2 Jessie

Curtis Gedak gedakc at gmail.com
Fri Mar 11 16:33:59 UTC 2016


On 16-03-11 09:12 AM, Peter Bennett (cats22) wrote:
> On 03/11/2016 10:52 AM, airdrummer wrote:
>>>> https://github.com/bennettpeter/mythtv/releases/tag/v0.27.6-66
>>
>> got it, installed w/o a problem:-) gr8 work, thanx, peter!-)
>>
>>>    startx /usr/bin/mythfrontend
>>
> The normal way to start it is to boot into gui or run startx and then
> select "MythTV Frontend" off the menu

My RPi2 is configured to boot to a console and be logged in as the user
"pi".

If you are already in a GUI desktop then in a terminal window you would
enter:

    /usr/bin/mythfrontend

because X-Windows would already be running.  Hence no need for "startx".


Peter:  Please note that I did not observe a "MythTV Frontend" menu in
        the GUI desktop.

        Also I noted a regression when playing the "change-resolution"
        sample clip.  It crashes with the .deb install.


>> ~pi needed to sudo it...
>>
> Please can you explain this. Mythfrontend should not be run under sudo,
> but the install will have to run under sudo.

Agreed.  sudo is not needed to run mythfrontend.

airdrummer:  Did you try to run "startx /usr/bin/mythfrontend" inside
             a terminal window in the GUI?

             If so that that might be the problem you encountered, and
             perhaps you thought you needed to run as root.  This would
             cause all sorts of problems, and perhaps explain the log
             results you encountered.


>> 1st thing i tried was setup wizard, which imediately went t-u:
>>
>> 2016-03-11 10:47:18.787821 I  No UUID in DB or File, generating new
>> UUID...
>> 2016-03-11 10:47:18.788443 I  Locking input devices
>> 2016-03-11 10:47:18.791298 N  Suspending idle timer
>> 2016-03-11 10:47:19.657469 I  Unlocking input devices
>> 2016-03-11 10:47:19.657527 N  Resuming idle timer
>> ALSA lib pcm_dsnoop.c:557:(snd_pcm_dsnoop_open) The dsnoop plugin
>> supports only capture stream
>> ALSA lib pcm_dsnoop.c:557:(snd_pcm_dsnoop_open) The dsnoop plugin
>> supports only capture stream
>> 2016-03-11 10:47:29.492170 E  ALSA:
>> snd_pcm_open("dsnoop:CARD=ALSA,DEV=0"): Invalid argument
>> 2016-03-11 10:47:29.502833 E  ALSA:
>> snd_pcm_open("dsnoop:CARD=ALSA,DEV=1"): Invalid argument
>> 2016-03-11 10:47:29.731644 E  PulseAudio: ContextConnect, context
>> connect failed: Connection refused
>> Handling Segmentation fault
>> xinit: connection to X server lost
>>
>> waiting for X server to shut down (II) Server terminated successfully
>> (0). Closing log file.
> I will look into this, but are you able to go into watch recordings or
> watch videos, etc.?

If "sudo startx /usr/bin/mythfrontend" was run from within a terminal
window in an already-running GUI desktop, then that might explain these
log file entries.

Curtis


More information about the mythtv-users mailing list