Bug 41190 - Run as Root does not work
Summary: Run as Root does not work
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kdeadmin
Version: 7.1
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-18 01:34 UTC by Need Real Name
Modified: 2007-04-18 16:33 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-05-22 18:40:39 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2001-05-18 01:34:39 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.2-2 i686; Nav)

Description of problem:
When running any of the control panel functions in KDE, when the dialogue
for "run as root" comes up, password is accepted and nothing happens.

How reproducible:
Always

Steps to Reproduce:
1.  Open control panel	
2.  Set the time Zone
3.  Type root password
Nothing	

Actual Results:  Nothing.  I also don't see any processes that I can
recognize
with ps -aux

Additional info:

I have several installations, and I think think this used to work.

Comment 1 Bernhard Rosenkraenzer 2001-05-18 10:09:23 UTC
I can't reproduce this. Make sure kdesu (from kdebase) is installed.


Comment 2 Need Real Name 2001-05-21 21:31:32 UTC
Sorry, but saying you can't duplicate it doesn't help much. 

 I have localized the 
problem to one particular machine, and it may have something to do with the
x-server. 
I ran one of the "run as root" applications in a window, and got the error--

 Xlib:  extension "RENDER" missing on display ":0.0". 

Evidently when the application is run in a window, it gets around this, as you
get the
error and then the window does open.  In the "run as root" with the
"shortcut" , it evidently fails.  

This was an upgrade of a working 6.2 to a 7.1



Comment 3 Bernhard Rosenkraenzer 2001-05-22 18:40:35 UTC
Are you sure you installed the applications you want to launch?
kontrol-panel currently displays all applications it can launch all the time, 
and should simply tell you "you need to install the xxxxx package" if you try 
to launch something that isn't installed. It's possible that the error 
reporting is broken.


Comment 4 Need Real Name 2001-05-22 19:10:16 UTC
Yes, the applications work fine, as they will run when you are logged in as
root.

Evidently I didn't make myself clear-- 

1.  the problem is when you run as a user,
and you select an application that must be run as root (i.e. something in the
control
panel) by clicking the icon in the control panel, it asks for the root password
and
then does nothing.

2.  If you then type the same command into a window, (that the icon is
executing) you get the ----  RENDER missing  extension error.

3.  If you log in as root, all the applications work.


---------------------------------------

At this point, this isn't worth the time to work on it. 

 I have assigned it to WONTFIX as
this feature works on my other 7.1 installations and it seems like we are going
to
be going back and forth for a long time.

Comment 5 Bernhard Rosenkraenzer 2001-05-23 07:15:32 UTC
I know about 1.; I can't reproduce it though. My guess is that for some 
reason, kdesu can't give root access to the X server. Does this still happen 
if you run "xhost +localhost" before running kontrol-panel?

2. doesn't have anything to do with the problem. It just means you're using a 
graphics card that doesn't support antialiasing.




Note You need to log in before you can comment on or make changes to this bug.