[ale] I'd like to be able to run X programs from root

Jim Lynch ale_nospam at fayettedigital.com
Mon Jan 30 19:43:17 EST 2012


  I can  ssh -Y  to a remote Ubuntu system,  sudo -s, perform some 
commands including running X programs like gvim.  It also used to work 
in Centos 5, however with Centos 6 and Fedora 14 it complains.

E233: cannot open displayX11 connection rejected because of wrong 
authentication

echo $DISPLAY tells me the variable is set OK.
localhost:10.0

   I'm logging in via ssh from a Ubuntu system to Fedora (for 
instance).  As a normal user I can display X programs fine, but when I 
sudo it doesn't work.

My Centos 5 system does but my Centos 6 and Fedora systems don't.

I'm sure it's some sort of security restriction but is there a way to 
make it work?

Google wasn't much help or I didn't know how to phrase the question.  
Wonder if Evi would help?

Thanks,
Jim.


More information about the Ale mailing list