Well if your are on the same machine you can just copy
~/.Xauthority to /root. This will do the trick.
Cheers,
Dominic.
>>>>> "pon" == Patrick O Neil <[EMAIL PROTECTED]> writes:
pon> I know this has been asked off and on in the past but... I would
pon> REALLY like to eliminate this annoyance once and for all. My
pon> feeling is that as superuser, this should NEVER apply, EVER. As
pon> su I can do ANYTHING and I should not be prevented from connecting
pon> to display this or that at all.
pon> Basically, I go to su in an xterm and try to run linuxconf,
pon> control-panel, or whatever and I keep getting the annoying message
pon> that I cannot connect to display :0.0. How do I fix things so
pon> that I CAN connect to :0.0 as su no matter what?
pon> Please direct me to a howto, faq, or simply tell me how I fix
pon> this?
--
==================================================================
Dominic Mitchell Email: [EMAIL PROTECTED]
Department of Economics mailto:[EMAIL PROTECTED]
Queen's University
Kingston, Ontario The XXI century starts on 2001-01-01!
Canada, K7L 3N6 Le XXI siècle débute le 2001-01-01!
==================================================================
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.