xvfb depends on HAL and fails to start

Bug #487575 reported by Martin Olsson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

xvfb is a utility for running test suites on machines with no physical keyboard / monitor (i.e. no running XServer).
For details, see: http://en.wikipedia.org/wiki/Xvfb

Using karmic, when I launch "Xvfb :1 &" I get these errors:

(EE) config/hal: NewInputDeviceRequest failed (2)
(EE) config/hal: NewInputDeviceRequest failed (2)
(EE) config/hal: NewInputDeviceRequest failed (2)
(EE) config/hal: NewInputDeviceRequest failed (2)

...if I instead try "Xvfb :9 &" then I get this error:

[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
[config/dbus] couldn't take over org.x.config: org.freedesktop.DBus.Error.AccessDenied (Connection ":1.7990" is not allowed to own the service "org.x.config.display9" due to security policies in the configuration file)
(EE) config/hal: NewInputDeviceRequest failed (2)
(EE) config/hal: NewInputDeviceRequest failed (2)
(EE) config/hal: NewInputDeviceRequest failed (2)
(EE) config/hal: NewInputDeviceRequest failed (2)

...so I guess xvfb is broken in karmic. And I suspect it will become even more borked in lucid given the migration away from hal.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: xvfb 2:1.6.0-0ubuntu14
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: xorg-server
Uname: Linux 2.6.28-15-generic i686

Revision history for this message
Martin Olsson (mnemo) wrote :
Revision history for this message
Bryce Harrington (bryce) wrote :

Hi mnemo,

Thanks for including the attached files. Could you also include your /var/log/Xorg.0.log (or Xorg.0.log.old) from after reproducing the issue?

Please attach the output of `lspci -vvnn` too.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-xorglog
Changed in xorg-server (Ubuntu):
status: New → Incomplete
Revision history for this message
Michael Rooney (mrooney) wrote :

Hi Bryce, I'm seeing this exact thing running Xvfb, should I add the information to this bug or file a new one via ubuntu-bug?

Revision history for this message
Andrew Agno (ubuntu-agno) wrote :

I've seen this, and it appears to be due to having /etc/dbus-1/system.d/xorg-server.conf from xserver-xorg-core. After uninstalling xserver-xorg-core, things work again. Of course, if you need both xserver-xorg-core and Xvfb, then this won't work for you--you'll probably have to edit the dbus config.

Revision history for this message
Andrew Agno (ubuntu-agno) wrote :

After further testing, I was wrong. I still get this message after removing xorg-server.conf. It's just that now, I can run programs in my Xvfb server some of the time using xvfb-run. Running programs like

$ DISPLAY=:99 urxvt

also seems to work, even though Xvfb has errors on startup.

Bryce Harrington (bryce)
Changed in xorg-server (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in xorg-server (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.