cannot connect to X server from a sudo-ed program

Michel D'HOOGE list.dhooge at
Thu Aug 3 22:09:12 BST 2006


My problem is very specific but I guess the answer must be generic :-)

So: I use aptitude to manage my debian packages and I configured debconf to 
use KDE as its front-end. If I "sudo dpkg-reconfigure" a package from a 
Konsole, KDE dialogs appear normally. However, during an upgrade within 
aptitude (started as a normal used and sudo-ed when asked), debconf complains 
that it can't access the X server.

Any idea on how to solve this? Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 483 bytes
Desc: not available
URL: <>
-------------- next part --------------
This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list