Re: Check if X is running

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mike Garfias
Date:  
To: plug-discuss
Subject: Re: Check if X is running
Have you tried connecting to $DISPLAY?

Jared Anderson spoke forth with the blessed manuscript:
> 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

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss