How to determine from a python application if X server/X forwarding is running?,os.environ['DISPLAY']