xinit vs. startx

Alexander Gottwald
Sat Oct 23 10:44:00 GMT 2004

On Fri, 22 Oct 2004 wrote:

> 1. What exactly causes the different behavior between running xinit
> and running startx?  As far as I can tell, both xinit and startx use
> the directives listed in my .xinitrc file (which is identical to the
> file /etc/X11/xinit/xinitrc that is installed by default with cygwin).
> Does startx invoke xinit or the other way around (or none of the
> above)?

startx has some additional parameters (-multiwindow -clipboard)
> 2. Is there any way I can (re)set the size of the desktop-like window
> produced by xinit so that it does not take up the entire screen?

You can start XWin with
XWin -screen 0 800x600 


> 3. Is there any way that I can launch startx (and thereby get a
> terminal from which I can launch X applications) by clicking on some
> desktop/launcher icon without first needing to bring up a
> (non-X-capable) Cygwin terminal?

There is a .bat file /usr/X11R6/bin/startxwin.bat. You can use this.


--           ICQ: 126018723

More information about the Cygwin-xfree mailing list