<html><body><br /><blockquote><p><br />----- Original Message -----<br /></p><div style="background:rgb(228,228,228);width:100%;"><div style="font-weight:bold;">From:</div> "Discussion about MythTV" <mythtv-users@mythtv.org></div><br /><div style="font-weight:bold;">To:</div>"Discussion about MythTV" <mythtv-users@mythtv.org><br /><div style="font-weight:bold;">Cc:</div><br /><div style="font-weight:bold;">Sent:</div>Fri, 25 Mar 2016 20:42:52 +1100<br /><div style="font-weight:bold;">Subject:</div>Re: [mythtv-users] MythTV Raspberry Pi 2+ MythFrontend Setup Tutorial<br /><br /><br />
On 25/03/16 04:40, Andrew Potter wrote:<br />
> Hi,<br />
><br />
> Have followed the tutorial to get the myth-tv frontend onto a RPI3.<br />
><br />
> All seems to go well until I run<br />
><br />
> QT_QPA_PLATFORM=xcb\<br />
>   LD_LIBRARY_PATH=$HOME/mythtv-rpi/lib\<br />
>   QT_PLUGIN_PATH=$HOME/mythtv-rpi/plugins\<br />
>   ~/mythtv-rpi/bin/mythfrontend -w -geometry 1920x1080 -p<br />
><br />
> In response I get<br />
> QXcbConnection: Could not connect to display<br />
> Aborted<br />
><br />
> I am using mythtv-v0.27.6-69-g41a2a8d-RPI2-jessie.tar.bz2<br />
><br />
> And 2016-02-26-raspbian-jessie.zip<br />
><br />
> I can see the command line on the screen. I get the same results whether<br />
> issued via ssh or directly with a keyboard on the pi itself.<br />
><br />
><br />
> Thanks for any help given and thanks for creating the tutorial.<br />
><br />
> Andrew Potter<br />
><br />
> _______________________________________________<br />
You need to have X running i.e. boot to GUI when using xcb (XCB ("X C <br />
Binding") is an low-level API for the X window server).<br /><br />
 From the console prompt you can type startx (this will start the X GUI) <br />
and then run the mythfrontend command from a terminal within the GUI.<br /><br /><br />
Mike<br />
_______________________________________________<br /><p><font face="Times New Roman" size="3">

<br /></font></p><p style="margin:0cm 0cm 0pt;"><font face="Calibri" size="3">Sorry for the late reply.</font></p><p><font face="Times New Roman" size="3">

</font><font face="Calibri" size="3">This seemed to work for me, though, obviously did not
work via ssh though.</font></p><p><font face="Times New Roman" size="3">

</font><font face="Calibri" size="3">Still not sure what part of the process I missed!</font></p><p><font face="Times New Roman" size="3">

<br /></font></p><p style="margin:0cm 0cm 0pt;"><font face="Calibri" size="3">Continued through the tutorial and now it is starting up
with the country questions, I did modify the start up routine though to not
wait for the network.</font></p><p><font face="Times New Roman" size="3">

</font><font face="Calibri" size="3">Think I need to reintroduce that timer.</font></p><p><font face="Times New Roman" size="3">

</font><font face="Calibri" size="3">After reconfirming the country/language and then
acceptingthe folling general set up screens I get a blank screen. A bit of
blind keyboard pressing got the live tv working so I think the system is
running just not outputting to the display correctly.</font></p><p><font face="Times New Roman" size="3">

</font><font face="Calibri" size="3">Will try a few things.</font></p><p><font face="Times New Roman" size="3">

</font><font face="Calibri" size="3">Thanks for your help.</font></p><p><font face="Times New Roman" size="3">

</font><font face="Calibri" size="3">Andrew</font></p><p><font face="Times New Roman" size="3">

</font><br /></p></blockquote></body></html>