This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Checking if the X Server is running


O. Olson schrieb:
> --- Holger Krull <holger.krull@gmx.de> ha scritto:
>> There probably is a more elegant solution but doing
>> ps |grep Xwin >/dev/null || run Xwin -your options
>> here
>>
>> will only start Xwin if it is not running already.
>> (Assuming you will only start one Xwin)

> 	I donât think I managed to get this to work. Actually
> I am not sure if the pipes are working, because I am
> getting no output for 
> 
> $ ps |grep Xwin

I misstyped XWin, it is W not w. Sorry, i didn't test it.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]