Skip to contentSkip to conversation

Running weston as non-weston user

DISCUSSION Mark Hatle 2 participants 2 messages Nov 1, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mark Hatle

author
#1 lore raw
Quoted 7 lines · Sandeep

Hello,

We wanted to know what the actual use case is for running weston as weston user only in OE core
http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-graphics/wayland/weston-init/weston.service#n44

Quoted 6 lines

How is this expected to be used for another user.  Is this intended to be run as the primary machine user or is there another approach? For a system where weston starts itself, it’s expected to start with the weston user only?

Can we add a existing user to weston group and make it to work?

An additional question:

For a system w/o mouse and keyboard, can we ssh in and execute our wayland tests from remote? If so, what user should we be using (weston), can we define our own user?

--Mark

Quoted 2 lines

Thanks,
Sandeep

#2 lore raw

The answer is basically 'patches welcome'. The original reason for adding a weston user was to simply not run weston as root (which was the case before). Further improving this to allow regular users use core-image-weston for graphical things would be good, but figuring out technical specifics is on you.

Alex

Quoted 37 lines · Mark Hatle
Quoted 7 lines · Sandeep

Hello,

We wanted to know what the actual use case is for running weston as weston user only in OE core
http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-graphics/wayland/weston-init/weston.service#n44

Quoted 6 lines

How is this expected to be used for another user. Is this intended to be run as the primary machine user or is there another approach? For a system where weston starts itself, it’s expected to start with the weston user only?

Can we add a existing user to weston group and make it to work?

An additional question:

For a system w/o mouse and keyboard, can we ssh in and execute our wayland tests from remote? If so, what user should we be using (weston), can we define our own user?

--Mark

Quoted 2 lines

Thanks,
Sandeep

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172385): https://lists.openembedded.org/g/openembedded-core/message/172385
Mute This Topic: https://lists.openembedded.org/mt/94719795/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-