<p>`su -`gives root&#39;s $PATH and environment variables.</p>
<p>`su` (no hyphen!) gives root permissions but inherits $PATH and environment variables.</p>
<p>You might want to give the latter a go.<br>
</p>
<div class="gmail_quote">On Sep 13, 2011 10:09 AM, &quot;mcforum&quot; &lt;<a href="mailto:mcforum@bellsouth.net">mcforum@bellsouth.net</a>&gt; wrote:<br type="attribution">&gt;&gt;  As with most things, it&#39;s easy when you know the tricks. I hope these<br>
&gt;&gt;teething troubles don&#39;t discourage you.<br>&gt; <br>&gt; Teething Troubles--It&#39;s like climbing up a sand dune.  This protecting me from <br>&gt; myself is getting terribly frustrating.  I want to do work not continually chase <br>
&gt; the user interface.  I was happy with fvwm but it has become moribund.  <br>&gt; <br>&gt; <br>&gt; KDE3 worked fine but KDE4 is awful.  I switched to GNOME now leaving for xfce4.  <br>&gt; <br>&gt; <br>&gt; Along the way the administration of my systems is gone.  A terminal session <br>
&gt; switched to root with &quot;su -&quot; can&#39;t start a program needing the display reliably <br>&gt; no matter which desktop is used.  Analogous to kdesu, single programs can be <br>&gt; started with sudo but an xterm started that way cannot start a next level gui <br>
&gt; program.  Sometimes the DISPLAY variable can be reset and get the &quot;su -&quot; root <br>&gt; session to inherit the display.  A real hassle when trying to compile, install <br>&gt; and debug.  Even CENTOS is following the pack.  <br>
&gt; <br>&gt; <br>&gt; Robert McBroom<br>&gt; -- <br>&gt; users mailing list<br>&gt; <a href="mailto:users@lists.fedoraproject.org">users@lists.fedoraproject.org</a><br>&gt; To unsubscribe or change subscription options:<br>
&gt; <a href="https://admin.fedoraproject.org/mailman/listinfo/users">https://admin.fedoraproject.org/mailman/listinfo/users</a><br>&gt; Guidelines: <a href="http://fedoraproject.org/wiki/Mailing_list_guidelines">http://fedoraproject.org/wiki/Mailing_list_guidelines</a><br>
</div>