Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2007 10:58:18 -0500
From:      "Hilt, Ian" <ihilt@mcgregor-surmount.com>
To:        "Norberto Meijome" <freebsd@meijome.net>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Problem with gnome_enable="YES" in /etc/rc.conf
Message-ID:  <890E919AB0857D4A8A52A4AD5E0F0F62CD13F8@msc-server.msc.mcgregor-surmount.com>
In-Reply-To: <20070224015923.23ea66b8@localhost>
References:  <890E919AB0857D4A8A52A4AD5E0F0F62CD13F7@msc-server.msc.mcgregor-surmount.com> <20070224015923.23ea66b8@localhost>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> -----Original Message-----
> From: Norberto Meijome [mailto:freebsd@meijome.net]=20
> Sent: Friday, February 23, 2007 9:59 AM
> To: Hilt, Ian
> Cc: freebsd-questions@freebsd.org
> Subject: Re: Problem with gnome_enable=3D"YES" in /etc/rc.conf
>=20
> On Thu, 22 Feb 2007 15:57:57 -0500
> "Hilt, Ian" <ihilt@mcgregor-surmount.com> wrote:
>=20
> > I tried enabling all GNOME 2.16 services with=20
> gnome_enable=3D"YES" in the
> > /etc/rc.conf file. However, this did not start any programs=20
> 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=3D"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.
> >=20
> <http://www.freebsd.org/cgi/getmsg.cgi?fetch=3D2392411+2395419+/
> usr/local/
> > www/db/text/2007/freebsd-questions/20070121.freebsd-questions>. This
> > thread
> >=20
> <http://www.freebsd.org/cgi/getmsg.cgi?fetch=3D824947+828344+/us
> r/local/ww
> >=20
> 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 -=20
> gnome_subr -
> > that was supposed to allow gnome_enable to work, but it did=20
> not work. I
> > followed the procedure outlined in the documentation but to=20
> no avail.
> > Finally, I've tried enabling dbus, polkitd, and hald in the=20
> /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=20
> 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.
>=20
> Hi,
> have you restarted your pc after modifying /etc/rc.conf? or re-run the
> services by hand ?

Yes, and yes.=20

>=20
> 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.=20

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=3D"YES"
usbd_enable=3D"YES"
dbus_enable=3D"YES"
polkitd_enable=3D"YES"
hald_enable=3D"YES"
gdm_enable=3D"YES"
hostname=3Dfreebsd
ifconfig_rl0=3Ddhcp

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=3D"YES"
usbd_enable=3D"YES"
gnome_enable=3D"YES"
hostname=3Dfreebsd
ifconfig_rl0=3Ddhcp

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 =20
> /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'.

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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?890E919AB0857D4A8A52A4AD5E0F0F62CD13F8>