<p>Ah. Root has to build an xauthority file. Login from console as root and run startx and that should do it. Then ssh -X wiil work as long as you su and not su -.  Your nonroot ssh user also must loginto X once from console as well. <br>

Gvim is not a security sensitive application.</p>
<div class="gmail_quote">On Jan 31, 2012 5:18 AM, &quot;Jim Lynch&quot; &lt;<a href="mailto:ale_nospam@fayettedigital.com">ale_nospam@fayettedigital.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 01/30/2012 10:32 PM, Jim Kinney wrote:<br>
&gt;<br>
&gt; Security has changed at the PAM and selinix layers. In centos6 rot<br>
&gt; can&#39;t run startx with selinux in targeted mode.<br>
&gt; Most config gui are run as non-root and authentication is with a popup<br>
&gt; password box. So run the stuff as a normal user and wait for the prompt.<br>
&gt; RHEL7 will have selinux for X (partly at least).<br>
&gt;<br>
Selinux is off.  It must be a PAM issue.  I&#39;m not running a config gui<br>
but gvim, normally.<br>
<br>
So  there&#39;s no way to turn it off?<br>
<br>
Thanks,<br>
Jim.<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div>