On Mon, Apr 02, 2007, Damyan Ivanov wrote: > After some hard-time debugging, I think the error is not in the code, > but in the fact, that there is missing .service file, as reported below. > ___________________________________________________ > $ /usr/lib/gnome-screensaver/gnome-screensaver-dialog > > (gnome-screensaver-dialog:25473): Gnome-CRITICAL **: > gnome_program_locate_file: assertion `program != NULL' failed > > (gnome-screensaver-dialog:25473): GnomeKbdIndicator-WARNING **: Woops > remote method failed: The name org.gnome.GkbdConfigRegistry was not > provided by any .service files
Not found either, but screensaver works fine here. grep org.gnome.GkbdConfigRegistry -r /usr/share/dbus-1/services > *** glibc detected *** free(): invalid pointer: 0xb7efc5a0 *** > Aborted I don't get this. > BTW, g-ss misses a build-dependency on libpng12-dev: > checking for GNOME_SCREENSAVER... configure: error: Package > requirements (gtk+-2.0 >= 2.7.0 > dbus-glib-1 >= 0.30 > gconf-2.0 >= 2.6.1 > libgnome-menu >= 2.11.1) were not met: > Package libpng12 was not found in the pkg-config search path. > Perhaps you should add the directory containing `libpng12.pc' > to the PKG_CONFIG_PATH environment variable > Package 'libpng12', required by 'cairo', not found It builds fine in a pbuilder here; I fear you have been bitten by #410106. > If I drop the "XkbLayout", "XkbVariant" and "XkbOptions" lines, > effectively leaving with only the standard "us" layout, > gnome-screensaver-dialog works as expected (and shows no keyboard > switcher). Interesting. > I guess the bug may be reassigned to the package that is supposed to > provide the missing .service file, but I don't happen to know which > one that is. Still, gnome-screensaver (or maybe libgnomekbd) should > depend on that package. I think the problem is that some program crashes or exits with your keyboard layout; I don't know which, but usually it's gnome-settings-daemon: could you run "ps fauxwwwww | grep gnome-settings"? I think it spawns stuff which is supposed to provide the service you mentionned. I think .service files are only necessary for autospawning. -- Loïc Minier