Problem with gnome_enable="YES" in /etc/rc.conf

Hilt, Ian ihilt at mcgregor-surmount.com
Fri Feb 23 15:58:22 UTC 2007


> -----Original Message-----
> From: Norberto Meijome [mailto:freebsd at meijome.net] 
> Sent: Friday, February 23, 2007 9:59 AM
> To: Hilt, Ian
> Cc: freebsd-questions at freebsd.org
> Subject: Re: Problem with gnome_enable="YES" in /etc/rc.conf
> 
> On Thu, 22 Feb 2007 15:57:57 -0500
> "Hilt, Ian" <ihilt at mcgregor-surmount.com> wrote:
> 
> > I tried enabling all GNOME 2.16 services with 
> gnome_enable="YES" in the
> > /etc/rc.conf file. However, this did not start any programs 
> referenced
> > by this web page
> > <http://www.freebsd.org/gnome/docs/faq2.html#full-gnome>. This page
> > didn't help much in the way of troubleshooting. It seemed pretty
> > straightforward; set gnome_enable="YES" and it should start all of
> > GNOME's services. I'm guessing I'm missing something obvious. I've
> > searched the freebsd mailing list archives and found posts regarding
> > this issue but they have not solved my problem, or have not been
> > answered e.g.
> > 
> <http://www.freebsd.org/cgi/getmsg.cgi?fetch=2392411+2395419+/
> usr/local/
> > www/db/text/2007/freebsd-questions/20070121.freebsd-questions>. This
> > thread
> > 
> <http://www.freebsd.org/cgi/getmsg.cgi?fetch=824947+828344+/us
> r/local/ww
> > 
> w/db/text/2006/freebsd-questions/20061217.freebsd-questions> provided
> > some more information but did not resolve the issue. I've searched
> > google and have come up with nothing. There was a port - 
> gnome_subr -
> > that was supposed to allow gnome_enable to work, but it did 
> not work. I
> > followed the procedure outlined in the documentation but to 
> no avail.
> > Finally, I've tried enabling dbus, polkitd, and hald in the 
> /etc/rc.conf
> > file but when I click on "Removable drives and media" in the GNOME
> > desktop, it displays a message box that says volume 
> management is not
> > supported and that I should enable hald. I've checked the packages
> > installed and the removable drives and media packege is installed as
> > well as hal.
> 
> Hi,
> have you restarted your pc after modifying /etc/rc.conf? or re-run the
> services by hand ?

Yes, and yes. 

> 
> can you show us your full rc.conf ?
>

Since I wrote the original email I've tried a few different things.
Here's what I've done. 

First I made sure I was a part of group operator. Then, when I did not
have gnome_enable in the rc.conf file, I set it up like this:

# -- sysinstall generated deltas -- # Tue Feb 20 04:52:46 2007
# Created: Tue Feb 20 04:52:46 2007
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
moused_enable="YES"
usbd_enable="YES"
dbus_enable="YES"
polkitd_enable="YES"
hald_enable="YES"
gdm_enable="YES"
hostname=freebsd
ifconfig_rl0=dhcp

This brought up an error message stating the user "haldaemon" did not
exist.

When I did have gnome_enable in the rc.conf file, I set it up like this:

# -- sysinstall generated deltas -- # Tue Feb 20 04:52:46 2007
# Created: Tue Feb 20 04:52:46 2007
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
moused_enable="YES"
usbd_enable="YES"
gnome_enable="YES"
hostname=freebsd
ifconfig_rl0=dhcp

This did not bring up hald, polkitd, dbus, or gdm.

Currently, I have it set up like the first instance above. I added the
haldaemon user and haldaemon group by hand as specified in the +INSTALL
file in '/var/db/pkg/hal-0.5.8.20060917_2/'. I no longer see the
'non-existent user' error message.

Under these conditions, when I inserted a CD into the CD-ROM drive I
received the message "Cannot mount volume: You are not priveleged to
mount the volume." After a little searching around, I found on the "kde
on freebsd" website that I should remove the entry to mount the cdrom in
the fstab file. I did this and now I can insert a CD into the drive and
it will auto-mount. The "Removable Drives and Media" also works.

That being said, I'm curious as to why gnome_enable doesn't work and why
I had to manually enter the haldaemon user and group.

> ( FWIW, i don't have  /var/run/dbus/dbus.pipe , but  
> /var/run/dbus/dbus.pid and
> system_bus_socket )... I'm not running a full gnome environment (XFCE
> actually), but i have all the hal , dbus and plkitd running just fine.

I have both 'dbus.pid' and 'dbus.pipe'.

> 
> _________________________
> {Beto|Norberto|Numard} Meijome
> 
> "Intellectual: 'Someone who has been educated beyond his/her 
> intelligence'"
>    Arthur C. Clarke, from "3001, The Final Odyssey", Sources.
> 
> I speak for myself, not my employer. Contents may be hot. 
> Slippery when wet.
> Reading disclaimers makes you go blind. Writing them is 
> worse. You have been
> Warned.
> 


More information about the freebsd-questions mailing list