Re: garnome gnome 2.12.1 gamin, HAL and dbus (longish ....)



Mark,

file ownership
----------
Changing ownership is not necessary.  I build and install GAROME as
garnome.garnome.  The requirement is the directories need to be readable
and the applications need to be executable, which they are.  There are a
couple of exceptions, but these are handled during the install.

dbus & hal
-----------
* process ownership
If you expected the system dbus process to be owned by user messagebus,

        [from the configure file]
        --with-dbus-user=<user>  User for running the DBUS daemon (messagebus)

the user must exist. For example,

    [from /etc/passwd]
        messagebus:x:81:81:System message bus:/:/sbin/nologin

As for HAL... HAL is started by user root.root with 

        '--retain-privileges' 

so the HAL processes will be owned by root.

>From my experience, it is necessary to start HAL as root with
'--retain-privileges' to get anything to work correctly.

* desktop disk icons

Having icons pop up on the desktop when you plug things in depends upon
how hot-plug, hal, and fstab-sync are configured.  Did this work with
your old desktop? If not, I doubt updating dbus & hal via GARNOME will
help.

If so, try the following:
running with run level 3 [/etc/inittab]

- exit the GARNOME desktop
- stop hal and dbus
- start dbus and hal [note the order]
- start the GARNOME desktop.

gamin / nautilus
-----------------
On my system, nautilus does update automatically then 'touch new-file'
is run from a command window.

Try the following:
* rebuild gamin with
        CONFIGURE_ARGS = $(DIRPATHS)

which will allow configure to determine which notification mechanisms
gamin should support.

* rebuild nautilus
* rebuild gnome-vfs

* exit the desktop
* kill off all GARNOME processes
* start the desktop
* run your experiment.


-Joseph

======================================================================================





        
The GARNOME install 
============================================================================

On Thu, 2005-10-20 at 20:51 +1300, Mark Carey wrote:
> Ok so I am now all up and running, just a couple of wee things to sort out.
> 
> Firstly as I had built GARNOME according to the instructions, ``thou
> shall not run GARNOME as root'', post install I changed the
> permissions on my install from mark.mark to root.root with this little
> gem,
> 
> cd /opt/gnome2.12.1
> find -user mark | xargs chown root.root
> I used this as I was anticipating to find fles owned by haldaemon and
> messagebus but it appears not to be the case.  HAL and dbus never the
> less start
> [mark jersey:~]$ ps aux | grep hal
> root      2653  0.0  0.4   4956  3672 ?        Ss   20:29   0:00
> /opt/gnome2.12.1/sbin/hald --retain-privileges
> root      2658  0.0  0.0   1796   624 ?        S    20:29   0:00 hald-addon-acpi
> root      2662  0.0  0.0   1796   632 ?        S    20:29   0:00
> hald-addon-storage
> mark      3357  0.0  0.0   1544   436 pts/1    R+   20:45   0:00 grep hal
> 
> [mark jersey:~]$ ps aux | grep dbus
> 101       2642  0.0  0.1   2008   980 ?        Ss   20:29   0:00
> /opt/gnome2.12.1/bin/dbus-daemon
> --config-file=/opt/gnome2.12.1/etc/dbus-1/system.conf
> mark      2876  0.0  0.0   2512   744 tty1     S    20:29   0:00
> dbus-launch --exit-with-session gnome-session-1
> mark      2877  0.0  0.1   2004   972 ?        Ss   20:29   0:00
> dbus-daemon --fork --print-pid 8 --print-address 6 --session
> 
> [mark jersey:~]$ cat /etc/passwd | grep hal
> haldaemon:x:102:102::/dev/null:/bin/false
> 
> [mark jersey:~]$ cat /etc/passwd | grep messagebus
> messagebus:x:101:101::/dev/null:/bin/false
> 
> The only headache from changing the ownership of the files is I had to
> re-run gst-register to get volume control and rhythmbox back up.
> 
> *Questions*
> 
> 1. Given that HAL and dbus both appear to be working I was expecting
> to plug in my flash drive and get an icon on the desktop, but no joy -
> any clues?
> 
> I can insert the flash drive and click on usb in computer and I can
> then access the contents of the flash drive.
> 
> 2. Also if I have a nautilus window open and I use the terminal to
> `touch newfile` I was expecting nautilus to refresh and show the new
> contents - due to gamin.  This does not appear to be happening - any
> clues on this?
> 
> I am seeing
> ``end of FAM server connection''
> messages in the console from which I started X
> 
> my kernel includes INOTIFY support
> 
> [mark jersey:~]$ uname -a
> Linux jersey 2.6.13.4 #1 Sat Oct 15 17:50:01 NZDT 2005 i686 athlon-4
> i386 GNU/Linux
> 
> [mark jersey:~]$ zcat /proc/config.gz | grep INOTIFY
> CONFIG_INOTIFY=y
> 
> Any suggestions would be appreciated.
> 
> Regards,
> 
> Mark Carey
-- 
joseph_sacco [at] comcast [dot] net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]