<p>Security has changed at the PAM and selinix layers. In centos6 rot can&#39;t run startx with selinux in targeted mode. <br>
Most config gui are run as non-root and authentication is with a popup password box. So run the stuff as a normal user and wait for the prompt.<br>
RHEL7 will have selinux for X (partly at least).</p>
<div class="gmail_quote">On Jan 30, 2012 7:44 PM, &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">
  I can  ssh -Y  to a remote Ubuntu system,  sudo -s, perform some<br>
commands including running X programs like gvim.  It also used to work<br>
in Centos 5, however with Centos 6 and Fedora 14 it complains.<br>
<br>
E233: cannot open displayX11 connection rejected because of wrong<br>
authentication<br>
<br>
echo $DISPLAY tells me the variable is set OK.<br>
localhost:10.0<br>
<br>
   I&#39;m logging in via ssh from a Ubuntu system to Fedora (for<br>
instance).  As a normal user I can display X programs fine, but when I<br>
sudo it doesn&#39;t work.<br>
<br>
My Centos 5 system does but my Centos 6 and Fedora systems don&#39;t.<br>
<br>
I&#39;m sure it&#39;s some sort of security restriction but is there a way to<br>
make it work?<br>
<br>
Google wasn&#39;t much help or I didn&#39;t know how to phrase the question.<br>
Wonder if Evi would help?<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>