This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: can not start 'startx' from the prompt and missing files
- From: Feng Xian <fxian at fxian dot mine dot nu>
- To: cygwin-xfree at cygwin dot com
- Date: 22 Apr 2003 16:52:36 -0400
- Subject: Re: can not start 'startx' from the prompt and missing files
- Organization:
- References: <BAY1-F144f45wSz6btz000075c9@hotmail.com>
- Reply-to: cygwin-xfree at cygwin dot com
Hi,
first, the user local .xinitrc is not a must. you have it or not, you
should be able to start xwindows unless you have problem with your
xinitrc.
second, i checked with /etc/X11/xinit/xinitrc, before it loads any
resource file, it always check if that resource file exists or not, like
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
so if you have the right xinitrc, you should not see the error like
'file not found'
third, there're no the system modmap/resources files .Xresources and
.Xmodmap under either /usr/X11R6/lib/X11/xinit/ or
/usr/X11R6/lib/X11/xinit/ from a standard cygwin installation, i think.
so maybe you check the permission of your /etc/X11/xinit/xinitrc and
temporally remove/rename your local $HOME/.xinitrc, then have another
try.
good luck!
On Tue, 2003-04-22 at 16:37, kiwhan chung wrote:
> Hey Andy,
>
> The installation Guide on page 15 says the following. I followed the exact
> instruction, but still no success....
>
> ========================================
> startx - Use the standard XFree86 startx script with its attendant
> ~/.xinitrc configuration file. First you need to create ~/.xinitrc from the
> template in /etc/X11/xinit/:
>
> Username at CygwinHost ~
> $ cp /etc/X11/xinit/xinitrc ~/.xinitrc
>
>
> Now you may customize ~/.xinitrc and start Cygwin/XFree86 with:
>
> Username at CygwinHost ~
> $ cd /usr/X11R6/bin && startx
>
>
> Or, you can run startx by first adding /usr/X11R6/bin/ to the search path:
>
> Username at CygwinHost ~
> $ PATH=%PATH:/usr/X11R6/bin
>
> Username at CygwinHost ~
> $ startx
>
>
> Or, you can run startx by first changing directories to /usr/X11R6/bin/:
>
> Username at CygwinHost ~
> $ cd /usr/X11R6/bin
>
> Username at CygwinHost /usr/X11R6/bin
> $ startx
>
> =======================
>
> I copied the .xinitrc file from /etc/X11/xinit/ and it was in this .xinitrc
> file that some of the variables defined in the file (
> sysresources=/usr/X11R6/lib/X11/xinit/.Xresources and
> sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap ) weren't found.
>
> BTW, whether I add the PATH=%PATH:/usr/X11R6/bin in the .xinitrc file or not
> didn't make difference.
>
> Thanks,
>
> Kiwhan
>
>
>
>
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail