[oe] [meta-oe] Networkmanager help (and other issues?)

Andreas Müller schnitzeltony at gmx.de
Mon Oct 10 20:44:50 UTC 2011


Hi

I am working on a xfce-image (see below) in angstrom environment with networkmanager / nm-applet taking care of network/wlan settings. Currently I have no display manager. In very old oe-classic times I used 'slim' - but a try caused kernel panic. That one needs some alignment for systemd I think - but this is another issue.

So I login to console and call 'startxfce4'. Without futher preparations neither networkmanager nor nm-applet are started properly.
I took a look around and found a workaround by entering the following two commands before 'startxfce4':

1. dbus-launch --config-file=/etc/dbus-1/system.conf
2. /etc/init.d/Networkmanager start

As a side-effect I discovered that after calling 1. the 'shutdown' and 'restart' options are enabled when logging of from xfce-session.

Now my questions:

* What steps are required to save me from entering the two commands?
* Is this a dbus or a systemd or a missing display-manager issue?

Hints appreciated

Andreas

diff --git a/recipes-angstrom/images/xfce-base-image.bb b/recipes-angstrom/images/xfce-base-image.bb
new file mode 100644
index 0000000..2fea779
--- /dev/null
+++ b/recipes-angstrom/images/xfce-base-image.bb
@@ -0,0 +1,53 @@
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+PR = "r0"
+
+require systemd-image.bb
+
+# conman conflicts with networkmanager so remove here
+CONMANPKGS = ""
+
+export IMAGE_BASENAME = "xfce-base-image"
+
+IMAGE_INSTALL += " \
+    task-base-extended \
+    task-xserver \
+    task-xfce-base \
+    \
+    xfwm4-theme-daloa \
+    xfwm4-theme-kokodi \
+    xfwm4-theme-moheli \
+    xfwm4-theme-sassandra \
+    xfwm4-theme-stoneage \
+    xfwm4-theme-therapy \
+    xfwm4-theme-tyrex \
+    xfwm4-theme-wallis \
+    \
+    xfce4-appfinder \ 
+    xfce4-screenshooter \
+    midori \
+    ristretto \
+    gedit \
+    \
+    gtk-xfce-engine \
+    \
+    gvfs \
+    gvfsd-ftp gvfsd-sftp gvfsd-trash \
+    \
+    iso-codes mime-support consolekit \
+    upower udisks \
+    \
+    network-manager-applet networkmanager \
+    \
+    xserver-common \
+    ttf-dejavu-sans ttf-dejavu-sans-mono ttf-dejavu-common \
+    gnome-icon-theme \
+"
+
+#    slim
+#    udev-extra-rules
+#    orage
+#    xserver-nodm-init
+
+
+inherit image
-- 
1.7.4.4




More information about the Openembedded-devel mailing list