home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!think.com!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!ericom!lmfken
- From: lmfken@lmf.ericsson.se (Kenneth Osterberg)
- Newsgroups: comp.os.linux
- Subject: Re: 2 X problems (.xinitrc and Xview)
- Message-ID: <lmfken.725908629@bluese2>
- Date: 1 Jan 93 17:17:09 GMT
- References: <9212311749.AA05918@deepthought.cs.utexas.edu>
- Sender: news@ericsson.se
- Organization: Oy LM Ericsson Ab, Jorvas, Finland
- Lines: 55
- Nntp-Posting-Host: bluese2.lmf.ericsson.se
-
- 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
- --
- Kenneth Osterberg lmfken@lmf.ericsson.se or lmfken@bluese1.ericsson.fi
-