[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#253806: xvfb: Xvfb fails to start: could not open default font 'fixed'



Package: xvfb
Version: 4.3.0.dfsg.1-4
Severity: important

Xvfb fails to start, complaining about the 'fixed' font. The recommendations
made in /usr/share/doc/xfree86-common/FAQ.gz have been followed as suggested
by the package, (including checking font dirs in /etc/XF86Config and 
reinstalling xfonts-base) but to no avail. Using strace yields the information 
that Xvfb _is_ reading the fonts.dir where the 'fixed' font is supposed to be 
living but somehow still fails to find the actual font.

Installed versions of relevant packages
xserver-common: 4.3.0.dfsg.1-4
xfonts-base: 4.3.0.dfsg.1-4
xutils: 4.3.0.dfsg.1-4

I have appended the strace information to the end of this report.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.4
Locale: LANG=C, LC_CTYPE=C

Versions of packages xvfb depends on:
ii  libc6                       2.3.2.ds1-12 GNU C Library: Shared libraries an
ii  libfreetype6                2.1.7-2      FreeType 2 font engine, shared lib
ii  zlib1g                      1:1.2.1.1-3  compression library - runtime

-- no debconf information

Strace information:
(obtained with: strace Xvfb :99 -screen 0 640x480x8 -nolisten tcp > xvfb_strace.log 2>&1)

execve("/usr/X11R6/bin/Xvfb", ["Xvfb", ":99", "-screen", "0", "640x480x8", "-nolisten", "tcp"], [/* 22 vars */]) = 0
uname({sys="Linux", node="hq", ...})    = 0
brk(0)                                  = 0x840a000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=46036, ...}) = 0
old_mmap(NULL, 46036, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libfreetype.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\345"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=447212, ...}) = 0
old_mmap(NULL, 446176, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40024000
old_mmap(0x4008a000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x66000) = 0x4008a000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\27\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=67304, ...}) = 0
old_mmap(NULL, 66268, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40091000
old_mmap(0x400a1000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x10000) = 0x400a1000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libm.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0006\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=141312, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400a2000
old_mmap(NULL, 139712, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400a3000
old_mmap(0x400c5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x22000) = 0x400c5000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340X\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1279012, ...}) = 0
old_mmap(NULL, 1289324, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400c6000
old_mmap(0x401f6000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x12f000) = 0x401f6000
old_mmap(0x401ff000, 7276, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401ff000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40201000
set_thread_area({entry_number:-1 -> 6, base_addr:0x400a2ba0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0x40018000, 46036)               = 0
geteuid32()                             = 1006
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
brk(0)                                  = 0x840a000
brk(0x842b000)                          = 0x842b000
brk(0)                                  = 0x842b000
close(0)                                = 0
close(1)                                = 0
write(2, "", 0)                         = 0
getpgrp()                               = 21455
open("/tmp/.tX99-lock", O_WRONLY|O_CREAT|O_EXCL, 0644) = 0
getpid()                                = 21456
write(0, "     21456\n", 11)            = 11
fchmod(0, 0444)                         = 0
close(0)                                = 0
link("/tmp/.tX99-lock", "/tmp/.X99-lock") = 0
unlink("/tmp/.tX99-lock")               = 0
rt_sigaction(SIGALRM, {0x8082100, [ALRM], 0}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 20000}, it_value={0, 20000}}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
open("/usr/X11R6/lib/X11/rgb.txt", O_RDONLY) = 0
fstat64(0, {st_mode=S_IFREG|0644, st_size=17371, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(0, "! $Xorg: rgb.txt,v 1.3 2000/08/1"..., 4096) = 4096
read(0, "43\t\trosy brown\n188 143 143\t\tRosy"..., 4096) = 4096
read(0, "\tturquoise4\n  0 255 255\t\tcyan1\n "..., 4096) = 4096
read(0, "38 174 238\t\tplum2\n205 150 205\t\tp"..., 4096) = 4096
read(0, "7 \t\tgray85\n217 217 217 \t\tgrey85\n"..., 4096) = 987
read(0, "", 4096)                       = 0
close(0)                                = 0
munmap(0x40018000, 4096)                = 0
uname({sys="Linux", node="hq", ...})    = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 0
umask(0)                                = 02
mkdir("/tmp/.X11-unix", 01777)          = -1 EEXIST (File exists)
lstat64("/tmp/.X11-unix", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
unlink("/tmp/.X11-unix/X99")            = 0
bind(0, {sa_family=AF_UNIX, path="/tmp/.X11-unix/X99"}, 20) = 0
listen(0, 128)                          = 0
umask(02)                               = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP, {0x8080a80, [HUP], 0}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x8080ab0, [INT], 0}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x8080ab0, [TERM], 0}, {SIG_DFL}, 8) = 0
open("/etc/X99.hosts", O_RDONLY)        = -1 ENOENT (No such file or directory)
rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_DFL}, 8) = 0
getppid()                               = 21455
gettimeofday({1086941627, 681210}, NULL) = 0
mmap2(NULL, 311296, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40202000
uname({sys="Linux", node="hq", ...})    = 0
gettimeofday({1086941627, 682429}, NULL) = 0
open("/usr/X11R6/lib/X11/xserver/SecurityPolicy", O_RDONLY) = 1
fstat64(1, {st_mode=S_IFREG|0644, st_size=2925, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4024e000
read(1, "version-1 \n\n# $Xorg: SecurityPol"..., 4096) = 2925
read(1, "", 4096)                       = 0
close(1)                                = 0
munmap(0x4024e000, 4096)                = 0
time(NULL)                              = 1086941627
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
brk(0)                                  = 0x842b000
brk(0x844c000)                          = 0x844c000
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
getuid32()                              = 1006
geteuid32()                             = 1006
brk(0)                                  = 0x844c000
brk(0x846d000)                          = 0x846d000
gettimeofday({1086941627, 945472}, NULL) = 0
open("/usr/X11R6/lib/X11/fonts/misc/fonts.dir", O_RDONLY) = 1
fstat64(1, {st_mode=S_IFREG|0644, st_size=13340, ...}) = 0
fstat64(1, {st_mode=S_IFREG|0644, st_size=13340, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4024e000
read(1, "169\n6x12.pcf.gz -misc-fixed-medi"..., 4096) = 4096
read(1, "mal--12-120-75-75-c-60-iso8859-4"..., 4096) = 4096
brk(0)                                  = 0x846d000
brk(0x848e000)                          = 0x848e000
read(1, "-240-ksc5601.1987-0\njiskan16.pcf"..., 4096) = 4096
read(1, "m-r-normal--2-20-75-75-c-10-misc"..., 4096) = 1052
read(1, "", 4096)                       = 0
read(1, "", 4096)                       = 0
close(1)                                = 0
munmap(0x4024e000, 4096)                = 0
open("/usr/X11R6/lib/X11/fonts/misc/fonts.alias", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/mtab", O_RDONLY)             = 1
fstat64(1, {st_mode=S_IFREG|0644, st_size=369, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4024e000
read(1, "/dev/hda1 / auto rw,errors=remou"..., 4096) = 369
close(1)                                = 0
munmap(0x4024e000, 4096)                = 0
open("/proc/meminfo", O_RDONLY)         = 1
fstat64(1, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4024e000
read(1, "MemTotal:       483596 kB\nMemFre"..., 1024) = 572
close(1)                                = 0
munmap(0x4024e000, 4096)                = 0
open("/usr/X11R6/lib/X11/fonts/Speedo/fonts.dir", O_RDONLY) = 1
fstat64(1, {st_mode=S_IFREG|0644, st_size=1689, ...}) = 0
fstat64(1, {st_mode=S_IFREG|0644, st_size=1689, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4024e000
read(1, "24\nfont0648.spd -bitstream-chart"..., 4096) = 1689
read(1, "", 4096)                       = 0
read(1, "", 4096)                       = 0
close(1)                                = 0
munmap(0x4024e000, 4096)                = 0
open("/usr/X11R6/lib/X11/fonts/Speedo/fonts.alias", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/X11/fonts/Type1/fonts.dir", O_RDONLY) = 1
fstat64(1, {st_mode=S_IFREG|0644, st_size=8074, ...}) = 0
fstat64(1, {st_mode=S_IFREG|0644, st_size=8074, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4024e000
read(1, "110\na010013l.pfb -urw-urw gothic"..., 4096) = 4096
read(1, " -urw-nimbus sans l-regular-i-co"..., 4096) = 3978
read(1, "", 4096)                       = 0
read(1, "", 4096)                       = 0
close(1)                                = 0
munmap(0x4024e000, 4096)                = 0
open("/usr/X11R6/lib/X11/fonts/Type1/fonts.alias", O_RDONLY) = 1
fstat64(1, {st_mode=S_IFREG|0644, st_size=28397, ...}) = 0
fstat64(1, {st_mode=S_IFREG|0644, st_size=28397, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4024e000
read(1, "!! fonts.alias -- automatically "..., 4096) = 4096
read(1, "mal--0-0-0-0-p-0-iso8859-1\" \"-ur"..., 4096) = 4096
read(1, "-0-p-0-iso8859-2\" \"-urw-urw book"..., 4096) = 4096
read(1, "i-normal--0-0-0-0-p-0-iso8859-1 "..., 4096) = 4096
brk(0)                                  = 0x848e000
brk(0x84b3000)                          = 0x84b3000
read(1, " century schoolbook-medium-r-nor"..., 4096) = 4096
read(1, "ormal--0-0-0-0-p-0-iso8859-1 \"-u"..., 4096) = 4096
read(1, "al--0-0-0-0-p-0-adobe-fontspecif"..., 4096) = 3821
read(1, "", 4096)                       = 0
close(1)                                = 0
munmap(0x4024e000, 4096)                = 0
open("/usr/X11R6/lib/X11/fonts/CID/fonts.dir", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/X11/fonts/CID/fonts.alias", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "Could not init font path element"..., 84Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
) = 84
open("/usr/X11R6/lib/X11/fonts/75dpi/fonts.dir", O_RDONLY) = 1
fstat64(1, {st_mode=S_IFREG|0644, st_size=33476, ...}) = 0
fstat64(1, {st_mode=S_IFREG|0644, st_size=33476, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4024e000
read(1, "405\nUTBI__14.pcf.gz -adobe-utopi"..., 4096) = 4096
read(1, "etica-bold-o-normal--24-240-75-7"..., 4096) = 4096
read(1, ".pcf.gz -adobe-courier-medium-r-"..., 4096) = 4096
read(1, " -b&h-lucida-medium-r-normal-san"..., 4096) = 4096
read(1, "110-iso8859-1\nlutRS24-ISO8859-1."..., 4096) = 4096
brk(0)                                  = 0x84b3000
brk(0x84d4000)                          = 0x84d4000
read(1, "-54-iso8859-1\ntimR12-ISO8859-1.p"..., 4096) = 4096
read(1, "4-140-75-75-c-80-dec-dectech\nluI"..., 4096) = 4096
read(1, ".pcf.gz -adobe-helvetica-bold-r-"..., 4096) = 4096
read(1, "schoolbook-medium-r-normal--24-2"..., 4096) = 708
read(1, "", 4096)                       = 0
read(1, "", 4096)                       = 0
close(1)                                = 0
munmap(0x4024e000, 4096)                = 0
open("/usr/X11R6/lib/X11/fonts/75dpi/fonts.alias", O_RDONLY) = 1
fstat64(1, {st_mode=S_IFREG|0644, st_size=10338, ...}) = 0
fstat64(1, {st_mode=S_IFREG|0644, st_size=10338, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4024e000
read(1, "!! fonts.alias -- automatically "..., 4096) = 4096
read(1, "normal-sans-24-240-75-75-p-151-m"..., 4096) = 4096
read(1, "osoft-cp1251\nw-lucidasans-italic"..., 4096) = 2146
read(1, "", 4096)                       = 0
close(1)                                = 0
munmap(0x4024e000, 4096)                = 0
brk(0)                                  = 0x84d4000
brk(0x84fd000)                          = 0x84fd000
brk(0)                                  = 0x84fd000
brk(0)                                  = 0x84fd000
brk(0x84f0000)                          = 0x84f0000
brk(0)                                  = 0x84f0000
open("/usr/X11R6/lib/X11/fonts/100dpi/fonts.dir", O_RDONLY) = 1
fstat64(1, {st_mode=S_IFREG|0644, st_size=34462, ...}) = 0
fstat64(1, {st_mode=S_IFREG|0644, st_size=34462, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4024e000
read(1, "405\nUTBI__14.pcf.gz -adobe-utopi"..., 4096) = 4096
read(1, "0-100-100-p-80-iso10646-1\nhelvBO"..., 4096) = 4096
read(1, "-courier-medium-r-normal--14-100"..., 4096) = 4096
read(1, "8859-1.pcf.gz -b&h-lucida-medium"..., 4096) = 4096
read(1, "ISO8859-1.pcf.gz -b&h-lucidatype"..., 4096) = 4096
read(1, "-1\ntimI10-ISO8859-1.pcf.gz -adob"..., 4096) = 4096
read(1, "46-1\nlutRS24.pcf.gz -b&h-lucidat"..., 4096) = 4096
read(1, "-utopia-regular-r-normal--17-120"..., 4096) = 4096
read(1, "cenB14.pcf.gz -adobe-new century"..., 4096) = 1694
read(1, "", 4096)                       = 0
read(1, "", 4096)                       = 0
close(1)                                = 0
munmap(0x4024e000, 4096)                = 0
open("/usr/X11R6/lib/X11/fonts/100dpi/fonts.alias", O_RDONLY) = 1
fstat64(1, {st_mode=S_IFREG|0644, st_size=3302, ...}) = 0
fstat64(1, {st_mode=S_IFREG|0644, st_size=3302, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4024e000
read(1, "!! fonts.alias -- automatically "..., 4096) = 3302
brk(0)                                  = 0x84f0000
brk(0x851f000)                          = 0x851f000
read(1, "", 4096)                       = 0
close(1)                                = 0
munmap(0x4024e000, 4096)                = 0
write(2, "\nFatal server error:\n", 21
Fatal server error:
) = 21
write(2, "could not open default font \'fix"..., 551could not open default font 'fixed';
the X server's font paths might be misconfigured, remote font server(s)
may be unreachable, and/or local fonts may not be installed or are not
configured correctly.

People inexperienced with the X Window System should have either the
"x-window-system" or "x-window-system-core" packages installed.
# apt-get install x-window-system-core
# apt-get install x-window-system

Other useful commands to run include:
$ dpkg --status xserver-common
$ dpkg --status xfonts-base
$ zmore /usr/share/doc/xfree86-common/FAQ.gz) = 551
write(2, "\n", 1
)                       = 1
unlink("/tmp/.X99-lock")                = 0
munmap(0x40202000, 311296)              = 0
exit_group(1)                           = ?



Reply to: