kdesudo don't work after upgrade to 12.04

Bug #992201 reported by Rafael
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KdeSudo
Won't Fix
Undecided
Unassigned

Bug Description

kdesudo stopped working after upgrade from ubuntu 11.10 to 12.04 (32 bits). The error message depends of the application called:

$ kdesudo kate
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kate: cannot connect to X server

$ kdesudo systemsettings
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
systemsettings(23695): KUniqueApplication: Cannot find the D-Bus session server: "Unable to autolaunch a dbus-daemon without a $DISPLAY for X11"
systemsettings(23694): KUniqueApplication: Pipe closed unexpectedly.

Revision history for this message
Rafael (qe47ct6n318407t6n) wrote :

I just tried the same upgrade in another computer. Upgrade was kubuntu 32-bit 11.10 to 12.04.

This time, kdesudo is working 100%.

Any ideas? What to check in both computers?

Revision history for this message
themroc (rauchweihe) wrote :

I have found a solution of the described problem:

I had have this additional entries in my /etc/sudoers:

# Allow proxy environment variables to pass through
Defaults env_keep="no_proxy NO_PROXY"
Defaults env_keep+="all_proxy ALL_PROXY"
Defaults env_keep+="http_proxy HTTP_PROXY"
Defaults env_keep+="https_proxy HTTPS_PROXY"
Defaults env_keep+="ftp_proxy FTP_PROXY"

After deleting this two entries

Defaults env_keep="no_proxy NO_PROXY"
Defaults env_keep+="all_proxy ALL_PROXY"

kdesudo works again.

Note, the environment variables NO_PROXY ans ALL_PROXY are not defined for my normal users, so perhaps this was the reason, why kdesudo fails in Kubuntu 12.04.

See also https://bugs.launchpad.net/kdesudo/+bug/989577

Revision history for this message
Jonathan Riddell (jr) wrote :

kdesudo has moved to KDE infrastructure.

If you feel your bug is still relevant please open a new bug on bugs.kde.org

https://bugs.kde.org/describecomponents.cgi?product=kdesudo

Changed in kdesudo:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.