[sf-lug] Cheese has no webcam

Yong Tang tomcatcantalk at outlook.com
Sun Mar 6 08:01:11 PST 2022


Thank you, Ronald. Your solution works! One thing I'd like to add is 
that after adding the user to video group, we need to exit the current 
session and log in again to make the solution effective.

I believe that Pipewire moved my cheese after reading this:

https://superuser.com/questions/272061/reload-a-linux-users-group-assignments-without-logging-out

https://bugzilla.gnome.org/show_bug.cgi?id=795022

I did install and remove Pipewire before this trouble occurred. Is it 
possible I can prove that Pipewire made this trouble and what it did to 
my cheese through log analysis?

Yong


On 3/5/22 17:40, Ronald Barnes wrote:
> Yong Tang wrote on 2022-03-05 06:52:
>
>> I tried opening cheese with sudo. It works!
>>
>> I will dig further to see whether I can find something more interesting.
>
> If it works with sudo, it might be worth checking which "groups" your 
> main user is a member of.
>
> Perhaps adding yourself to groups "video", "plugdev", or something 
> would help.
>
> There is a list of available groups in /etc/group
>
>
> And to add a group to a user, be careful to use the -a (--append) 
> *and* -G (--groups) options to usermod.  Sometimes it's forgotten and 
> the target user ends up in only the new group which has various 
> repercussions.
>
> So, for adding video group membership to user "me", something like:
>
> # usermod --append --groups video me
>
>
>
> Hopefully this is helpful and not too error-riddled advice.
>
> rb
>
> _______________________________________________
> sf-lug mailing list
> sf-lug at linuxmafia.com
> http://linuxmafia.com/mailman/listinfo/sf-lug
> SF-LUG is at http://www.sf-lug.org/ 



More information about the sf-lug mailing list