Bug 39436 - administrator mode does not work
Summary: administrator mode does not work
Status: CLOSED FIXED
Alias: None
Product: kcontrol
Classification: Unmaintained
Component: general (show other bugs)
Version: 2.99
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Molkentin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-17 23:03 UTC by Till Krech
Modified: 2006-01-01 09:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Till Krech 2002-03-17 22:58:55 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kcontrol
Version:           2.99 (3.0 rc3) (using KDE 2.9.0 9 (3.0 rc3))
Severity:          normal
Installed from:    compiled sources
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:                Linux (i686) release 2.4.18
OS/Compiler notes: 

Steps to reproduce:
open kcontrol
select "System"
choose "Login Manager"
klick on "Administrator Mode"
- kcontrol changes UI red frame around main widget
- kdesu box appears (Command: kcmshell 'System/kdm -embed 58722362')
enter your root password
- kdesu box disappears
- And now the bug:
  kcontrol displays the welcome
  page for "System" again.

This happens with all kcontrol modules having a 'Administrator Mode' button.

If a wrong password is applied kdesu complains. So this cannot be the reason.

Calling kcontrol as root works.
calling 'kdesu kcontrol' also works.
'xhost +' does not change anything.
  

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Waldo Bastian 2002-03-20 21:50:39 UTC
kdebase/kcontrol/kcontrol modules.cpp1.341.35
Author: waba
Wed Mar 20 22:50:39 CET 2002
In directory office:/tmp/cvs-serv5652


Modified Files:
         modules.cpp
Log Message:
Fix starting of kcmshell modules via kdesu.(BR39436)
Patch by Till Krech <till@snafu.de>
Comment 2 Till Krech 2002-03-20 21:58:58 UTC
Bug has been fixed.
kdesu was called with wrong parameters. The command to execute had to be _o=
ne_ argument.
Comment 3 Jens 2003-06-16 13:21:53 UTC
I think I have to reopen this - in the current CVS version this problem has re-occured. 
I cannot start the login manager configuration via the 'Administrator mode' button, I get returned to 
the kcontrol welcome screen. 
 
sorry =;) 
Comment 4 Sebastian Krämer 2004-07-22 04:47:26 UTC
>I think I have to reopen this
I agree. I'm testing the kde-3.3-beta (gentoo) and somehow this bug seems to have come back in :-(
Symptoms are the same as described above.
Comment 5 paul14075@gmail.com 2005-03-18 22:03:07 UTC
I have this problem ever since upgrading to KDE 3.4 from 3.3.2.  rm -rf ~/.kde worked, but only temporarily...then it broke again.  I have an up2date Fedora3 box.  PLEASE HELP.
Comment 6 Jens 2005-03-19 00:33:47 UTC
Works here, tested with fonts and kdm settings.
SuSE 9.2, KDE 3.4.0-final RPMs from SuSE (unofficial build)
Comment 7 Lionel MOOG 2005-08-09 14:43:49 UTC
I use a Kubuntu distro, the same bug occurs exactly as described in the first message. Detailled info on the packages :

KDE Version  3.4.0 (KDE 3.4.0, Debian Package 4:3.4.0-0ubuntu3.3 (3.1))
1  Application  Control Center
1  Operating System  Linux (i686) release 2.6.10-k7m-lm1a (homecook)
1  Compiler  gcc version 3.3.5 (Debian 1:3.3.5-8ubuntu2)


When I try to execute the command given in kdesu box (for example: kcmshell --embed 31459637) in a terminal with Super User rights and I get a dialog box titled "Communication problem with DCOP" with this message :
"Authentification Rejected, reason : None of the authentification protocols specified are supported and host-based authentification failed. Please verify that "dcopserver" programm is running !"
Comment 8 Vaughn Cato 2005-09-29 04:52:47 UTC
Ditto for me -- Fedora Core 4, KDE 3.4.2
Comment 9 Nigel McNie 2005-10-04 00:21:16 UTC
Same for me also, KDE 3.4.2, Debian Etch. I could not change my timezone when NZ went to DST through the control panel.

However, as root on the commandline I typed in the same command that it was trying to execute, and it complained about the dcop server then loaded into the window anyway, although it had different (I assume root) styles.
Comment 10 Mats Ahlgren 2006-01-01 09:14:46 UTC
I second the guy with the post about Kubuntu. This problem still exists in KDE 3.4.3.

Please reopen this bug!