From very old memories (so it might not be relevant anymore) there was a time where you had to explicitly disable X security to allow root to execute GUI application. You might find something based on that.

If SGaist is right then as an alternative to disabling X security I would suggest to use a user application that will show tray icon and root application that will tell to the user app when to show and what to show.