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

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

 



On Friday 04 August 2006 04:27, Darth Android wrote:
> 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.

Thanks. I tried it but without success. Note that trials are a bit painful 
because I need to install/upgrade something to reach the point where the 
error message is displayed. What is strange is that if I directly sudo-call 
the dpkg-reconfigure program, it can access the display. I believe it has 
something to do with the way aptitude goes root -> I'll ask the aptitude 
guys.

-- 
Michel
___________________________________________________
.
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