kdesudo "cannot connect to X server" after upgrade to 12.04
Bug #989577 reported by
themroc
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KdeSudo |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
After upgrading from Kubuntu amd64 11.10 to 12.04 any application, which use kdesudo doesn't work any longer.
e.g. edit software sources, synaptic, krusader root-mode, ...
After enter my password nothing happens.
So I test kdesudo in the terminal:
kdesudo kwrite
(In the popup-windows I enter my password and push enter or OK)
Answer in terminal:
kwrite: cannot connect to X server
To post a comment you must log in.
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 ="all_proxy ALL_PROXY" ="http_ proxy HTTP_PROXY" ="https_ proxy HTTPS_PROXY" ="ftp_proxy FTP_PROXY"
Defaults env_keep="no_proxy NO_PROXY"
Defaults env_keep+
Defaults env_keep+
Defaults env_keep+
Defaults env_keep+
After deleting this two entries
Defaults env_keep="no_proxy NO_PROXY" ="all_proxy ALL_PROXY"
Defaults env_keep+
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.