kdesudo --nonewdcop option breaks the system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdesudo (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
When kdesudo is executed with --nonewdcop option, then it fails to start because of communication problems with klauncher.
To reproduce:
* Install Kubuntu Gutsy.
* Boot into installed system, update and upgrade with apt-get update; apt-get upgrade
* Start systemsettings, click on "Date&Time" module, then on "Administator mode" button.
* systemsettings tries to execute something like "/usr/bin/kdesu --nonewdcop -n -d -idate /usr/bin/kcmshell kde-clock.desktop --embed-proxy 54529312 --lang et" which fails, so you go back to the non-admin mode
Same happens when you try to execute "kdesudo --nonewdcop kcmshell clock" or "kdesudo --nonewdcop konqueror" from Konsole.
The terminal output when systemsettings tries to execute kdesudo is:
ubuntu@
adding Date & Time /usr/share/
/usr/
WARNING: Waiting for already running klauncher to exit.
WARNING: Waiting for already running klauncher to exit.
WARNING: Another instance of klauncher is already running!
kdeinit: Communication error with launcher. Exiting!
kio (KSycoca): ERROR: No database available!
kio (KSycoca): ERROR: No database available!
kio (KSycoca): ERROR: No database available!
kcmshell (kdelibs): WARNING: Could not find module 'kde-clock.
/usr/
The bug is not present before doing the upgrade and seems to be caused by kdesudo version 1.1-0ubuntu2.2 (and the bug is also present when upgrading just kdesudo). I also tried to build my own gutsy package using kdesudo-2.0 (using current hardy's package as source) but this had the same problem.
On LiveCD executing "kdesudo kcmshell clock" worked and after this executing "kdesudo --nonewdcop kcmshell clock" also worked. On installed system it seems to work only if I haven't started kdesudo with the --nonewdcop option before. If I have, then I need to restart the system before kdesudo works again.
Bugs #175909 and #176518 might be related.
Confiming bug in Kubuntu Gutsy, kdesudo version 1.1-0ubuntu2.2, version 1.1-0ubuntu2 works normally.