AnsweredAssumed Answered

Desktop manager "matchbox-desktop" run as a user non-root from yocto?

Question asked by Marco Padovani on Jun 26, 2020
Latest reply on Jul 8, 2020 by gusarambula

Hi, 

i'm working with yocto (krogoth) project on the imx6 processor. I created the sato image where a GNOME desktop manager is used.

I added a password for root user and add a new user from yocto:

#first delete "debug-tweaks"

EXTRA_USERS_PARAMS = "usermod -P password root; \
                      useradd -P 123456 myUser;"

it worked.

 

Now, i want to boot matchbox-desktop with "myUser" and not as a root, there is any procedure to do on yocto?

I beleve that is sufficient because i tried to run a new  matchbox-desktop istance with myUser, all internal application desktop running with "myUser". That's what i want.

 

Is necessary to run xserver as a "myUser"? In this case, how it do?

 

Thanks, 

Marco

Outcomes