cannot connect to X server from a sudo-ed program
Darth Android
darthandroid at gmail.com
Fri Aug 4 03:27:11 BST 2006
try "xauth merge ~youruser/.Xauthority" as root before sudoing. not sure how
secure it is, but it allows root to access the X server when your user is
currently using it.
On 8/3/06, Michel D'HOOGE <list.dhooge at gmail.com> wrote:
>
> Hello
>
> 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
> --
> Michel
>
>
> ___________________________________________________
> This message is from the kde mailing list.
> Account management: https://mail.kde.org/mailman/listinfo/kde.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
>
>
>
--
--Darth Android
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Do not meddle in the affairs of dragons for you are crunchy and good with
ketchup.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde/attachments/20060803/97d6ec45/attachment.htm>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list