← Back to team overview

ubuntu-phone team mailing list archive

Re: We have unleashed the LXD based SDK

 

Hi Benjamin,

On Tue, Jun 21, 2016 at 6:31 AM, Benjamin Zeller <
benjamin.zeller@xxxxxxxxxxxxx> wrote:

> Some more checks you could try:
>
> Log into the container with:
>
> usdk-target exec <containername>
>
> there check if
>
> 1. /dev/dri/card0 is accessible for root:video
> 2. Your user is part of the group that is allowed to access /dev/dri/card0
> (video)
> 3. If not please check if the video group there also had gid=44
>
> If your user is NOT part of the video group , add it and check again if
> your apps run...
>
>
Today I looked deeper into it and the user although the video group gid is
44, the user was not being added with useradd. I changed the script to
execute instead:

usermod -G video ${USER}

and it works correctly now.


Thank you very much for the help!

Best Regards,
Felipe.

References