sudo + X problem? (was:Re: dapper settings has miscellaneous Display)

Simon Edwards simon at simonzone.com
Thu Feb 16 07:46:08 GMT 2006


Hi,

Just some more info that I've found by using strace.

Running 'displayconfig' and 'sudo displayconfg' on breezy both 
use /home/sbe/.Xauthority. But doing 'displayconfig' on dapper 
uses /home/sbe/.Xauthority while 'sudo displayconfg' tries to use 
'/root/.Xauthority'!

My python code uses the C function XOpenDisplay() to open the X display. 
(DISPLAY=:0.0)

cheers,

-- 
Simon Edwards             | KDE-NL, Guidance tools, Guarddog Firewall
simon at simonzone.com       | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."



More information about the kubuntu-devel mailing list