[Gllug] Centos 4 Desktop Problem

Steve Nelson sanelson at gmail.com
Fri Apr 7 09:31:29 UTC 2006


On 4/7/06, Richard Huxton <dev at archonet.com> wrote:

> I've seen strangeness with old .gnome*, .gconf* config directories -
> also worth checking if gconf is running.

I'm not very familiar with the architecture of Gnome, but is gconf a
kind of database system for storing config details?  gconfd is a
daemon that observes changes and applies them?

When it works (ie when I log in as root) I see a gconfd process:

root      8604     1  1 10:10 ?        00:00:02 /usr/libexec/gconfd-2 5

When it doesn't, I don't see a gconfd process.

I tried running gconfd as the non-priveleged user, but the process
aborts.  A strace on  this process shows a number of no such file or
directories, and the abort is called after a failure to make a
temporary file:

mkdir("/tmp/orbit-nelsost1", 0700)      = -1 EACCES (Permission denied)
time([1144401488])                      = 1144401488
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1323, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1323, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1323, ...}) = 0
send(4, "<11>Apr  7 10:18:08 gconfd (nels"..., 99, MSG_NOSIGNAL) = 99
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(9000, 9000, SIGABRT)             = 0
--- SIGABRT (Aborted) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGABRT, {SIG_DFL}, NULL, 8) = 0
tgkill(9000, 9000, SIGABRT)             = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
Process 9000 detached

Mysteriously /tmp has the permissions:

drwxr-xr-x  12 7865 wheel 4096 Apr  7 10:17 /tmp

After chmod 1777 and chown root:root, it works!

Incidentally I now have another error:

Error activating XKB configuration.

Diagnostics show:

# xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc105", "uk", "", ""
_XKB_RULES_NAMES(STRING) = "xorg", "pc105", "uk", "", ""
# gconftool-2 -R /desktop/gnome/peripherals/keyboard/xkb
 layouts = [uk]
 model = pc105
 overrideSettings = false
 options = []
 update_handlers = []

I also have errors in the X.org logs to match:

(EE) Error loading keymap /usr/X11R6/lib/X11/xkb/compiled/server-0.xkm

My xorg.conf file has:

        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "uk"

This should be legal shouldn't it?

>    Richard Huxton

S.
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list