Re: cannot connect to X server from a sudo-ed program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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


___________________________________________________
.
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.
___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux