[maemo-developers] [maemo-developers] sapwood server looking for wrong X display?

From: Russell Geldmacher russell.geldmacher at gmail.com
Date: Thu Dec 15 21:46:53 EET 2005
Hi all,

I have been looking everywhere for a solution to this problem but I
haven't gotten anywhere with it. Hopefully someone on the list
(sapwood developers?) can help me out here.

I'm running the environment from Scratchbox and connecting to Xephyr
running on display localhost:6.0. I start Xephyr with the script from
the tutorial, and then I run af-sb-init.sh. The Hildon environment
comes up and everything is great, until I try executing a built-in
application (like the Control Panel or the X Term). When, say I try
running the Control Panel, it says "Control Panel - loading" on the
screen but on the console it tells a different story. Notice how the
socket sapwood is trying to use is /var/tmp/sapwood-:0.0 -- is that
normal? Shouldn't it be :6.0?

---------------------------
maemo_af_desktop[14181]: We could not read lowmem page stats.
osso_initialize() WARNING: if the system bus activated this program,
Libosso does not connect to the session bus!
Adding item ai_ap_application_title 135014344
controlpanel[14188]: GLIB ERROR ** default - sapwood-theme: Failed to
load pixmap file
/usr/share/themes/default/gtk-2.0/../images/qgn_plat_application_frame_bottom.png:
Failed to connect to sapwood server using `/var/tmp/sapwood-:0.0':
Connection refused

        `/usr/lib/sapwood/sapwood-server' MUST be started before applications

aborting...
--------------------------------------

I understand that since my Xephyr is running on display :6, a
connection to :0.0 will be refused. My DISPLAY variable is definitely
set to localhost:6.0 -- how do I get sapwood-server to honor the
DISPLAY variable?

Alternatively, this could be a symptom of some other problem. When
loading af-sb-init.sh, it seems to not be able to load some plugins.
Is that normal? The output from af-sb-init.sh is pasted below.

Thanks to anyone who read this :-)
rusty

----------------------------
> af-sb-init.sh start
Sample files present.
DBUS system bus is already running, doing nothing
D-BUS session bus daemon is already running, doing nothing
Starting Sapwood image server
sapwood-server[14144]: GLIB INFO default - server started
Starting Matchbox window manager
Starting Keyboard
Starting MAEMO AF Desktop
[sbox-SDK_PC: ~] > maemo_af_desktop[14181]: GLIB CRITICAL **
GLib-GObject - g_object_set: assertion `G_IS_OBJECT (object)' failed
TRACE LOG: status_bar_main: 1 g_new0
TRACE LOG: status_bar_main: 2 check panel ptr
TRACE LOG: status_bar_main: 3: init dock
TRACE LOG: status_bar_main: 4 add prespecified items
maemo_af_desktop[14181]: HildonStatusBarItem: Unable to open plugin sound
maemo_af_desktop[14181]: Item not properly loaded.
        This function is only called, if a item couldn't initialise
itself properly.
        See hildon_status_bar_item_init/new for more information
maemo_af_desktop[14181]: GLIB WARNING ** Gtk - A floating object was
finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with gtk_object_sink() after a normal
reference is obtained with g_object_ref().
maemo_af_desktop[14181]: Statusbar item add failed for sound
maemo_af_desktop[14181]: HildonStatusBarItem: Unable to open plugin internet
maemo_af_desktop[14181]: Item not properly loaded.
        This function is only called, if a item couldn't initialise
itself properly.
        See hildon_status_bar_item_init/new for more information
maemo_af_desktop[14181]: GLIB WARNING ** Gtk - A floating object was
finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with gtk_object_sink() after a normal
reference is obtained with g_object_ref().
maemo_af_desktop[14181]: Statusbar item add failed for internet
maemo_af_desktop[14181]: HildonStatusBarItem: Unable to open plugin gateway
maemo_af_desktop[14181]: Item not properly loaded.
        This function is only called, if a item couldn't initialise
itself properly.
        See hildon_status_bar_item_init/new for more information
maemo_af_desktop[14181]: GLIB WARNING ** Gtk - A floating object was
finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with gtk_object_sink() after a normal
reference is obtained with g_object_ref().
maemo_af_desktop[14181]: Statusbar item add failed for gateway
maemo_af_desktop[14181]: HildonStatusBarItem: Unable to open plugin battery
maemo_af_desktop[14181]: Item not properly loaded.
        This function is only called, if a item couldn't initialise
itself properly.
        See hildon_status_bar_item_init/new for more information
maemo_af_desktop[14181]: GLIB WARNING ** Gtk - A floating object was
finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with gtk_object_sink() after a normal
reference is obtained with g_object_ref().
maemo_af_desktop[14181]: Statusbar item add failed for battery
maemo_af_desktop[14181]: HildonStatusBarItem: Unable to open plugin display
maemo_af_desktop[14181]: Item not properly loaded.
        This function is only called, if a item couldn't initialise
itself properly.
        See hildon_status_bar_item_init/new for more information
maemo_af_desktop[14181]: GLIB WARNING ** Gtk - A floating object was
finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with gtk_object_sink() after a normal
reference is obtained with g_object_ref().
maemo_af_desktop[14181]: Statusbar item add failed for display
TRACE LOG: status_bar_main: 5 add user items
TRACE LOG: status_bar_main: 6 gtk widget show all
TRACE LOG: status_bar_main: 7 if rpc...
TRACE LOG: status_bar_main: 8, status bar initialized successfully
------------------

More information about the maemo-developers mailing list