If you are using X, then you are still using a display manager whether or not you have automatic login.  If you want to be able to shutdown from mythfrontend, then you need to match you display manager with your desktop manager.  
i.e. kdm if using kde or gdm if using gnome.<br><br>KDE and Gnome tie into their display manager's admin access to shutdown or restart the server.<br><br>So if you're using KDE, use KDM and then you can shutdown your server.
<br><br>To use KDM edit /etc/sysconfig/desktop and add:<br><br>DISPLAYMANAGER=&quot;KDE&quot;<br><br><br><div><span class="gmail_quote">On 12/27/05, <b class="gmail_sendername">Piers Kittel</b> &lt;<a href="mailto:mythtv@biased.org">
mythtv@biased.org</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;">No display manager and not using KDE.<br><br>When the computer boots up, it loads mythfrontend on its own.&nbsp;&nbsp;No log in
<br>manager, nothing.&nbsp;&nbsp;It's intended to be used only for a frontend in my<br>bedroom, so no big deal if someone hacked in and powered the frontend<br>off - very unlikely anyway.<br><br>Hmm.&nbsp;&nbsp;But then again, the files for the frontend is on the server
<br>(diskless frontend using netboot you see) so the halt command is open to<br>all on the server....&nbsp;&nbsp;best check that then!&nbsp;&nbsp;Hmm, I seem to be able to<br>access halt via my server as a non-root user - not going to actually
<br>invoke the command though!&nbsp;&nbsp;Maybe best to move the halt command<br>somewhere else, rename it to something like &quot;fluffy_teddies&quot; - no-one'll<br>find it...?<br><br>Cheers - Piers<br><br>Jonathan Tidmore wrote:
<br>&gt; Are you using kde?&nbsp;&nbsp;Which Display Manager are you using?&nbsp;&nbsp;GDM, KDM, XDM?<br>&gt;<br>&gt; chmod +s /sbin/halt is not a good idea.<br>&gt;<br>&gt; On 12/27/05, *R. Geoffrey Newbury* &lt;<a href="mailto:newbury@mandamus.org">
newbury@mandamus.org</a><br>&gt; &lt;mailto:<a href="mailto:newbury@mandamus.org">newbury@mandamus.org</a>&gt;&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; On Tue, 27 Dec 2005 01:58:15 +0000, Piers Kittel wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;Hello all,
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;Mythfrontend is set to turn off my computer using the command &quot;halt&quot;.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;Mythfrontend is run as an non-root user - in this case user<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &quot;piers&quot; - so
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;when I try to exit MythTV, and I select &quot;Yes, exit and shutdown&quot; - it<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;jsut says &quot;Command not found&quot;.&nbsp;&nbsp;Obviously this command isn't available<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;to non-root users.&nbsp;&nbsp;So how do I enable the user &quot;piers&quot; to be able to
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;shut down the computer without opening up too many obvious<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; security holes?<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; put a copy of the program in /home/piers or /home/mythtv as<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; applicable and<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; chmod it so that user 'piers'&nbsp;&nbsp;or 'mythtv' can execute it.
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; If user mythtv &quot;owns&quot; mythfrontend, then only mythtv and root will<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; be able<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; to execute the shutdown.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Geoff<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; R. Geoffrey Newbury&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;
<a href="mailto:newbury@mandamus.org">newbury@mandamus.org</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mailto:<a href="mailto:newbury@mandamus.org">newbury@mandamus.org</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Barrister and Solicitor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Telephone: 905-271-9600
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Mississauga,Ontario, Canada&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Facsimile:&nbsp;&nbsp; 905-271-1638<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; _______________________________________________<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; mythtv-users mailing list<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:mythtv-users@mythtv.org">
mythtv-users@mythtv.org</a> &lt;mailto:<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Jonathan Tidmore<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________
<br>&gt; mythtv-users mailing list<br>&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>&gt; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><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