You are not logged in.

1

Wednesday, September 13th 2006, 4:08pm

Can't get no root privileges for apps that needs it!

Greetings... I regged myself here in hope some of you might know how I should solve the problem I have. I have asked this in the gentoo forums but with no luck (and one even pointed me in this direction).

The problem I have is that when an app asks me to enter the root password nothing happens. When I'm in Control Centerl and am going to edit the Login Manager and enter administration mode I get to enter the password but after I've done it I get thrown back to the welcoming screen.

I can't start k3b properly as it wants root access to be more stable. I can't use KUser as when I enter the password nothing happens, the program doesn't even start. It's like this for all similar programs.

So, anyone have a clue how I can solve this as it is very very frustrating!?

Any help is deeply appreciated.

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

2

Friday, September 15th 2006, 5:42pm

RE: Can't get no root privileges for apps that needs it!

Does the standard output spit out any information? Try running an app like KUser from the shell.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

3

Friday, September 22nd 2006, 2:33pm

KUser don't spit out anything except 'Error open /etc/shadow for reading' and that it cannot save anything when exiting.

When I try to kdesu anything, like konqueror or kuser I get this:

Quoted

xauth: (argv):1: bad display name ":0" in "list" command
kdesu (kdelibs): WARNING: No X authentication info set for display :0
xauth: (argv):1: bad display name ":0" in "list" command
kdesu (kdelibs): WARNING: No X authentication info set for display :0
xauth: (argv):1: bad display name ":0" in "list" command
kdesu (kdelibs): WARNING: No X authentication info set for display :0


In the gentoo forums people where suggesting that it was my xorg.conf that was at fault, but really, I haven't changed that one for ages and my kde programs did work as they should earlier... it was during some update hell broke lose. (well it isn't that bad, but I feel a bit gimped not being able to use the system at its fullest).

So, more suggestions and help is deeply appreciated!

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

4

Friday, September 22nd 2006, 11:40pm

Does it work after invoking the command

Source code

1
$ xhost +
? And are you able to login properly as root from the shell?
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

5

Saturday, September 23rd 2006, 7:15am

Thank you! xhost + did it... is this a one time sollution though or do I have to type it
each time I restart my computer, in which case I do want to find another sollutions! :)

And yeah, I have always been able to log in as root or do a normal su/sudo... it was only the kde-programs that I noticed didn't work properly.

Thanks again!