Ok i did the xhost already but here it is again:<br><br>[awp@localhost ~]$ xhost<br>access control enabled, only authorized clients can connect<br>SI:localuser:awp<br>[awp@localhost ~]$ xhost +localhost<br>localhost being added to access control list
<br>[awp@localhost ~]$ env | grep<br>Usage: grep [OPTION]... PATTERN [FILE]...<br>Try `grep --help' for more information.<br><br><br><div><span class="gmail_quote">On 6/27/07, <b class="gmail_sendername">Ed Greshko</b>
 <<a href="mailto:Ed.Greshko@greshko.com">Ed.Greshko@greshko.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Ashley Pritchard wrote:
<br>> hello,<br>><br>> I have recently installed Fedora 7 on my machine & got it working for<br>> the most part ie...adding DVD, mp3 support etc...but now when I login to<br>> my user account from GDM into Gnome I am not able to use any programs
<br>> that require root access. If the Package updater pops up with updates I<br>> click on view packages & it asks for my root password. I enter it &<br>> nothing happens & it does the same thing for all programs that need root
<br>> access.<br>> I have tried disabling selinux, not installing selinux updates, deleting<br>> the user account & creating a completely new user account with a<br>> different user name & I have also reinstalled the OS because of this
<br>> issue and here I am back full circle. I have tried running the program<br>> through a terminal. Loged in as root from my user account I tried<br>> running the command 'pup' for the package updater & I get the following
<br>> info:<br>><br>> Xlib: connection to ":0.0" refused by server<br>> Xlib: No protocol specified<br>><br>> Traceback (most recent call last):<br>> File "/usr/sbin/pup", line 31, in <module>
<br>> import gtk<br>> File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line<br>> 76, in <module><br>> _init()<br>> File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line
<br>> 64, in _init<br>> _gtk.init_check()<br>> RuntimeError: could not open display<br>><br>> It was suggested to me from someone on a listserve to try this command<br>> 'xhost +localhost' & 'kdesu pup' so I did & got the following info:
<br>><br>> [awp@localhost ~]$ xhost +localhost<br>> localhost being added to access control list<br>> [awp@localhost ~]$ su root<br>> Password:<br>> [root@localhost awp]# xhost +localhost<br>> Xlib: connection to ":
0.0" refused by server<br>> Xlib: No protocol specified<br>><br>> xhost: unable to open display ":0.0"<br>> [root@localhost awp]# kdesu pup<br>> Xlib: connection to ":0.0" refused by server
<br>> Xlib: No protocol specified<br>><br>> kdesu: cannot connect to X server :0.0<br>> so neither command resolved the issue.<br>><br>> Then it was suggested to that I was actually logging into root the wrong
<br>> way. Do not ask me how since 'su root' has been the way i logged into<br>> root since the old red hat days. So they said I should try 'su - root'<br>> so I did. Well it turns out that 'su - root' does the same thing as 'su
<br>> root' which is logs me into root & when I run the command 'pup ' or<br>> 'kdesu pup' I get the same result as above. Then they suggested useing<br>> just 'su' or just 'su -' to login to root. Well that does the same thing
<br>> as 'su root' which is log me into root but when running 'pup' I get the<br>> same result as above. Please do not give me more ways to login as root.<br>> I can login to Gnome from GDM as root & run all programs that need root
<br>> access.<br>> How do I get back access to root from my user account?<br><br>I think it would help if you login as yourself and simply type "xhost" and<br>post the output.  Also the output of "env | grep DISP" may be useful.
<br><br><br><br>--<br>Forgive and forget.<br>                -- Cervantes<br><br>--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">
https://www.redhat.com/mailman/listinfo/fedora-list</a><br></blockquote></div><br><br clear="all"><br>-- <br>Diolch yn fawr, Ashley