From: lmfken@lmf.ericsson.se (Kenneth Osterberg) Subject: Re: 2 X problems (.xinitrc and Xview) Date: 1 Jan 1993 17:17:09 GMT
STDN%MARIST.bitnet@YaleVM.YCC.Yale.Edu (Dan Newcombe) writes:
>HI all... I am having two problems with X. The first is that
>X will not come up if I have a .xinitrc. Without it, I have no
>problems, but as soon as I create one I get the following error.
>xinit: Interrupted system call (errno 4): Client error.
>But this happens even if I comment out all of the lines in
>.xinitrc My .xinitrc looks like...
>OPENWINHOME=/usr/openwin; export OPENWINHOME
>PATH=$PATH:$OPENWINHOME/bin
>HELPPATH=$OPENWINHOME/help; export HELPPATH
>if -z "$MANPATH" |; then
>MANPATH=/usr/local/man:/usr/man; export MANPATH
>fi
>MANPATH=$MANPATH:$OPENWINHOME/man
>twm &
>I don't understand as all except for the last line was taken
>straight from the README for XView, which is my next problem.
The README also states that you probably lose if you use Xview apps
without running an OpenLook compliant WM. Use olwm or olvwm.
The OPENWINHOME stuff in your .xinitrc is needed for Xview apps, if
you use twm you won't need any of the above. Xview apps won't work,
of course.
>I had this problem before and I did something that made it
>work. Only problem is I don't know what I did. Anyway,
>when I enter all the commands in my .xinitrc by hand
>and run olwm instead of twm, XView starts up. My background
>turns blue and it opens a window that has a width of half the
>screen and seems to go on forever lengthwise. I can grab the
>handles and window and reposition and resize it, but that's about
>it. Also, it I click my right mouse button for my control
>panel, all I get is a white line about 1" thick that goes the
>length of the whole screen. When I ran olwm these are the
>errors I got. Sorry it's so long but I'd rather be complete.
>any help is very needed. Thanks, and happy new year...
[errmsgs deleted...]
Probably some kind of configuration error. Check out the .Xdefaults
and .openwin-menu in your home directory, try renaming them (if you
have them). If there is still a problem, look in
/usr/openwin/lib/openwin-menu, get the default ones from the xview package
if necessary.
The error messages you listed could mean you have a font problem. Try
running mkfontdir in all font directories (/usr/X386/fonts/*).
Hope something of this helps...
/Kenneth