Cannot start Drakconf as normal user
I have updated a large number of KDE files after configuring my urpmi sources as per an article here and www.linuxfordummies.org/addmedia/
I went through a medium size version of "rpm hell" but by uninstalling packages where there were conflicts and then installing the latest versions all was well (or seems to be) EXCEPT that I cannot start drakconf as a normal user.
If I try from the menu I see a button "starting Configure your Computer" which then vanishes. If I try it from a shell I get the following message:
kdesu: Unknown option '--ignorebutton'.
Same thing happens with harddrake2
If, in the shell I log in as su then drakconf and harddrake run OK. Similarly if I startx as root they will run OK from the start menu.
Can anybody help please? And is this a synptom of something more serious?
And you shouldnt be able to start drakconf as normal user--only superuser.
Or am I not getting something?
Normally when I try to start "Configure Your Computer" a box " Run as Root" pops up for me to enter the root password. This isn't happening.
Happily, there is an easy answer for this one. If you look at the command that is actually run when you press the panel icon for "Configure Your Computer" ("ps -ef" in an xterm will show you this), you will see that it is (if you are running KDE 3.2.x):
kdesu --ignorebutton -c /usr/sbin/drakconf.real
If you are running KDE 3.3.x, it appears that the "--ignorebutton" is no longer supported, and the command is just:
kdesu -c /usr/sbin/drakconf.real
The "kdesu" is clearly the wrapper that pops up the dialog asking for the root password, and then executes the supplied command if all is well. So, just use kdesu, or login as root. Either one will work. Essentially, you need to be root to run drakconf.
That fixed it.
However I am running KDE 3.2 and my upgrades were to rpms named kdsxxxxxxx-22.214.171.124.mdk so maybe support for the --ignorebutton was dropped here.
The command was simply /usr/bin/drakconf which then seemed to work out whether to run /usr/sbin/drakxconf or /usr/sbin/drakconf.real and brought in kdesu somewhere along the line.
I have replaced the command by the one you suggested and all is now well.
I'll probably be back with an autologin problem!
|All times are GMT -5. The time now is 06:05 AM.|