/srv/irclogs.ubuntu.com/2012/11/08/#ubuntu-mythtv.txt

skd5aneranyone want to school me on how mythbuntu launches mythfrontend... my methods are not working21:09
skd5anerI know a few folks gave some suggestions a few weeks ago, but I don't recall what the suggestions were21:09
skd5anerRight now, I have lightdm, and autologin, which then launches an .xsession, which launches fvwm2 and mythfrontend... if mythfrontend exits or segfaults, the xsession is terminated, and I'm thrown back to the lightdm login screen...21:10
skd5anerhowever, it won't autologin21:10
skd5anerafter the initial xsession is launched21:11
skd5anerif I do a "service lightdm restart", then it'll autolog my account in again21:11
superm1skd5aner: did you look at the stuff i shared before?21:24
superm1http://bazaar.launchpad.net/~mythbuntu-dev/mythbuntu/mythbuntu-default-settings/view/head:/usr/share/mythbuntu/session.sh21:24
Zinn[bazaar.launchpad.net] ~mythbuntu-dev/mythbuntu/mythbuntu-default-settings : contents of usr/share/mythbuntu/session.sh at revision 17321:24
superm1that's how we launch it21:24
superm1and mythfrontend will auto respawn if need be21:24
skd5anerlet me go back and look21:25
superm1https://github.com/MythTV/packaging/blob/master/deb/debian/mythfrontend.sh21:25
Zinn[github.com] packaging/deb/debian/mythfrontend.sh at master · MythTV/packaging · GitHub21:25
superm1that's how we autorestart mythfrontend on crashes21:25
superm1you're probably fine if you just put an until loop like that in your xsession and don't need to pick up much else of what we do21:26
superm1the notification it's restarting is a nice touch, but i'm not sure that will work for you in such a basic session21:26
skd5anerso, right now... my .xsession is fairly basic and trivial...http://paste.ubuntu.com/1343685/21:30
Zinn[paste.ubuntu.com] Ubuntu Pastebin21:30
skd5anersuperm1: are you suggesting that if I put that in an until loop that if mythfrontend crashes it'll actually simply relaunch within the same xsession?21:31
superm1skd5aner: yup21:31
skd5anerhmmm21:31
superm1you can test it by sending it a non normal exit kill signal21:32
superm1and see what happens21:32
superm1at least for us, that works properly21:32
skd5anersomething like this: http://paste.ubuntu.com/1343698/ ?21:33
Zinn[paste.ubuntu.com] Ubuntu Pastebin21:33
skd5anerI installed libnotify21:34
superm1i think that should work21:34
skd5anerlet me give it a go21:34
superm1it should hopefully spawn the notification daemon on demand for you too when the first notify-send is called21:34
skd5anerhmmm, back at the lightdm login prompt :/21:37
skd5anerdidn't seem to work, when I did a killall mythfrontend, it killed the xsession21:39
skd5anerah, nm21:41
skd5anerI did something a little backwards, let me try and fix my own error21:41
skd5anersuperm1: ah, this is MUCH better21:42
skd5anerthank you!21:42
superm1sure21:42
superm1what did you do wardsback?21:42
skd5anerI copied and pasted into the pastebin, but forgot to put my changes BACK into the xsession :P21:43
skd5anerpretty dumb21:43
superm1haha21:43
skd5anerweb form, terminal... what's the difference really? ;)21:43
skd5anerI will say, that since 0.26, I have to do a "kill mythbackend" twice before it kills, and I can no longer exit via the GUI21:44
skd5anerer... "kill mythfrontend"21:44
skd5anerI think it's getting hung up on unregistering the bonjour stuff21:45
skd5anerbtw, the dialog didn't really seem to work for notify-send21:56
superm1skd5aner: oh that's interesting you run into that without the upstart job23:55
superm1we've been seeing that problem with the upstart job but never really investigated23:56
superm1but it's been happening in 0.25 too23:56
skd5aneryea, I can't say if it was a 0.26 issue, or a 12.10... I upgraded each within a few weeks of each other23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!