LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-18-2005, 01:11 PM   #1
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 739

Rep: Reputation: 31
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?
 
Old 01-18-2005, 02:48 PM   #2
caladbolg
Member
 
Registered: Jul 2004
Distribution: Mandrake 10.x, Fedora Core 3, Archlinux 0.7, Ubuntu 5.04
Posts: 303

Rep: Reputation: 31
And you shouldnt be able to start drakconf as normal user--only superuser.

Or am I not getting something?
 
Old 01-18-2005, 03:07 PM   #3
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 739

Original Poster
Rep: Reputation: 31
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.
 
Old 01-18-2005, 04:02 PM   #4
mac57
Member
 
Registered: Nov 2004
Location: Texas
Distribution: openSUSE 10.3, Yoper Linux 3.0 , Arch Linux 2007.08
Posts: 253

Rep: Reputation: 30
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.
 
Old 01-18-2005, 11:49 PM   #5
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 739

Original Poster
Rep: Reputation: 31
Fixed

That fixed it.
However I am running KDE 3.2 and my upgrades were to rpms named kdsxxxxxxx-3.2.92.1.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.

Thanks.

I'll probably be back with an autologin problem!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can no longer start kde as a normal user J_Szucs Linux - Software 4 03-15-2004 08:04 AM
Normal user cannot start KDE - root can tagit Debian 1 12-26-2003 03:14 PM
Mandrake 9.2. Can't start X as normal user yitzhakbg Mandriva 8 12-02-2003 11:04 AM
adsl-start by a normal user linksocc Linux - Networking 1 09-27-2003 10:13 PM
normal user can't start tomcat? help!!!! dutao Linux - Software 0 07-24-2003 08:42 PM


All times are GMT -5. The time now is 01:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration