XOrg upgrade problem

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

XOrg upgrade problem

Gabriel George POPA
       Hello all,

   I have a problem concerning an OpenBSD 3.8 machine. I decided today to
apply all patches (001 to 009) and to recompile thus parts of the operating
system. All patches have been compiled and installed cleanly. Even those
for the kernel (although it's the first time I ever compiled a kernel
on OpenBSD - I've done this of course numerous times on FreeBSD). BUT,
now I have a problem with XOrg (it won't start). Probably it's because of
patch number 007. When I do a startx I obtain the following at the
end of the /var/log/Xorg.0.log file:
(...)
(**) Keyboard0: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from l
ist!
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from li
st!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li
st!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from
 list!

Fatal server error:
could not open default font 'fixed'

Please consult the The X.Org Foundation support
         at http://wiki.X.Org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional informati
on.


 What can I do now? Where should I start solving the problem?
I installed the 007 patch by doing:
        cd /usr/src/XF4
        patch -p0 < 007_xorg.patch  
then by issuing:
        make build

                                                      Yours in BSDness,
                                                            Gabriel George POPA

Reply | Threaded
Open this post in threaded view
|

Re: XOrg upgrade problem

Guillermo Garcia-Rojas
UNSUSCRIBE

Reply | Threaded
Open this post in threaded view
|

Re: XOrg upgrade problem (SOLVED)

Gabriel George POPA
In reply to this post by Gabriel George POPA
   [Big sigh] =-O  The problem was much more simpler. For security
reasons, on the root account I was using "umask 0027".
I was used to the problems posed by this particular fact. For example,
when I was installing a package, or when installing a port
from source, I was being warned about this umask. So I did umask 0022,
then install, then umask 0027. Every time the things went
well.
   Now, when installing patches 001 to 009, I used "umask 0027"; I saw
that the installation process used the "install" command
and fixed the permissions EVERY time. So (I said to myself), there's no
problem with this "umask 0027"; let it be!
All patches installed cleanly (except 007, of course). I was outraged by
the fact that 007 didn't work well, because I
saw numerous times during installation "install -m 444" etc.
So, after:
1) umask 0027
2) patch XOrg
3) make build
I ended up with the problem I presented you. Of course, I used Google, I
tried all the conventional solutions etc. Being so
tired, I forgot about "umask 0027". Today I remembered and I did"
1) umask 0022
2) cd /usr/src/XF4
3) make install
VOILA. It's OK now!
   Sorry, I bothered you with this problem which had such a simple solution!

                 Thanks anyway!

                                                                                                                                                         
Yours in BSDness,
                                                                                                                                                                 
Gabriel George POPA

Alexander Farber wrote:

> Do you have that path? /usr/X11R6/lib/X11/fonts/misc/
>
> On 8/7/06, Gabriel George POPA <[hidden email]> wrote:
>
>>        Hello all,
>>
>>    I have a problem concerning an OpenBSD 3.8 machine. I decided
>> today to
>> apply all patches (001 to 009) and to recompile thus parts of the
>> operating
>> system. All patches have been compiled and installed cleanly. Even those
>> for the kernel (although it's the first time I ever compiled a kernel
>> on OpenBSD - I've done this of course numerous times on FreeBSD). BUT,
>> now I have a problem with XOrg (it won't start). Probably it's
>> because of
>> patch number 007. When I do a startx I obtain the following at the
>> end of the /var/log/Xorg.0.log file:
>> (...)
>> (**) Keyboard0: CustomKeycodes disabled
>> (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
>> (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
>> Could not init font path element /usr/X11R6/lib/X11/fonts/misc/,
>> removing from l
>> ist!
>> Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/,
>> removing from li
>> st!
>> Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/,
>> removing from
>> list!
>> Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
>> removing from li
>> st!
>> Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/,
>> removing from
>> list!
>> Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/,
>> removing from
>>  list!
>>
>> Fatal server error:
>> could not open default font 'fixed'
>>
>> Please consult the The X.Org Foundation support
>>          at http://wiki.X.Org
>>  for help.
>> Please also check the log file at "/var/log/Xorg.0.log" for
>> additional informati
>> on.
>>
>>
>>  What can I do now? Where should I start solving the problem?
>> I installed the 007 patch by doing:
>>         cd /usr/src/XF4
>>         patch -p0 < 007_xorg.patch
>> then by issuing:
>>         make build
>>
>>                                                       Yours in BSDness,
>>                                                             Gabriel
>> George POPA