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: startx: Malformed file inquiry


> From: Alexander Gottwald
> To: cygwin-xfree at cygwin dot com
> Date: Wed, 29 Jan 2003 12:49:28 +0100 (MET)
> Subject: Re: startx: Malformed file inquiry
> Reply-to: cygwin-xfree at cygwin dot com
>
> --------------------------------------------------------------------------------
>
> On Wed, 29 Jan 2003, Shing-Fat Fred Ma wrote:
>
> > > + xinit /home/Name/.xinitrc --
> > >
> > > if: Malformed file inquiry.
>
> /home/Name/.xinitrc seems to be the problem.
>
> bye
>  ago
>

I first thought so too.  But I get the exact same diagnostic
text even if I run startx from  /usr/X11R6/bin, upto and
including

> > + xinit /home/Name/.xinitrc --


So ~/.xinitrc is being sourced in both cases.  And
.xinitrc was just a copy of /etc/X11/xinit/xinitrc.
I added a line at the beginning to echo the path,
but the never gets executed.  So I don't think the
error is caused by a problem with ~/.xinitrc (aside
from the fact that the same the safe file gets
sourced when I successfully run startx from
/usr/X11R6/bin).  I think it might be the xinit executable
itself, since that's the only code that runs before
.xinitrc.

I presume that people have tried startx from their
home directory and got it working?  Just looking for
a few responses as a sanity check.

Thanks.

Fred

--
Fred Ma, fma@doe.carleton.ca
Carleton University, Dept. of Electronics
1125 Colonel By Drive, Ottawa, Ontario
Canada, K1S 5B6




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