>From what I can tell, setuid to root (chmod u+s /usr/bin/mythfrontend) doesn't work on mythfrontend due to some sort of bug.&nbsp; The only way I got it to work is to use sudo to start mythfrontend.&nbsp; <br><br>To use sudo to start mythfrontend and use realtime priority.&nbsp; I have user mythtv running X and mythtv owns all video/tv files so I need to give sudo rights to user mythtv to start mythfrontend.
<br><br>To do so: <br><ol><li>run 'visudo' as root</li><li>Under Cmnd alias specification, enter 'Cmnd_Alias MFE = /usr/bin/mythfrontend'</li><li>Under User privilege specification, enter 'mythtv&nbsp; ALL=(ALL) NOPASSWD: MFE'
</li><li>Exit visudo using the vi save and exit command, :wq</li><li>You're /etc/sudoers file (NEVER edit /etc/sudoers directly, use 'visudo') should look something like:</li></ol><div style="margin-left: 80px;"><font size="1">
# Cmnd alias specification<br>Cmnd_Alias MFE = /usr/bin/mythfrontend<br><br># Defaults specification<br><br># Runas alias specification<br><br># User privilege specification<br>root&nbsp;&nbsp;&nbsp; ALL=(ALL) ALL<br>mythtv&nbsp; ALL=(ALL) NOPASSWD: MFE
<br></font></div><div style="margin-left: 40px;"><br></div><br>Start mythfrontend using the command: e.g. '/usr/bin/sudo /usr/bin/mythfrontend &amp;'&nbsp; The frontend is now running as root.&nbsp;&nbsp;&nbsp; You should see a log entry that says something like 'Using realtime priority' when you start mythfrontend.&nbsp; Warning, this may or may not violate your security standards and should only do so if you understand the risks involved running an application as root.
<br><br>J<br><br><br><div><span class="gmail_quote">On 11/22/05, <b class="gmail_sendername">Chris Trown</b> &lt;<a href="mailto:ctrown@safe-mail.net">ctrown@safe-mail.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I've been battling image problems with my install and thought that<br>the problem was lack of priority for the mythfrontend in the kernel.<br>Turns out that's not the problem, but I still would like to know.<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Has anyone managed to get realtime priority threads working with<br>Fedora Core3?<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I've read the following thread and tried it all out:<br><br><a href="http://www.gossamer-threads.com/lists/mythtv/users/159201?search_string=rtprio;#159201">
http://www.gossamer-threads.com/lists/mythtv/users/159201?search_string=rtprio;#159201</a><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;But it doesn't work.&nbsp;&nbsp;I've read some posts out on the 'Net saying<br>that rtprio has been included in the latest PAM for FC3, but the dox
<br>I've seen doesn't list that as an option.&nbsp;&nbsp;I also went as far as to D/L<br>the SRPM for PAM to tkae a look.&nbsp;&nbsp;I grep'd the entire tree looking for<br>&quot;rtprio&quot;.&nbsp;&nbsp;No joy.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;So anybody get this working?
<br><br>Chris...<br><br>--<br>&quot;Those who would give up essential liberty to purchase a little<br>temporary safety deserve neither liberty nor safety&quot; -- Benjamin<br>Franklin<br>_______________________________________________
<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Jonathan Tidmore