mrpiman
Posts: 4
Joined: Mon Nov 26, 2018 2:54 am

Raspbian Stretch VLC not working for second user

Mon Nov 26, 2018 2:57 am

I have installed
-Raspbian Stretch with desktop and recommended software
-Release date: 2018-11-13

It includes VLC 3.0.3 Vetinari and all works well with the pi user. It can play mp3, mp4, mkv full screen no problem. I assume with HW acceleration? It also works when I plug a usb flash drive in and it play the files directly from the drive.

However I created a new user with
sudo adduser bob

and I wanted this to be a limited user and never made bob a sudoer. Now VLC does not work for this user. He can play mp3 from his home dirs but cannot play mp4 nor mkv from his dirs nor the usb flash drive. Vlc pops up and disappears

I have tried resetting VLC preferences and it makes no differnce.
Any advice would be greatly appreciated.

mrpiman
Posts: 4
Joined: Mon Nov 26, 2018 2:54 am

Re: Raspbian Stretch VLC not working for second user

Sat Dec 01, 2018 9:07 pm

It seems no body can help here does anyone at least no where I can obtain help?

User avatar
Fidelius
Posts: 438
Joined: Wed Jan 01, 2014 8:40 pm
Location: Germany

Re: Raspbian Stretch VLC not working for second user

Sat Dec 01, 2018 9:22 pm

The newest VLC uses hardware acceleration indeed, which is great.

The command line program omxplayer which also uses hardware acceleration, needs a user to be in the group "video" before he can use omxplayer and other applications which use the Videocore hardware.

Like:
adduser newuser video

I think you should try that. I don't know if this is the reason for your problem, since all my Pi users are already in the video group so that omxplayer works, and they work well also with VLC probably because of that.

mrpiman
Posts: 4
Joined: Mon Nov 26, 2018 2:54 am

Re: Raspbian Stretch VLC not working for second user

Sun Dec 02, 2018 6:20 am

Fidelius thank you very much
I will try what you as when I get home tomorrow and report back for anyone experiencing the same problem
Thanks again

mrpiman
Posts: 4
Joined: Mon Nov 26, 2018 2:54 am

Re: Raspbian Stretch VLC not working for second user

Sun Dec 02, 2018 10:09 pm

Fidelius thank you very much
Adding the user to video group fixed the problem
:D

User avatar
Fidelius
Posts: 438
Joined: Wed Jan 01, 2014 8:40 pm
Location: Germany

Re: Raspbian Stretch VLC not working for second user

Mon Dec 03, 2018 7:07 am

Great to hear, and you're welcome!

Return to “General discussion”