Package: xvfb Version: 2:1.4.2-10.lenny2 Severity: normal
Hi, It would be nice if a daemon was available to start/stop Xvfb. See attach file for suggestion. the initial script was found at: http://marc.info/?l=tomcat-user&m=102335321103262&w=2 Thanks -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (500, 'stable'), (200, 'testing'), (100, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-bpo.1-amd64 (SMP w/16 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages xvfb depends on: ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii libdbus-1-3 1.2.1-5+lenny1 simple interprocess messaging syst ii libfontenc1 1:1.0.4-3 X11 font encoding library ii libhal1 0.5.11-8 Hardware Abstraction Layer - share ii libpixman-1-0 0.16.4-1~bpo50+1 pixel-manipulation library for X a ii libxau6 1:1.0.3-3 X11 authorisation library ii libxdmcp6 1:1.0.2-3 X11 Display Manager Control Protoc ii libxfont1 1:1.3.3-1 X11 font rasterisation library ii x11-common 1:7.3+20 X Window System (X.Org) infrastruc Versions of packages xvfb recommends: ii xbase-clients 1:7.3+20 miscellaneous X clients - metapack ii xfonts-base 1:1.0.0-5 standard fonts for X xvfb suggests no packages. -- no debconf information
XVFB=/usr/bin/X11/Xvfb XVFBARGS=":99 -screen 0 1024x768x24 -fbdir /var/run -ac" PIDFILE=/var/run/xvfb.pid case "$1" in start) echo -n "Starting virtual X frame buffer: Xvfb" start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile --background --exec $XVFB -- $XVFBARGS echo "." ;; stop) echo -n "Stopping virtual X frame buffer: Xvfb" start-stop-daemon --stop --quiet --pidfile $PIDFILE echo "." ;; restart) $0 stop $0 start ;; *) echo "Usage: /etc/init.d/xvfb {start|stop|restart}" exit 1 esac exit 0