[mythtv-users] No Display on Frontend

Frank Phillips frankalso at gmail.com
Fri Aug 7 18:24:49 UTC 2015


On Thu, Aug 6, 2015 at 10:20 AM, Kirk Bocek <t004 at kbocek.com> wrote:

<snip>


>
> On 8/6/2015 5:30 AM, Michael T. Dean wrote:
>
> 2. /var/lib/mythtv/.bash_profile looks like:
>
> #See nvidia readme:
> #export __GL_SYNC_TO_VBLANK=1
> /usr/bin/setterm -blank 0 -powerdown 0
>
> if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty8 ]; then
> while [ 1 == 1 ]
>      do
>           startx
>           sleep 4
>         /usr/bin/xset -display :0 s noblank
>         /usr/bin/xset -display :0 s off
>         /usr/bin/xset -display :0 -dpms
>      done
> fi
>
> One host is Nvidia, this one is the Liva so the Nvida line is commented
> out.
>
> 3. /var/lib/mythtv/.xinitrc looks like:
>
> xset -dpms s off
> xsetroot -solid black
> xhost +
> #See nvidia readme:
> export __GL_SYNC_TO_VBLANK=1
> #/usr/bin/pkill irexec
> #/usr/bin/irexec -d /var/lib/mythtv/.lircrc
> /usr/bin/mythfrontend --logpath=/var/log/mythtv
> #mythtv-setup
> #/usr/bin/fvwm &
> #xterm
>
> So, if I want a simple xterm window for testing, I uncomment those lines
> and comment out the mythfrontend line and pkill X. My loop in .bash_profile
> means if mythfrontend crashes or exits it will restart after four seconds.
> I actually find it pretty useful.
>
> Does anyone see any problems with this startup process?
>
>
 With the blue background covering a responsive frontend, for some reason
the screen stack is out of order the first time you start. I don't know if
it will help, but I have sometimes used a sleep command before mythfrontend.

xset -dpms s off
ratpoison &
sleep 3 && mythwelcome --logpath /tmp --loglevel crit

You could try starting a window manager before mythfrontend (the & on it is
important).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150807/32e596a3/attachment.html>


More information about the mythtv-users mailing list