ok...I'm stumped on this one. I cannot figure out how to carry over my environment variables with a sudo command. I need to install an application under root and only have sudo access to get there. I can use ssh -Y <host> and launch an xwindows session successfully as myself but as soon as I sudo su -, i lose my environment (as would be expected) and then of course the display varibale is missing.
How can I successfully launch an xwindows app on a system as another user?