Hi all,
Now my network is okay :), I'm trying to get Xorg going.
I've aptitude-installed xorg, which seems to have given me most of the
packages I needed... however, running 'startx' as root gives me the
following failures:
Could not init font path element /usr/share/fonts/X11/misc, removing from
list!
Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled,
removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled,
removing from list!
[ ... snip a few more similar lines ... ]
Could not init font path element
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
Fatal server error:
could not open default font 'fixed'
Note as an aside - if I run 'startx' as an unprivileged user, I just
get the not-so-helpful output as follows:
----------------------------------------------------------------------
p...@orac:~$ startx
X: unable to determine if running on a console
X: user not authorized to run the X server, aborting.
^Cgiving up.
xinit: Connection refused (errno 146): unable to connect to X server
xinit: No such process (errno 3): unexpected signal 2.
/usr/bin/startx: line 171: kbd_mode: command not found
p...@orac:~$
----------------------------------------------------------------------
I'm not too worried about the "user not authorized to run the X
server" problem right now, but any solutions still appreciated. :)
Anyway, I *thought* the key problem with the fonts may have been
caused by a bug in the .postinst script on the xfonts packages - as I
noticed there weren't any fonts.dir, etc. files in the relevant font
directories.
I'd also noticed errors referring to 'modprobe' during installation of
some of the X packages, so thought I might try reconfiguring:
----------------------------------------------------------------------
r...@orac:~# dpkg-reconfigure -plow xfonts-base
/usr/sbin/laptop-detect: line 65: /sbin/modprobe: No such file or directory
----------------------------------------------------------------------
Aha!
----------------------------------------------------------------------
r...@orac:~# cat > /sbin/modprobe
#!/bin/bash
echo "NO /sbin/modprobe: $*"
r...@orac:~# chmod a+rx /sbin/modprobe
r...@orac:~# dpkg-reconfigure -plow xfonts-base
r...@orac:~#
r...@orac:~# ls -altrh /usr/share/fonts/X11/misc/ | tail -7
-rw-r--r-- 1 root root 5.3K Jun 1 2008 ter-u32b_iso-8859-16.pcf.gz
-rw-r--r-- 1 root root 5.2K Jun 1 2008 ter-u28n_iso-8859-16.pcf.gz
drwxr-xr-x 8 root root 8 Dec 26 13:31 ..
-rw-r--r-- 1 root root 46K Dec 26 18:08 fonts.dir
-rw-r--r-- 1 root root 4.2K Dec 26 18:08 encodings.dir
-rw-r--r-- 1 root root 21K Dec 26 18:08 fonts.alias
drwxr-xr-x 2 root root 582 Dec 26 18:08 .
r...@orac:~#
----------------------------------------------------------------------
Presto, I thought. Except I decided I'd best do it for all of them:
----------------------------------------------------------------------
r...@orac:~# for i in $( dpkg -l | grep xfonts | awk '{print $2;}' ) ; do echo
"reconfiguring $i ..." ; dpkg-reconfigure -plow $i ; done
reconfiguring xfonts-100dpi ...
reconfiguring xfonts-75dpi ...
reconfiguring xfonts-base ...
reconfiguring xfonts-encodings ...
reconfiguring xfonts-scalable ...
Updating font configuration of fontconfig...
Cleaning up category cid..
Cleaning up category truetype..
Cleaning up category type1..
Updating category type1..
Updating category truetype..
Updating category cid..
Updating fontconfig cache for /usr/share/fonts/truetype/ttf-bitstream-vera
warning: /etc/X11/fonts/X11R7/Type1 does not exist or is not a directory
warning: /etc/X11/fonts/X11R7/Type1 does not exist or is not a directory
reconfiguring xfonts-terminus ...
reconfiguring xfonts-utils ...
r...@orac:~#
----------------------------------------------------------------------
Hooray, again I thought... but no, I still get exactly the same set of
errors on attempting to startx, still resulting in:
Fatal server error:
could not open default font 'fixed'
Bugger :-).
Anyone got any suggestions?
I may have a go at reconfiguring all of the other xorg-related
packages, just in case there's another key postinst script that calls
laptop-detect and thus fails due to a nonexistent /sbin/modprobe.
Pete.
--
Old programmers never die, they just become managers.
_______________________________________________
gnusol-users mailing list
[email protected]
http://lists.sonic.net/mailman/listinfo/gnusol-users