I'm logged into an Ubuntu 14.04 server remotely with ssh
. I'm trying to find out which Desktop Environment is running. When I do the following, nothing happens:
admin@server:~$ echo $DESKTOP_SESSION
admin@server:~$ echo $XDG_CURRENT_SESSION
admin@server:~$
I know for a fact that there is a desktop running on the server. I saw it this morning, but now I'm 5 miles away.
ls /usr/bin/*session
would be what I would use. see http://askubuntu.com/questions/125062/how-can-i-find-which-desktop-enviroment-i-am-using – Rinzwind Aug 19 '16 at 08:43