Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130936 - xprint doesn't start (Modular X related?)
Summary: xprint doesn't start (Modular X related?)
Status: RESOLVED DUPLICATE of bug 128448
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-23 00:55 UTC by Alexander Skwar
Modified: 2006-04-23 15:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2006-04-23 00:55:03 UTC
When I try to start xprint, I get the following output:

alexander@blatt /usr/src $ sudo eselect rc start xprint
Starting init script
 * Starting xprint ...
cat: /usr/openwin/lib/locale/*/OWfontpath: No such file or directory
find: /usr/X11R6/lib/X11/fonts: No such file or directory
/usr/lib/misc/xprint: ## WARNING: Can't find "/usr/X11R6/lib/X11/fonts/encodings/encodings.dir", TrueType font support may not work.                                                  [ ok ]alexander@blatt /usr/src $
Fatal server error:
no screens found
Xprint server pid=21067 done, exitcode=0.


alexander@blatt /usr/src $ ps awux | grep -v grep | grep -i print
1000      6942  0.0  0.0   3284   544 ?        Ss   09:21   0:00 dbus-daemon --fork --print-pid 8 --print-address 6 --session
1000     17831  0.0  0.3   5300  2736 pts/3    S+   09:41   0:00 view /etc/init.d/xprint
alexander@blatt /usr/src $ ps awux | grep -v grep | grep -i prt
alexander@blatt /usr/src $

As you can see, xprint isn't running.

I'm also under the impression, that the init script is looking in the wrong directories for fonts:

cat: /usr/openwin/lib/locale/*/OWfontpath: No such file or directory
find: /usr/X11R6/lib/X11/fonts: No such file or directory
/usr/lib/misc/xprint: ## WARNING: Can't find "/usr/X11R6/lib/X11/fonts/encodings/encodings.dir", TrueType font support may not work.                                                  [ ok ]

I'm not using a font server.

In /etc/X11/xorg.conf, I've got:

Section "Files"

# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

        #FontPath     "unix/:7100"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/cyrillic"
        FontPath     "/usr/share/fonts/default"
        FontPath     "/usr/share/fonts/encodings"
        FontPath     "/usr/share/fonts/fonts.cache-1"
        FontPath     "/usr/share/fonts/local"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/terminus"
        FontPath     "/usr/share/fonts/ukr"
        FontPath     "/usr/share/fonts/util"

EndSection

alexander@blatt /usr/src $ xset -display localhost:0.0 q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  auto repeat delay:  263    repeat rate:  71
  auto repeating keys:  00ffffffdffffbbf
                        fadfffdfffdff5ef
                        ffffffffffffffff
                        ffffffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  0
Colors:
  default colormap:  0x20    BlackPixel:  0    WhitePixel:  16777215
Font Path:
  /usr/share/fonts/TTF,/usr/share/fonts/Type1,/usr/share/fonts/cyrillic,/usr/share/fonts/misc,/usr/share/fonts/terminus,/usr/share/fonts/ukr
Bug Mode: compatibility mode is disabled
DPMS (Energy Star):
  Standby: 900    Suspend: 3600    Off: 7200
  DPMS is Enabled
  Monitor is On
File paths:
  Config file:  /etc/X11/xorg.conf
  Modules path: /usr/lib/xorg/modules
  Log file:     /var/log/Xorg.0.log

alexander@blatt /var/db/pkg $ ls -1d x11-*/*
x11-apps/appres-1.0.0
x11-apps/bdftopcf-1.0.0
x11-apps/iceauth-1.0.1
x11-apps/mesa-progs-6.4.2
x11-apps/mkfontdir-1.0.2
x11-apps/mkfontscale-1.0.1
x11-apps/rgb-1.0.0
x11-apps/sessreg-1.0.0
x11-apps/setxkbmap-1.0.2
x11-apps/ttmkfdir-3.0.9-r3
x11-apps/xauth-1.0.1
x11-apps/xclock-1.0.1
x11-apps/xcursorgen-1.0.0
x11-apps/xdm-1.0.3-r1
x11-apps/xdpyinfo-1.0.1
x11-apps/xdriinfo-1.0.1
x11-apps/xev-1.0.1
x11-apps/xhost-1.0.1
x11-apps/xinit-1.0.2-r3
x11-apps/xkbcomp-1.0.1
x11-apps/xmodmap-1.0.0
x11-apps/xprop-1.0.1
x11-apps/xrandr-1.0.1
x11-apps/xrdb-1.0.1
x11-apps/xset-1.0.1
x11-apps/xsetroot-1.0.1
x11-apps/xvinfo-1.0.1
x11-apps/xwininfo-1.0.2
x11-base/opengl-update-3.0.0
x11-base/x11-drm-20051223
x11-base/xorg-server-1.0.2-r3
x11-base/xorg-x11-7.0-r1
x11-drivers/xf86-input-evdev-1.0.0.5
x11-drivers/xf86-input-keyboard-1.0.1.3
x11-drivers/xf86-input-mouse-1.0.4
x11-drivers/xf86-video-fbdev-0.1.0.5
x11-drivers/xf86-video-vesa-1.0.1.3
x11-drivers/xf86-video-vga-4.0.0.5
x11-drivers/xf86-video-via-0.1.33.2
x11-libs/cairo-1.0.4
x11-libs/fltk-1.1.7
x11-libs/goffice-0.1.2
x11-libs/gtk+-1.2.10-r11
x11-libs/gtk+-2.8.13
x11-libs/gtkglarea-1.99.0
x11-libs/gtkglext-1.0.6-r3
x11-libs/gtksourceview-1.4.2
x11-libs/libdmx-1.0.1
x11-libs/libdrm-2.0.1
x11-libs/libfontenc-1.0.1
x11-libs/libFS-1.0.0
x11-libs/libICE-1.0.0
x11-libs/liblbxutil-1.0.0
x11-libs/liboldX-1.0.1
x11-libs/libSM-1.0.0
x11-libs/libsvg-cairo-0.1.6
x11-libs/libsynaptics-0.14.4d
x11-libs/libwnck-2.12.3
x11-libs/libX11-1.0.0-r2
x11-libs/libXau-1.0.0
x11-libs/libXaw-1.0.1
x11-libs/libXcomposite-0.3
x11-libs/libXcursor-1.1.5.2-r1
x11-libs/libXdamage-1.0.2.2
x11-libs/libXdmcp-1.0.0
x11-libs/libXevie-1.0.0-r1
x11-libs/libXext-1.0.0-r1
x11-libs/libXfixes-3.0.1.2
x11-libs/libXfont-1.1.0-r1
x11-libs/libXft-2.1.8.2
x11-libs/libXi-1.0.0-r1
x11-libs/libXinerama-1.0.1
x11-libs/libxkbfile-1.0.2
x11-libs/libxkbui-1.0.1
x11-libs/libxklavier-2.2
x11-libs/libXmu-1.0.0
x11-libs/libXp-1.0.0
x11-libs/libXpm-3.5.4.2
x11-libs/libXprintAppUtil-1.0.1
x11-libs/libXprintUtil-1.0.1
x11-libs/libXrandr-1.1.0.2-r1
x11-libs/libXrender-0.9.0.2
x11-libs/libXres-1.0.0-r1
x11-libs/libXScrnSaver-1.0.1-r1
x11-libs/libXt-1.0.0-r1
x11-libs/libXTrap-1.0.0
x11-libs/libXtst-1.0.1
x11-libs/libXv-1.0.1
x11-libs/libXvMC-1.0.1-r1
x11-libs/libXxf86dga-1.0.0-r1
x11-libs/libXxf86misc-1.0.0-r1
x11-libs/libXxf86vm-1.0.0-r1
x11-libs/motif-config-0.10
x11-libs/openmotif-2.2.3-r9
x11-libs/pango-1.10.4
x11-libs/qt-3.3.6
x11-libs/qt-4.1.2
x11-libs/startup-notification-0.8
x11-libs/vte-0.11.18
x11-libs/wxGTK-2.6.3.2
x11-libs/xosd-2.2.14
x11-libs/xtrans-1.0.0
x11-misc/gccmakedep-1.0.1-r1
x11-misc/imake-1.0.1-r1
x11-misc/makedepend-1.0.0
x11-misc/shared-mime-info-0.17-r1
x11-misc/util-macros-1.0.1
x11-misc/xbitmaps-1.0.1
x11-misc/xdiskusage-1.48
x11-misc/xearth-1.1
x11-misc/xkeyboard-config-0.8
x11-misc/xmountains-2.7
x11-misc/xorg-cf-files-1.0.1-r2
x11-misc/xscreensaver-4.24
x11-proto/bigreqsproto-1.0.2
x11-proto/compositeproto-0.3.1
x11-proto/damageproto-1.0.3
x11-proto/dmxproto-2.2.2
x11-proto/evieext-1.0.2
x11-proto/fixesproto-4.0
x11-proto/fontcacheproto-0.1.2
x11-proto/fontsproto-2.0.2
x11-proto/glproto-1.4.6
x11-proto/inputproto-1.3.2
x11-proto/kbproto-1.0.2
x11-proto/printproto-1.0.3
x11-proto/randrproto-1.1.2
x11-proto/recordproto-1.13.2
x11-proto/renderproto-0.9.2
x11-proto/resourceproto-1.0.2
x11-proto/scrnsaverproto-1.1.0
x11-proto/trapproto-3.4.3
x11-proto/videoproto-2.2.2
x11-proto/xcmiscproto-1.1.2
x11-proto/xextproto-7.0.2
x11-proto/xf86bigfontproto-1.1.2
x11-proto/xf86dgaproto-2.0.2
x11-proto/xf86driproto-2.0.3
x11-proto/xf86miscproto-0.9.2
x11-proto/xf86rushproto-1.1.2
x11-proto/xf86vidmodeproto-2.2.2
x11-proto/xineramaproto-1.1.2
x11-proto/xproto-7.0.4
x11-terms/gnome-terminal-2.12.0
x11-terms/xterm-212
x11-themes/gentoo-xcursors-0.3.1
x11-themes/gnome-backgrounds-2.12.3.1
x11-themes/gnome-icon-theme-2.12.1
x11-themes/gnome-themes-2.12.3
x11-themes/gtk-engines-2.6.8
x11-themes/hicolor-icon-theme-0.9-r1
x11-themes/xcursor-themes-1.0.1
x11-wm/metacity-2.12.3
x11-wm/twm-1.0.1


alexander@blatt ~ $ emerge --info
Portage 2.1_pre9-r3 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-suspend2-r3.042.kernel-alsa i686)
=================================================================
System uname: 2.6.16-suspend2-r3.042.kernel-alsa i686 Intel(R) Celeron(R) M processor 1.50GHz
Gentoo Base System version 1.12.0_pre18
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="        http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/   http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/  ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     http://distro.ibiblio.org/pub/linux/distributions/gentoo/     ftp://distro.ibiblio.org/pub/linux/distributions/gentoo       http://distfiles.gentoo.org/ "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
PKGDIR="/Gentoo/Portage/packages"
PORTAGE_TMPDIR="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc /Gentoo/Portage/local-tree/overlays/nx /Gentoo/Portage/local-tree/overlays/gentoo-de"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 GAPING_SECURITY_HOLE X acpi alsa amd apache2 apm arts artswrappersuid async avi bash-completion bdf berkdb bitmap-fonts bluetooth bootsplash cairo caps cardbus ccache cdda cddb cdio cdparanoia cdr cdrom cle266 cli crypt css curlwrappers dbus devmap dillo divx4linux dlloader dri dvd dvdread emoticon esd exif fam fbcon fbdev firefox fping freetype gdbm gif gnokii gnome gstreamer gtk gtk2 hal hpn icc id3 idn imap imlib imlib2 insecure-drivers insecure-savers isdnlog javascript jikes jpeg kde kdeenablefinal libedit libwww linuxthreads-tls logrotate lynxkeymap mad madwifi maildir matroska mbox mmx mmxext mozilla moznoirc mozsvg mp3 mpeg mpeg2 mpeg4 mplayer multicall ncurses netboot network new-login nfs nis nls no-old-linux no-suexec noantlr nobcel nobeanutils nobsf nobsh nocd nocommonslogging nocommonsnet nodrm nogg nogulm nojsch nojython nolog4j nomac nooro nopri norhino noxalan noxerces nozaptel nptl nsplugin offensive ogg opengl openssh pam_console pam_timestamp passfile password patented pccts pcmcia pcre perl perlsuid pic player png pnp pppd qt quicktime rar readline real recode reflection reiserfs sdl sendfile sensord session sftp sms spell spf spl sse sse2 ssl startup-notification stream subp subtitles suid symlink sysfs syslog tiff transcode truetype truetype-fonts trusted type1-fonts udev underscores unichrome unicode unsafe usb utf8 uudeview vim vim-pager vlm vorbis wifi win32codecs wma123 x11vnc xinetd xml xmms xorg xpm xprint xscreensaver xv xvid xvmc zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_-synaptics kernel_linux linguas_de userland_GNU video_cards_fbdev video_cards_vesa video_cards_vga video_cards_via"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LC_ALL, MAKEOPTS
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-04-23 15:40:51 UTC
Sync in an hour or so, and remerge your xorg-server. Also install xplsprinters.

*** This bug has been marked as a duplicate of 128448 ***