<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Nov 18, 2014, at 2:40 AM, Rob Verduijn <<a href="mailto:rob.verduijn@gmail.com">rob.verduijn@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hello all,<div><br></div><div>I've recently reinstalled my mythtv living room frontend.</div><div>It's now running fedora with kdm as display manager and kde as a window manager.</div><div><br></div><div>However, I've find that these take some time before I see my familiar mythtv screen. (no surprise here)</div><div><br></div><div>So I tried to set the display manager to mythfrontend (used to work fine for me) , and I can see it start in the logs but after a while the screen stays black.</div><div>I figured that it could be caused because this is a non-supported setup, so I tried adding ratpoison as a window manager, but the screen still stays black.</div><div><br></div><div>This was the fully automated login and mythtv startup.</div><div>When I do a manual login into ratpoison desktop.</div><div>Launch an xterm and start mythfrontend, and it works.</div><div><br></div><div>This makes me think this is not related to mythfrontend without window manager, but rather an option used to launch mythfrontend.</div><div><br></div><div>Anybody who has run into this and managed to get it to work ?</div><div>I would like to improve my boot time, it seems to take forever when you are waiting for it.</div><div>(for real its about 18(ish) seconds untill the mythtv menu appears)</div><div><br></div><div>Rob</div></div>
_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>http://lists.mythtv.org/mailman/listinfo/mythtv-users<br>http://wiki.mythtv.org/Mailing_List_etiquette<br>MythTV Forums: https://forum.mythtv.org<br></blockquote></div><br><div>Rob—</div><div><br></div><div>I’m not running Fedora and the likes, but rather CentOS (6.5 IIRC) and use ratpoison as my window manager.</div><div><br></div><div>I only use ratpoison in run level 3, which is where it goes at boot by default and for typical mythtv fronted. Something tells me that when I set this up, I had something happening that required the “sleep 10” statements, but not sure if this was it.</div><div><br></div><div>If something goes wrong and it crashes, I go to a solid black screen and can’t do anything but SSH into it and reboot it. If I change run levels from an SSH session to 5 and then back to 3, I get a solid black screen again. The only thing I can do is bring it up from boot and it works.</div><div><br></div><div>I don’t think anything is strange or out of the ordinary, but here is my .xinitrc file:</div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">sleep 10</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">xset -dpms</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">xset s off</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">xset -blank 0 -powersave off -powerdown 0</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">xsetroot -solid black</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">if [ `runlevel | tail -c 2 | head -c 1` = "3" ]</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">then</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">ratpoison &</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">while [ ! -f "/var/lock/subsys/mythbackend" ]; do</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> sleep 2</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">done</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">sleep 10</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">mythfrontend > /home/mythtv/mythfrontend.log 2>&1</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">fi</div></div><div><br></div><div><br></div><div><br></div><div>and my .ratpoisonrc file:</div><div><br></div><div><br></div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"># This is a sample .ratpoisonrc file</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">#</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"># Set the prefix key to that of screen's default</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">escape C-r</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"># put something informative on the screen while we load stuff</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">exec xloadimage -onroot -quiet -center /home/mythtv/.mythtv/mythtvstart.jpg</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"># Gets rid of that ugly crosshairs default cursor and set the background to black</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">exec xsetroot -cursor_name left_ptr</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"># Use the name of the program rather than the title in the window list</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">defwinname name</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">### fire up an xterm with ctrl-A x</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">bind x exec xterm -j -fn '*-courier-*-r-*-14-*'</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"># Since running a 720x576 definition the ratpoison screens are too big for the</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"># display so we reduce the size of them with defpadding to make them fit</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">#defpadding 25 25 25 25</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">keystate_numlock = enable</div></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="font-family: Helvetica; font-size: 12px;"><br></span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="font-family: Helvetica; font-size: 12px;"><br></span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="font-family: Helvetica; font-size: 12px;"><br></span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="font-family: Helvetica; font-size: 12px;"><br></span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="font-family: Helvetica; font-size: 12px;"><br></span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="font-family: Helvetica; font-size: 12px;"><br></span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="font-family: Helvetica; font-size: 12px;"><br></span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="font-family: Helvetica; font-size: 12px;">Hopefully you get it working! Good luck.</span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="font-family: Helvetica; font-size: 12px;"><br></span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="font-family: Helvetica; font-size: 12px;">Mike</span></div></body></html>