<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>I dunno, maybe -d?<br>I thought I saw the option a couple of months ago when I ran mythfrontend --help, but:<br>[root]# mythfrontend --help<br><br><br><span>2009-11-24 14:36:41.700 mythfrontend version: trunk [22291] <a target="_blank" href="http://www.mythtv.org">www.mythtv.org</a></span><br>Valid options are: <br>-l or --logfile filename&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Writes STDERR and STDOUT messages to filename<br>-r or --reset&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Resets frontend appearance settings and language<br>-display X-server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Create GUI on X-server, not localhost<br>-geometry or --geometry WxH&nbsp;&nbsp;&nbsp; Override window size
 settings<br>-geometry WxH+X+Y&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Override window size and position<br>-w or --windowed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Run in windowed mode<br>-nw or --no-windowed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Run in non-windowed mode <br>-O or --override-setting KEY=VALUE <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Force the setting named 'KEY' to value 'VALUE'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This option may be repeated multiple times<br>--override-settings-file &lt;file&gt;
 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; File containing KEY=VALUE pairs for settings<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use a comma seperated list to return multiple values<br>-G or --get-setting KEY[,KEY2,etc] <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Returns the current database setting for 'KEY'<br>--version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Version information<br>-v or --verbose debug-level&nbsp;&nbsp;&nbsp; Use '-v help' for
 level info<br>-p or --prompt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Always prompt for Mythbackend selection.<br>-d or --disable-autodiscovery&nbsp; Never prompt for Mythbackend selection.<br>-u or --upgrade-schema&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow mythfrontend to upgrade the database schema<br>&lt;plugin&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Initialize and run this plugin<br><br>Environment Variables:<br>$MYTHTVDIR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set the installation prefix<br>$MYTHCONFDIR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set the config dir (instead of ~/.mythtv)<br><br></div><div style="font-family: times new roman,new
 york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Erez D &lt;erez0001@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Discussion about mythtv &lt;mythtv-users@mythtv.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, 24 November, 2009 14:27:43<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [mythtv-users] multiple mythfrontends on same computer<br></font><br><div dir="ltr"><br><br><div class="gmail_quote">On Tue, Nov 24, 2009 at 4:21 PM, Gareth Glaccum <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:gareth.glaccum@btopenworld.com" target="_blank" href="mailto:gareth.glaccum@btopenworld.com">gareth.glaccum@btopenworld.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204);
 margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Disable upnp on the frontends? This sets up a port for the server to connect back to I think.<br></div></div></div></blockquote><div>
<br>thats what i thought.<br><br>how do i disable upnp on the frontend ?<br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Erez D &lt;<a rel="nofollow" ymailto="mailto:erez0001@gmail.com" target="_blank" href="mailto:erez0001@gmail.com">erez0001@gmail.com</a>&gt;<br><b><span style="font-weight: bold;">To:</span></b> Discussion about mythtv &lt;<a rel="nofollow" ymailto="mailto:mythtv-users@mythtv.org" target="_blank" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>&gt;<br>
<b><span style="font-weight: bold;">Sent:</span></b> Tuesday, 24 November, 2009 13:21:31<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [mythtv-users] multiple mythfrontends on same computer<br></font><div>
<div></div><div class="h5"><br><div dir="ltr"><br><br><div class="gmail_quote">On Tue, Nov 24, 2009 at
 2:33 PM, Yan Seiner <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:yan@seiner.com" target="_blank" href="mailto:yan@seiner.com">yan@seiner.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Erez D wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
hello<br>
<br>
i have a computer which runs mysql, mythbackend and two instances of mythfrontend (for two TVs)<br>
<br>
i work in this configuration for around 5 years...<br>
<br>
now that i upgraded to karmic, i had a lot of problems.<br>
i fixed them one by one, and now i got to the issue of not being able to run two frontends on the same computer at the same time<br>
<br>
i run directly mythfrontend.real (as two instances of frontend were disabled in the wrapper script)<br>
i run the two instances from two different users, and different "LocalHostName" in the users's ~/.mythtv/mysql.txt<br>
<br>
it seams that the first instance i run works, the other doesn't.<br>
the log file i get on the second is:<br>
<br></div>
2009-11-24 11:06:01.781 mythfrontend version: branches/release-0-22-fixes [22594] <a rel="nofollow" target="_blank" href="http://www.mythtv.org">www.mythtv.org</a> &lt;<a rel="nofollow" target="_blank" href="http://www.mythtv.org">http://www.mythtv.org</a>&gt;<div>

<br>
2009-11-24 11:06:01.781 (old)Settings::ReadSettings(settings.txt) - No such file<br>
2009-11-24 11:06:01.781 Using runtime prefix = /usr<br>
2009-11-24 11:06:01.781 Using configuration directory = /home/myth2/.mythtv<br>
2009-11-24 11:06:01.781 UPnp - Constructor<br>
2009-11-24 11:06:01.781 MediaRenderer::Begin<br>
2009-11-24 11:06:01.781 ThreadPool:AddWorkerThread - HTTP_WorkerThread<br>
2009-11-24 11:06:01.781 HttpServer() - SharePath = /usr/share/mythtv/<br>
2009-11-24 11:06:01.781 MediaRenderer::HttpServer Create Error<br>
<br>
<br>
<br>
<br>
any idea ?<br>
</div></blockquote>
<br>
Start one frontend at a time; make sure they each run under a different user. &nbsp;</blockquote><div>&nbsp;<br>I run the first under user "myth1" and the second under user "myth2"<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Go into Setup | General and on page 2 add "Custom Identifier" for each frontend.<br>
<br></blockquote><div><br>it's already there (probably was read from mysql.txt as i havn't put that there myself)<br><br><br>any other ideas ?<br><br>thanks,<br>erez.<br><br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


AFAIK mysql.txt isn't used anymore.<br>
<br>
--Yan<br>
<br>
<br>
-- <br>
<br>
 &nbsp;o__<br>
 &nbsp;,&gt;/'_ &nbsp; &nbsp; &nbsp; &nbsp; o__<br>
 &nbsp;(_)\(_) &nbsp; &nbsp; &nbsp; ,&gt;/'_ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;o__<br>
A day may come &nbsp;(_)\(_) &nbsp; &nbsp; &nbsp; &nbsp; ,&gt;/'_ &nbsp; &nbsp; &nbsp;o__<br>
when the courage of men fails, (_)\(_) &nbsp; &nbsp; ,&gt;/'_ when we forsake our friends and break all (_)\(_)<br>
bonds of fellowship, but it is not this day.<br>
It is not this day!<br>
This day we ride!<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a rel="nofollow" ymailto="mailto:mythtv-users@mythtv.org" target="_blank" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a rel="nofollow" target="_blank" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br></div>
</div></div></div></div>

</div></div><br>_______________________________________________<br>
mythtv-users mailing list<br>
<a rel="nofollow" ymailto="mailto:mythtv-users@mythtv.org" target="_blank" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a rel="nofollow" target="_blank" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><br></div>
</div></div>
<!-- cg4.c241.mail.ird.yahoo.com compressed/chunked Tue Nov 24 01:35:27 PST 2009 -->
</div></body></html>