[oe] meta-xfce question

Andreas Müller schnitzeltony at gmail.com
Wed Mar 21 20:28:03 UTC 2018


On Wed, Mar 21, 2018 at 8:50 PM, hunter hu <hunterhu.ca at gmail.com> wrote:
> Hi Andreas,
>
> How are you? I have a quick question about meta-xfce layer.
>
> After adding the meta-xfce layer into my Yocto build, building the
> core-image-minimal-xfce image, loading it on my device and booting it up, I
> am still facing a console login window, after logged in with root, I am
> still ended up at the cmd line interface.  Tried startx command, but failed
> too.
>
> How do I make the image boot into the xfce UI desktop env from here?
>
> Thank you for your help,
> Hunter
>
Hi Hunter,

First of all: please no private emails - if somebody else has same
problem, I have to answer again (so I added meta-oe lo CC)

I see the following options:

* enter startxfce from console (disadvantage: you are still root
operator and dbus connections are blocked as root so there might be
issues)
* add a display manager (e.g lxdm) to your image. That does the job
for you to select/login an unprivileged user (you might need to create
one)
* I bet there is some headless manager/script available doing the
(auto)login stuff. I don't know such because I am always using  lxdm
(or sddm from meta-qt5-extra).

Hope that helps

Andreas



More information about the Openembedded-devel mailing list