Does anyone know how to run a script at the desktop login for the root user only in ubuntu gnome?

In other words I want the script to run only when the "root" user logs in to gnome desktop, not when other users log in. I know ubuntu doesnt allow root login to the desktop by default so i use sysadmin user instead.

many thanks in advance!