startx: Malformed file inquiry
Shing-Fat Fred Ma
fma@doe.carleton.ca
Wed Jan 29 12:19:00 GMT 2003
Hello,
I tried issuing "startx" from my home
directory, ~. I got the following error:
> if: Malformed file inquiry.
> giving up.
> xinit: No such file or directory (errno 2): unable to connect to X server
> xinit: No such process (errno 3): Server error.
> + [ x != x ]
>
It works if I issue the command from
/usr/X11R6/bin. I have that directory in
my path. It doesn't matter if I copy xinitrc
to ~/.xinitrc or not.
I tried change "sh" to "sh -x" in the
startx script and in ~/.xinitrc. I get the
following traces:
> $ startx
> + echo startx: PATH = .:./bin:/c/mydocu~1/techni~1/laptop~1/mybin:/home/Name/bin
> :/cygdrive/c/mingw/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/progra~1/vim/vim
> 60:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/system32/Wbem:
> /cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND:/cygdrive/c/progra~1/psutils/bin
> :/c/progra~1/imagem~1.3-q:/usr/X11R6/bin
> startx: PATH = .:./bin:/c/mydocu~1/techni~1/laptop~1/mybin:/home/Name/bin:/cygdr
> ive/c/mingw/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/progra~1/vim/vim60:/cyg
> drive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/system32/Wbem:/cygdri
> ve/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND:/cygdrive/c/progra~1/psutils/bin:/c/pro
> gra~1/imagem~1.3-q:/usr/X11R6/bin
> + userclientrc=/home/Name/.xinitrc
> + userserverrc=/home/Name/.xserverrc
> + sysclientrc=/usr/X11R6/lib/X11/xinit/xinitrc
> + sysserverrc=/usr/X11R6/lib/X11/xinit/xserverrc
> + defaultclient=/usr/X11R6/bin/xterm
> + defaultserver=/usr/X11R6/bin/X
> + defaultclientargs=
> + defaultserverargs=
> + clientargs=
> + serverargs=
> + [ -f /home/Name/.xinitrc ]
> + defaultclientargs=/home/Name/.xinitrc
> + [ -f /home/Name/.xserverrc ]
> + [ -f /usr/X11R6/lib/X11/xinit/xserverrc ]
> + whoseargs=client
> + [ x != x ]
> + [ x = x ]
> + [ x = x ]
> + client=/home/Name/.xinitrc
> + [ x = x ]
> + [ x = x -a x = x ]
> + server=
> + [ x = x ]
> + export XAUTHORITY=/home/Name/.Xauthority
> + removelist=
> + xinit /home/Name/.xinitrc --
>
> if: Malformed file inquiry.
>
I'm using cygwin 1.3.19-1, and XFree86-base 4.2.0-1.
Various pieces of XFree86 have slightly different "dash"
suffixes.
Thanks for any suggestions, or feedback confirming the
problem.
Fred
--
Fred Ma, fma@doe.carleton.ca
Carleton University, Dept. of Electronics
1125 Colonel By Drive, Ottawa, Ontario
Canada, K1S 5B6
More information about the Cygwin-xfree
mailing list