Can not run Programs that Require Root Access

Ashley Pritchard linuxpen at gmail.com
Wed Jun 27 16:39:03 UTC 2007


alternatively TR from Tucson Linux Group sugested:

root is tring to open X on :0.0.  Are you sure that is where X is running?
login in as root and look in /var/gdm and see the files X is using
I have

# ls -l
total 8
-rw-r-----  1 root root 45 Jun 26 15:23 :0.Xauth
-rw-r--r--  1 root root 38 Jun 26 15:24 :0.Xservers

If 0.0 is right for you , you'd have
# ls -l
total 8
-rw-r-----  1 root root 45 Jun 26 15:23 : 0.0.Xauth
-rw-r--r--  1 root root 38 Jun 26 15:24 :0.0.Xservers

And here is the output:

[root at localhost ~]# cd /var/log/gdm
[root at localhost gdm]# ls -l
total 36
-rw-r--r-- 1 root root 1049 2007-06-27 08:32 :0.log
-rw-r--r-- 1 root root 1143 2007-06-27 08:31 :0.log.1
-rw-r--r-- 1 root root 1076 2007-06-27 08:21 :0.log.2
-rw-r--r-- 1 root root 1230 2007-06-27 08:10 :0.log.3
-rw-r--r-- 1 root root 1076 2007-06-27 07:52 :0.log.4
-rw-r--r-- 1 root root 1095 2007-06-23 22:07 : 20.log
-rw-r--r-- 1 root root 1095 2007-06-23 22:04 :20.log.1



On 6/27/07, Ashley Pritchard <linuxpen at gmail.com > wrote:
>
> here is that info:
>
> [awp at localhost ~]$ ll /usr/sbin/userhelper
> -rws--x--x 1 root root 34060 2007-06-15 01:56 /usr/sbin/userhelper
>
>
> On 6/27/07, Andy Green <andy at warmcat.com> wrote:
> >
> > Ed Greshko wrote:
> >
> > >> How do I get back access to root from my user account?
> > >
> > > I think it would help if you login as yourself and simply type "xhost"
> > and
> > > post the output.  Also the output of "env | grep DISP" may be useful.
> >
> > I have a distant memory of this kind of thing happening when something
> > to do with the root login helper thing lost its suid root attribute.
> >
> > That password prompt thing is
> >
> > # ll /usr/sbin/userhelper
> > -rws--x--x 1 root root 34224 2007-04-19 15:10 /usr/sbin/userhelper
> >
> > make sure it has the s for suid
> >
> > -Andy
> >
> > --
> > fedora-list mailing list
> > fedora-list at redhat.com
> > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> >
>
>
>
> --
> Diolch yn fawr, Ashley




-- 
Diolch yn fawr, Ashley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070627/c9cbd2b5/attachment-0001.htm>


More information about the fedora-list mailing list