[comp.windows.x] Help in starting up X

duc@cos.com (Duc Kim Nguyen) (02/18/89)

I have a problem in starting up X on my Sun, knowing very little about
X windows I created the following files:
.Xresources (and .Xdefaults)
.xinitrc

then I tried
% xinit -geometry 80x34+0+0 -display "${host}:0.0" -fn screen11 -w 2 -sb -sl 1000 -n login
and got the following errors:
# start error
main: Could not open default font 'fixed'
main: Could not open default cursor font 'cursor'
X Error: font or color name does not exist
  Request Major code 45
  Request Minor code
  ResourceID 0x200003
  Error Serial #17
  Current Serial #19

waiting for server to terminate
# end error

I checked fonts directory and screen11.snf is in local directory.

What is going on ?

Thank for all your assistance.

duc@COS.COM
==
Duc Kim Nguyen			* duc@cos.com 
Corporation for Open Systems	* duc%cos.com@uunet.uu.net
1750 Old Meadow Rd, Suite 400	* ...!{uunet,sundc,hadron,hqda-ai,decuac}!cos!duc
McLean, VA 22102-4306		* phone: (703) 883-2792
DISCLAIMER: Views expressed here are my own, NOT my employer's.

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (02/18/89)

    main: Could not open default font 'fixed'
    main: Could not open default cursor font 'cursor'

Your server doesn't have a reasonable font path.  Did you forget to
install fonts into /usr/lib/X11/fonts?

dana@dino.bellcore.com (Dana A. Chee) (02/21/89)

In article <15202@cos.com> duc@cos.com (Duc Kim Nguyen) writes:

   .Xresources (and .Xdefaults)
   .xinitrc

   then I tried
   % xinit -geometry 80x34+0+0 -display "${host}:0.0" -fn screen11 -w 2 -sb -sl 1000 -n login
   and got the following errors:
   # start error
   main: Could not open default font 'fixed'
   main: Could not open default cursor font 'cursor'
   X Error: font or color name does not exist
     Request Major code 45
     Request Minor code
     ResourceID 0x200003
     Error Serial #17
     Current Serial #19

   waiting for server to terminate
   # end error

   I checked fonts directory and screen11.snf is in local directory.

   What is going on ?

What's happening is that the server isn't finding the fonts in the
expected (compiled in) location.  If you edited nothing, it will look
in (I believe, since our's is changed) /usr/lib/Xlib/fonts/??, but this
can be checked by:

	strings -a Xsun | grep fonts 

If that is set up, then you have to make sure that the fonts.dir files
in each font directory contain all fonts that you wish to use.  For
example, the local font directory containing screen11.snf should have
an entry in its fonts.dir file specifying

screen11.snf   screen11

   Thank for all your assistance.

   duc@COS.COM

You're welcome.  Send mail if you have more troubles.

--
+*************************************************************************+
*  Dana Chee				(201) 829-4488			  *
*  Bellcore								  *
*  Room 2Q-250								  *
*  445 South Street			ARPA: dana@bellcore.com		  *
*  Morristown,  NJ  07960-1910		UUCP: {gateways}!bellcore!dana	  *
+*************************************************************************+