Re: How Do I Restart gconfd?

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

 



On Sun, Sep 19, 2004 at 11:22:14AM -0400, Havoc Pennington wrote:
> Hi,
> 
> gconfd-1 should not be running; if it is for some reason that could
> cause all sorts of problems.
> 
> to restart gconfd generally just kill it, or gconftool-2 --shutdown is
> the more orderly equivalent. But should not be required.

OK, I tried the following:

[ccurley@charlesc Mail]$ ps aux | grep gconf
ccurley  23496  0.0  0.4  7824 2376 pts/2    S    08:19   0:00 /usr/libexec/gconfd-2
ccurley  23564  0.0  0.2  3888 1416 pts/6    S    08:40   0:00 /usr/bin/gconfd-1
ccurley  24061  0.0  0.1  4644  588 pts/6    S    12:08   0:00 grep gconf
[ccurley@charlesc Mail]$ killall gconfd-1
[1]+  Exit 1                  /usr/bin/gconfd-1
[ccurley@charlesc Mail]$ gconftool-2 --shutdown
[ccurley@charlesc Mail]$ ps aux | grep gconf
ccurley  24065  0.0  0.1  5460  584 pts/6    S    12:09   0:00 grep gconf

/var/log/messages shows:
Sep 19 12:09:03 charlesc gconfd (ccurley-23564): Received signal 15, shutting down cleanly
Sep 19 12:09:03 charlesc gconfd (ccurley-23564): Exiting
Sep 19 12:09:23 charlesc gconfd (ccurley-23496): Exiting

and no lock file.

So I ran gconfd-2 manually:

[ccurley@charlesc Mail]$ /usr/libexec/gconfd-2  &
[1] 24082
[ccurley@charlesc Mail]$ ps aux | grep gconf
ccurley  24082  0.7  0.3  6828 2020 pts/6    S    12:13   0:00 /usr/libexec/gconfd-2
ccurley  24084  0.0  0.1  4196  584 pts/6    S    12:13   0:00 grep gconf

I see the following in /var/log/messages:

Sep 19 12:13:48 charlesc gconfd (ccurley-24082): starting (version 2.4.0), pid 24082 user 'ccurley'
Sep 19 12:13:48 charlesc gconfd (ccurley-24082): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only config source at position 0
Sep 19 12:13:48 charlesc gconfd (ccurley-24082): Resolved address "xml:readwrite:/home/ccurley/.gconf" to a writable config source at position 1
Sep 19 12:13:48 charlesc gconfd (ccurley-24082): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only config source at position 2


I now have a lock file. But no change in the desktop background to the
one indicated by gconf-editor.


> 
> Havoc
> 
> 
> On Sun, 2004-09-19 at 08:42 -0600, Charles Curley wrote:
> > This is on FC1, with GConf2-2.4.0-1. gconfd-2 appears to shut itself
> > down. How do I get it to restart?
> > 
> > I can run "/usr/libexec/gconfd-2", and it appears to run: it is
> > present in a "ps" listing, and it has a lock file.
> > 
> > However, I have a script that changes my desktop background every 24
> > hours (http://www.charlescurley.com/wallpaper2.html). Gconf-editor
> > shows the last change, but the last change did not take effect on the
> > screen, and does not take effect when I restart gconfd. Similarly, if
> > I manually set the background, it fails to take effect. This leads me
> > to think I'm not using the right magic incantation.
> > 
> > gconftool-2 -t str -s /desktop/gnome/background/picture_filename /home/ccurley/Photos/www.jpl.nasa.gov/wallpaper/art/Europa_1280_1024.jpg
> > 
> > [ccurley@charlesc Mail]$ ps aux | grep gconf
> > ccurley  15353  0.0  0.1  4504  988 ?        S    Sep18   0:00 /usr/bin/gconfd-1 27
> > ccurley  23458  0.0  1.4 13220 7448 pts/2    S    08:01   0:00 gconf-editor
> > ccurley  23496  0.0  0.4  7816 2076 pts/2    S    08:19   0:00 /usr/libexec/gconfd-2
> > ccurley  23544  0.0  0.1  4508  588 pts/6    S    08:32   0:00 grep gconf
> > 
> > Stopping gconfd-1 ("gconftool-1 --shutdown") and restarting it had no
> > effect.
> > 
> > -- 
> > fedora-list mailing list
> > fedora-list@xxxxxxxxxx
> > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

Attachment: pgpdF4oy47FbJ.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux