Results 1 to 5 of 5

Thread: Which DE is being used on a remote machine

  1. #1
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default 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
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,519
    Blog Entries
    15

    Default Re: Which DE is being used on a remote machine

    Quote Originally Posted by swerdna
    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


  3. #3
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Which DE is being used on a remote machine

    Quote Originally Posted by malcolmlewis View Post
    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.
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  4. #4
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Which DE is being used on a remote machine

    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:
    HTML Code:
    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.
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  5. #5
    swerdna NNTP User

    Default Re: Which DE is being used on a remote machine


    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •