how to access already active desktop enviroment on ubuntu code example Example: which desktop environment is runnings $ echo $DESKTOP_SESSION