This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
RE: How do I start WM?
> From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-
> owner@cygwin.com] On Behalf Of Jon TURNEY
> Sent: Tuesday, February 23, 2010 11:58 AM
> On 23/02/2010 16:18, Christopher Faylor wrote:
> > From my reading of the documentation, it sounds like you'd get this
> behavior by
> > adding server options to startxwin:
> >
> > startxwin -- [ server options ]
>
> This isn't actually the case, as startxwin always supplies the '-
> multiwindow'
> option to XWin, and there is no XWin option to specify the default
> (windowed)
> mode you can add after it.
>
> This is almost by design. There are a few differences between startx
> and
> startxwin, appropriate to running in windowed or multiwindow mode, and
> mixing
> them up would be a bad idea.
>
> * They use different scripts to start clients (~/.startxwinrc and
> ~/.xinitrc).
> This is because we expect the .xinitrc to end by starting a WM, which
> would
> a bad idea for .startxwinrc (as it would discover the internal WM is
> already
> running (hopefully)) and exit immediately.
>
> * startxwin exits after ~/.startxwinrc has completed and leaves XWin
> running,
> whereas startx waits until ~/.xinitrc exits (which is usually waiting
> for the
> WM started by it to exit) and then kills XWin.
Very good information, thanks. Maybe should be in the FAQ..?
Thanks,
Mike