If you want to sudo, but then allow X Forwarding over SSH, I've found the easiest way is to copy the xauth information from the logged in user to root.
For example:
Today is: 6 September, 2010
Today is: 6 September, 2010
If you want to sudo, but then allow X Forwarding over SSH, I've found the easiest way is to copy the xauth information from the logged in user to root.
For example: