xorg hal dbus

Scot Hetzel swhetzel at gmail.com
Tue Feb 10 07:20:10 PST 2009

On 2/9/09, Tom Mende <tmende at optusnet.com.au> wrote:
>  I now have all these messages on the terminal from where startx was
> launched saying...
>  application x (i.e. thunar-vfs) WARNING **: Failed to connect to HAL
> daemon: Failed to connect to socket
> /var/run/dbus/system_bus_socket: Socket operation on
> non-socket

Does /var/run/dbus/system_bus_socket exist and is it  a socket file or
a  regular file?

$ ls -l /var/run/dbus
total 2
-rw-r--r--  1 root  messagebus  5 Feb  9 19:08 dbus.pid
srwxrwxrwx  1 root  messagebus  0 Feb  9 19:08 system_bus_socket

>  Xlib: extension " Generic Event Extension" missing on display ":0.0"...five
> to ten lines of this depending upon the application

This warning can be ignored.

>  Do I have to somehow configure hal and hald? I can't seem to find anything
> to tell me how to do this either.

Make sure that hal_enable="YES" and dbus_enable="YES" are in
/etc/rc.conf. Also check that they are running:

$ ps -ax | grep -e dbus -e hal
 1954  ??  Is     0:00.06 /usr/local/bin/dbus-daemon --system
 2127  ??  Ss     0:15.15 /usr/local/sbin/hald
 2131  ??  IW     0:00.00 hald-runner
 2136  ??  IW     0:00.00 hald-addon-mouse-sysmouse: /dev/psm0
 2144  ??  S      0:11.07 hald-addon-storage: /dev/acd0 (hald-addon-storage)
24129   8  S+     0:00.00 grep -e dbus -e hal

Run hal-device and check if your mouse/keyboard are being ignored.  If
they are being ignored, check the files under /usr/local/etc/hal and
/usr/local/share/hal to see if  you had created a file in there to
ignore the mouse/keyboard.

find /usr/local/share/hal -exec grep -H ignore {} \;
find /usr/local/etc/hal -exec grep -H ignore {} \;

If your still having problems then post the output of  hal-device and
Xorg.0.log from your system running xorg 7.4.


More information about the freebsd-ports mailing list