Which DE is being used on a remote machine

Is there a way to tell which Desktop Environment is currently running?
The situation is that I want to know the answer from time to time for a remote machine. I can easily send the data by network to where I am once it is unearthed. But I can’t look into the screen on the remote and see for myself. So where would that information be stored/available on the remote machine.

Thanks
Swerdna

Hi
The command ps -e should tell you. I my case I run gnome, so I could
grep on panel. However maybe you might want to also look and check X is
running as well?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 11:31, 2 users, load average: 0.00, 0.03, 0.12
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

Thanks for the reply. I am currently playing with:
ps -ef | egrep “several key phrases”
I will have to wait until I have a stable KDE4 installation to finish the analysis. ATM my KDE4 is all over the place. But your method is clearly sound.

OK I have a stable installation of openSUSE 11.1 at last. So I tried this CLI entry and it seems to differentiate the various Window Managers:

ps -eLf | egrep "usr/bin/fvwm|kde3/bin/startkde|usr/bin/startkde|usr/bin/twm|usr/bin/gnome-session|usr/bin/icewm-session"

Thanks for the tip.

OK I have a stable installation of openSUSE 11.1 at last. So I tried
this CLI entry and it seems to differentiate the various Window
Managers:
ps -eLf | egrep
“usr/bin/fvwm|kde3/bin/startkde|usr/bin/startkde|usr/bin/twm|usr/bin/gnome-session|usr/bin/icewm-session”
Thanks for the tip.


If I helped you, please vote for the bugs that are driving me crazy:
‘Samba bug here’ (https://bugzilla.novell.com/show_bug.cgi?id=462307)
and ‘TightVNC bug here’
(https://bugzilla.novell.com/show_bug.cgi?id=457809).

swerdna’s Profile: http://forums.opensuse.org/member.php?userid=84
View this thread: http://forums.opensuse.org/showthread.php?t=396706