Page 1 of 1

Can I run VLC 3.0 (Snap) as root? Ubuntu 16.04

Posted: 04 Aug 2017 22:54
by cliffsloane555
I am having a lot of trouble opening up any files from any other hard drives in VLC.
Elsewhere, a fix was posted to allow running VLC as root (hexedit /usr/bin/vlc, replace geteuid with getppid), but vlc is not in /usr/bin anymore.
I tried installing vlc via command line but I get a "broken packages" error message (libgles1-mesa) which seems stubbornly beyond my repair efforts.
I tried installing deb packages of previous versions but get all manner of unresolvable dependency issues.

So, is it a do-able fix to figure out how to open this snap installation of VLC as root?

Re: Can I run VLC 3.0 (Snap) as root? Ubuntu 16.04

Posted: 05 Aug 2017 14:20
by mc4man
run

Code: Select all

sudo snap remove vlc
When done re-install

Code: Select all

sudo snap install vlc --classic

Re: Can I run VLC 3.0 (Snap) as root? Ubuntu 16.04

Posted: 06 Aug 2017 23:59
by cliffsloane555
Amazing! It worked!

I thought I had tried this before, but I must have done something wrong with removing the previous snap version. I followed your two steps and voila!

Thanks.