Hi! As I recently checked the X logfile I found several of the following error messages. They all happened exactly as I tried to get sudo to work with X applications.
AUDIT: Wed Feb 14 14:48:51 2007: 6988 X: client 22 rejected from local host (uid 1000)
Does anyone have an idea what is wrong with my configuration? I know that must be something with the X server don't allow sudo to establish a connection, but I don't know how to change the permissions.