Check if X is running

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jared Anderson
Date:  
To: plug-discuss
Subject: Check if X is running
Just curious of the most effective way to determine if X is running in a shell script. I have used a few ugly methods of such, but they are ugly: the most recent is no longer effective while using radeonfb driver and splashutils. Any useful input would be appreciated!!

Thanks.

-----
Computers are like air conditioners.  Both stop working, if you open windows.
        -- Adam Heath
---------------------------------------------------
PLUG-discuss mailing list - 
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss