Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
x11-wm/fluxbox-1.3.6-r1 breaking mythtv autostart [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1816

PostPosted: Sun Jun 14, 2015 3:38 pm    Post subject: x11-wm/fluxbox-1.3.6-r1 breaking mythtv autostart [SOLVED] Reply with quote

I just updated my mythtv systems and ran into trouble on my mythfrontend machine. It took a while but I traced it to the update of fluxbox from 1.3.5 to 1.3.6-r1. Downgrading to 1.3.5 fixes this.

I've always used an autostart process pretty much as described here:

http://dev.gentoo.org/~cardoe/mythtv/autostart.html

I have this in /etc/inittab:
Code:
c8:2345:respawn:/sbin/mingetty --autologin mythtv tty8


The mythtv user has this in .bash_profile:
Code:
# .bash_profile
case "`tty`" in
   *tty8) startx; logout ;;
esac


...and this in .xinitrc
Code:
# .xinitrc
startfluxbox &
exec /usr/bin/mythfrontend


Note that the other recommended things that are often in the above like the xset commands are in the ~/.fluxbox/startup and have always worked fine that way. My .fluxbox/startup just runs a few things in the background like xscreensaver and then does the usual "exec /usr/bin/fluxbox".

Here's what happens with fluxbox-1.3.6-r1:

I end up with what appears to be my blank fluxbox screen. The /usr/bin/mythfrontend.real is running at that point but I can't see it or get to it in any way. I have Alt-Tab in fluxbox set up to do ":NextWindow" but that doesn't seem to help.

By chance I discovered that if I hit Ctrl-Alt-Backspace (which I have enabled in xorg.conf to terminate X), upon respawning, I can see the mythtv screen and it works, but does NOT recognize the keyboard at all. At that point I can use mythtv but only with the remote. So far that's the only way I've been able to see the mythtv window at all.

I'm using 1.3.5 now an everything's fine. Any ideas? I'm totally confused at this point as to what's even happening there.

Tom


Last edited by tld on Sun Jun 14, 2015 5:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1816

PostPosted: Sun Jun 14, 2015 4:53 pm    Post subject: Reply with quote

It looks like fluxbox is crashing altogether:

Code:
ps auxw|grep myth
mythtv    1175  0.0  0.5   5340  3056 tty8     S+   12:11   0:00 -bash
mythtv    1181  0.0  0.4   5340  2092 tty8     S+   12:11   0:00 -bash
mythtv    1197  0.0  0.3   3456  1636 tty8     S+   12:11   0:00 xinit /home/mythtv/.xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /home/mythtv/.serverauth.1181
root      1198  2.2 12.1  85664 62236 tty6     Ss+  12:11   0:01 /usr/bin/X -nolisten tcp :0 -auth /home/mythtv/.serverauth.1181
mythtv    1202  7.3 47.8 561820 245200 tty8    Sl   12:12   0:03 /usr/bin/mythfrontend.real --logpath /var/log/mythtv/
mythtv    1203  0.1  0.0      0     0 tty8     Z    12:12   0:00 [fluxbox] <defunct>
mythtv    1217  0.1  0.8   7136  4540 tty8     S    12:12   0:00 /usr/bin/xscreensaver -no-splash
mythtv    1218  0.0  0.6   5996  3468 tty8     S    12:12   0:00 /usr/bin/perl /usr/local/bin/gputemp
mythtv    1257  0.5  9.8 311744 50284 ?        Ssl  12:12   0:00 /usr/bin/mythlogserver --daemon --verbose general --logpath /var/log/mythtv --loglevel info


Note the defunct process. I'm still digging, but I'm wondering if it isn't related to this:

http://sourceforge.net/p/fluxbox/bugs/1116/
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1816

PostPosted: Sun Jun 14, 2015 5:53 pm    Post subject: Reply with quote

OMG...it looks like that bug was the issue. My mythtv user was using the Artwiz style in fluxbox. I disabled the auto start of the mythtv program so I could just go in using fluxbox. As soon as anything created a window (running anything at all) fluxbox crashed. Switching to a different style fixed it. With the autostart setup in .xinitrc launching fluxbox in the background and then doing "exec /usr/bin/mythfrontend", it made it very difficult to even know the crash had occurred.

FFS though...is it just me, or does that bug (labelled critical no less) warrant something more than a target of fluxbox 1.3.7?? Are they kidding?

Tom
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1816

PostPosted: Mon Jun 15, 2015 7:54 pm    Post subject: Reply with quote

For anyone interested, I've logged a bug on that one with the upstream patch. I've tested and it does seem to correct the issue:

https://bugs.gentoo.org/show_bug.cgi?id=552222

Tom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum