About dbus_enable.

The GNOME desktop environment

About dbus_enable.

Postby fender0107401 » 19 Nov 2008, 04:17

Hello everyone:

I have a problem about the dbus_enable option in the /etc/rc.conf.

According to this page: http://www.freebsd.org/gnome/docs/halfaq.html

How do I use hal on FreeBSD?

The only thing you need to do in order to use hal is to start the HAL daemon, hald. To do this, add the following to /etc/rc.conf:

dbus_enable="YES"
hald_enable="YES"

NOTE: GNOME users can opt to add gnome_enable="YES" to /etc/rc.conf instead of the lines above. This will start all GNOME-related services including Avahi and GDM.


I think I can add gnome_enable="YES" to my /etc/rc.conf to set up everything, but the system show me some massage, when it startup:

Starting dbus
/etc/rc: WARNING: $dbus_enable is not set properly -see rc.conf(5).


Why? It is a bug or something else? :(

To solve this problem, I add dbus_enable="YES" to my /etc/rc.conf, and the warning is gone. :e

System Information:

uname -a
FreeBSD PC-486.Workstation 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #2: Mon Nov 3 21:05:04 CST 2008 fender@PC-486.Workstation:/usr/obj/usr/src/sys/MYKERNEL amd64


pkg_info | grep -i gnome
atk-1.22.0_1 A GNOME accessibility toolkit (ATK)
eel-2.22.2_1 Generally useful classes and extensions to GNOME
eog-2.22.3 The Eye Of Gnome image viewer
epiphany-2.22.3 An extremely lightweight and simple web browser for GNOME 2
evince-2.22.2_3 GNOME 2 multi-format document viewer
gcalctool-5.22.3,2 A GNOME 2 calculator tool based on the old calctool for Ope
gconf-editor-2.22.0_2,1 A gconf database editor for the GNOME 2 environment
gconf2-2.22.0_1 A configuration database system for GNOME
gdm-2.20.8 GNOME 2 version of xdm display manager
gedit-2.22.3_1 A small but powerful text editor for GNOME 2 Desktop Enviro
gnome-applets-2.22.3 Applets components for the GNOME 2 Desktop Environment
gnome-audio-2.22.2 Sound files for use with GNOME 2
gnome-control-center-2.22.2.1_1 Control center for GNOME 2 project
gnome-desktop-2.22.3 Additional UI API for GNOME 2
gnome-doc-utils-0.12.2_1 GNOME doc utils
gnome-icon-theme-2.22.0_1 A collection of icons for the GNOME 2 desktop
gnome-keyring-2.22.3_1 A program that keeps passwords and other secrets
gnome-media-2.22.0_1 Multimedia applications for the GNOME 2 desktop
gnome-menus-2.22.2_1 Implementation of the FreeDesktop Desktop Menu Spec
gnome-mime-data-2.18.0_3 A MIME and Application database for GNOME
gnome-mount-0.8_2 A front-end to mount, umount, and eject using HAL
gnome-panel-2.22.2_1 Panel component for the GNOME 2 Desktop
gnome-session-2.22.3 Session component for the GNOME 2 desktop
gnome-settings-daemon-2.22.2.1_1 GNOME 2 settings daemon
gnome-spell-1.0.8_2 A GNOME/Bonobo component for spell checking
gnome-system-monitor-2.22.4 GNOME 2 system monitor program
gnome-terminal-2.22.3 Terminal component for the GNOME 2 Desktop
gnome-themes-2.22.2_1 A collection of themes and icons for GNOME2
gnome-user-docs-2.22.1_1 GNOME 2 users guide
gnome-utils-2.20.0.1_2,1 GNOME 2 support utilities
gnome-vfs-2.22.0_2 GNOME Virtual File System
gnome2-lite-2.22.3_1 The "meta-port" of the GNOME desktop slimmed down for FreeB
gnome_subr-1.0 Common startup and shutdown subroutines used by GNOME scrip
gnomehier-2.3_10 A utility port that creates the GNOME directory tree
gstreamer-plugins-gnomevfs-0.10.21,3 Gstreamer gnomevfs plugin
gvfs-0.2.5 GNOME virtual file system
libbonobo-2.22.0_1 A component and compound document system for GNOME2
libbonoboui-2.22.0_2 GUI frontend to the libbonobo component of GNOME 2
libglade2-2.6.3 GNOME glade library
libgnome-2.22.0_1 Libraries for GNOME, a GNU desktop environment
libgnomecanvas-2.20.1.1_2 A graphics library for GNOME
libgnomekbd-2.22.0_2 GNOME keyboard shared library
libgnomeprint-2.18.4_2 Gnome print support library
libgnomeprintui-2.18.2_2 Gnome print support library
libgnomeui-2.22.1_2 Libraries for the GNOME GUI, a GNU desktop environment
libgtop-2.22.3 GNOME 2 top library
libxml2-2.6.32_1 XML parser library for GNOME
libxslt-1.1.24_1 The XSLT C library for GNOME
nautilus-2.22.5.1_1 File manager for the GNOME desktop
policykit-gnome-0.9 GNOME frontend to the PolicKit framework
py25-gnome-2.22.1 A set of Python bindings for GNOME 2
py25-libxml2-2.6.32 Python interface for XML parser library for GNOME
system-tools-backends-2.6.0_1 Backend system admin scripts for gnome-system-tools
totem-2.22.2_2 A gstreamer-based video player for the GNOME 2 Desktop
xscreensaver-gnome-5.07 Save your screen while you entertain your cat (for GNOME us
yelp-2.22.1_1 A help browser for the GNOME 2 desktop
zenity-2.22.1_1 Display GNOME dialogs from the command line
Just be yourself.
User avatar
fender0107401
Member
 
Posts: 300
Joined: 17 Nov 2008, 03:57
Location: China, Beijing.

rc.conf ~Manual settings with gdm_enable...

Postby good-beastie » 19 Nov 2008, 04:50

Hi,

I did have that same log message with a port build of Gnome2,
on amd64. So i did what I call the 'gnome_gdm manual override' in rc.conf.

add

#
gdm_enable="YES"
hald_enable="YES"
dbus_enable="YES"
avahi_daemon_enable="YES"
avahi_dnsconfd_enable="YES"
polkitd_enable="YES"
system_tools_backends_enable="YES"
#
#thats all done without gnome_enable="YES"

the system_tools_backends is for some gnome confg programs i believe.
User avatar
good-beastie
Junior Member
 
Posts: 19
Joined: 16 Nov 2008, 20:17
Location: Los Angeles, California.

Postby kamikaze » 19 Nov 2008, 07:30

The gnome_enable thing is a hack in the relevant rc-scripts and it must have broken for hald. The script looks all right to me, though.
sysutils/bsdadminscripts: binary package maintenance, library integrity checking, ...
sysutils/automounter: [man=8]amd[/man] based automounting without HAL
contact: kamikaze@bsdforen.de

Disclaimer: My posts represent my perception. Errors and incompleteness are to be expected, I deny any responsibility to know everything.
User avatar
kamikaze
Member
 
Posts: 366
Joined: 17 Nov 2008, 07:34
Location: /earth/europe/germany

Postby SirDice » 19 Nov 2008, 08:03

As of some time ago you can remove the system_tools_backends_enable and polkitd_enable as they aren't needed anymore.

You also don't really need avahi_dnsconfd..

Look in /usr/local/etc/rc.d all startup scripts for ports live there.
User avatar
SirDice
Old Fart
 
Posts: 16161
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands


Return to GNOME

Who is online

Users browsing this forum: No registered users and 0 guests