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

Jim Kinney jim.kinney at gmail.com
Tue Jan 31 06:59:53 EST 2012


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.
Gvim is not a security sensitive application.
On Jan 31, 2012 5:18 AM, "Jim Lynch" <ale_nospam at fayettedigital.com> wrote:

> On 01/30/2012 10:32 PM, Jim Kinney wrote:
> >
> > Security has changed at the PAM and selinix layers. In centos6 rot
> > can't run startx with selinux in targeted mode.
> > 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.
> > RHEL7 will have selinux for X (partly at least).
> >
> Selinux is off.  It must be a PAM issue.  I'm not running a config gui
> but gvim, normally.
>
> So  there's no way to turn it off?
>
> Thanks,
> Jim.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20120131/905d710c/attachment.html 


More information about the Ale mailing list