Checking if the X Server is running
O. Olson
olson_ord@yahoo.it
Sun Sep 30 21:37:00 GMT 2007
--- Bengt-Arne Fjellner <bengt-arne.fjellner@ltu.se>
ha scritto:
>
> Just run setup click next until your in the
> categories window.
> Click view till you reach not installed.
> scroll down till you see checkX
> select it and then next.
>
> --
> tel 0920 49 1894
> Bengt-Arne Fjellner
Thanks Bengt-Arne for your quick reply. I think I got
this installed. I now put the following into a file
and am trying to execute it from the cygwin prompt. I
get the error
/usr/X11R6/bin/sd.sh: line 8: syntax error near
unexpected token `fi'
/usr/X11R6/bin/sd.sh: line 8: ` fi'
File ---------------------------
#!/bin/sh
if checkX
then
xterm -e /usr/bin/bash -l
else
XWin -multiwindow -clipboard -silent-dup-error
xterm -e /usr/bin/bash -l
fi
End File -------------------------------------------
I am sorry if this is a bit obvious  but I am trying
to find a way to start applications using a windows
batch file.
O.O.
___________________________________
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
--
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/
More information about the Cygwin-xfree
mailing list