A quick google search has returned this
http://froebe.net/blog/2008/11/14/ge...ve-the-answer/
Violence is the last refuge of the incompetent
AMD X2 3800+ ATI X1600 running 7.10 64bit
I think I'm hunting for a solution to the same problem -- we've got backup operators who login via "ssh -X" as a non-privileged account, then use sudo to run ad-hoc backups and restores. SLES10 has locked down sudo so that X11 progs. can't operate by default.
With the following three settings, sudo is now able to invoke X11 gui progs.
#Defaults always_set_home
Defaults env_reset
Defaults env_keep = "DISPLAY XAUTHORITY XDG_SESSION_COOKIE"
HTH.
Adrian
Bookmarks