From owner-freebsd-questions@FreeBSD.ORG Fri Feb 23 15:58:22 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0249416A400 for ; Fri, 23 Feb 2007 15:58:22 +0000 (UTC) (envelope-from ihilt@mcgregor-surmount.com) Received: from mcgregor-surmount.com (mail.mcgregor-surmount.com [70.61.40.162]) by mx1.freebsd.org (Postfix) with ESMTP id 9F5CF13C4A3 for ; Fri, 23 Feb 2007 15:58:19 +0000 (UTC) (envelope-from ihilt@mcgregor-surmount.com) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 23 Feb 2007 10:58:18 -0500 Message-ID: <890E919AB0857D4A8A52A4AD5E0F0F62CD13F8@msc-server.msc.mcgregor-surmount.com> In-Reply-To: <20070224015923.23ea66b8@localhost> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem with gnome_enable="YES" in /etc/rc.conf Thread-Index: AcdXWzc5WQD5dTBxQh6tOsLI8g37LAAB2bEg References: <890E919AB0857D4A8A52A4AD5E0F0F62CD13F7@msc-server.msc.mcgregor-surmount.com> <20070224015923.23ea66b8@localhost> From: "Hilt, Ian" To: "Norberto Meijome" Cc: freebsd-questions@freebsd.org Subject: RE: Problem with gnome_enable="YES" in /etc/rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 15:58:22 -0000 > -----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" 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 > > . 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 > usr/local/ > > www/db/text/2007/freebsd-questions/20070121.freebsd-questions>. This > > thread > >=20 > 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