I want to write a script to detect if the current gnome session is from a RDP connection via xRDP server or its a native launched gnome session.
In this case, I would like the native session(s) to start an application.
But I'm unsure where to get started. Is there any environment variable I could check for?
Thanks.