This is the mail archive of the cygwin-xfree@cygwin.com 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: XWin.exe <--> xinit link


xinit does 2 things - it launches the X server and then one or more X clients.

If you want to customize the X client part (including the Window Manager), create/modify/edit the file $HOME/.xinitrc.

If you want to customize the X server part, create/modify/edit the file $HOME/.xserverrc.

Alternatively, you can pass command-line options to the X server by specifying them on xinit's command-line after "--". For example, "xinit -- -rootless" will cause XWin to startup in rootless mode.


As for the console window, there is no way to avoid it being there until xinit completes, which doesn't happen until after the X server shuts down. This is really no different than if you use a Windows batchfile to fire up XWin and one or more local X clients. It's a "necessary evil".


From: Pavel Holejsovsky <pavel.holejsovsky@st.com>
Reply-To: cygwin-xfree@cygwin.com
To: cygwin-xfree@cygwin.com
Subject: Re: XWin.exe <--> xinit link
Date: Mon, 18 Nov 2002 10:10:40 +0100

I think you are looking for $HOME/.xserverrc file. E.g. mine contains:

#! /bin/sh
X -nowinkill -nodecoration -lesspointer -rootless

BTW, this all seems to be documented in xinit man page, as pointed out by Thomas.

Pavel

jc.gervais@videotron.ca wrote:
Thanks Thomas,

The thing is, no matter what I put in those files, it either starts XWin
with a border, or not at all.

And when I do get it to start up, there is always a console mode window
hanging around until I close it, and that closes XWin...

*sigh* I AM trying to understand how all this stuff fits together, but I'm
not having very much luck.


-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On
Behalf Of Thomas Chadwick
Sent: Sunday, November 17, 2002 10:41 PM
To: cygwin-xfree@cygwin.com
Subject: RE: XWin.exe <--> xinit link

RTFM! Do "man xinit" from the Cygwin command-line and read the 1st 3
paragraphs.


From: Jean-Claude Gervais <jc.gervais@videotron.ca>
Reply-To: cygwin-xfree@cygwin.com
To: cygwin-xfree@cygwin.com
Subject: RE: XWin.exe <--> xinit link
Date: Sat, 16 Nov 2002 10:08:07 -0500

Thanks Artur,

     But that's not quite the info I was looking for;

     You see, when I type startxwin.bat or startxwin.sh, I get a
DIFFERENT

result than from starting xinit by itself.

     Yet, xinit does start XWin, only it is starting it in windowed
mode...

Which is OK, but I'm just wondering WHERE does xinit get this from? Is it
executing a script?


-----Original Message-----
From: cygwin-xfree-owner@cygwin.com
[mailto:cygwin-xfree-owner@cygwin.com]On
Behalf Of Artur Hefczyc
Sent: Saturday, November 16, 2002 9:56 AM
To: cygwin-xfree@cygwin.com
Subject: Re: XWin.exe <--> xinit link


What parameters does it use to start XWin? Where does it get the
parameters?
You can find manual and parameters for XWin from command:
man XWin


Is it executing a script?
/usr/X11R6/bin/startxwin.bat
/usr/X11R6/bin/startxwin.sh

Artur Hefczyc
--
Artur Hefczyc
http://wttools.sf.net/


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus


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