Duplicate bug 869320 has a testcase and indicates that this is likely a bug in gksu and it unsetting the DISPLAY variable.
Duplicate bug 869320 has a testcase and indicates that this is likely a bug in gksu and it unsetting the DISPLAY variable.