Two simple QQ about XWin

fergus@bonhard.uklinux.net fergus@bonhard.uklinux.net
Thu Aug 14 12:46:00 GMT 2003


Q1. Can anybody tell me what startup sequence (another/ different command
line switch?)  is equivalent to

    Start -> Run -> start XWin -multiwindow
then
    point to the System Tray and choose "Show Root Window"

please? Thank you!

Q2. I've compared

    $ set > vars.list

both when XWin is running and when not, expecting a small difference in env
vars (or something). But all that has changed are PIDs. I want to be able to
query the O/S to ask whether X is running or not. Is there a way of doing
this, please? Apart from say ps -a | grep XWin. Thank you!

Fergus

P.S. There are so many ways of starting Cygwin up ... there are often
questions on the list How Do You Start Yours? For a non-X system I use
"rxvt -e bash" with presentation options picked up from ~/.Xdefaults. For X
it seems to have to be a two-liner

    start XWin -multiwindow # see Q1 above for what I really want
    run rxvt -display :0.0 -e bash

for a nice sparse system. I am not wild about the default startx. Any
advance on this for a nice neat rxvt session in an X environment? Any
possibility of a one-liner that I'm missing?

Fergus



More information about the Cygwin-xfree mailing list