Skip to content

VLC Snap cannot find my AACs KEYDB.cfg file.

I've installed the Snap version of VLC in Ubuntu but it is unable to locate my AACS configuration file:

keydbcfg.c:680: No valid AACS configuration files found

It's present inside ~/.config/aacs/KEYDB.cfg which worked with the non-snap version. VLC has access to my home directory:

baa@Tiles-PC:~$ snap connections vlc
Interface               Plug                        Slot                     Notes
audio-playback          vlc:audio-playback          :audio-playback          -
audio-record            vlc:audio-record            -                        -
avahi-control           vlc:avahi-control           -                        -
camera                  vlc:camera                  -                        -
desktop                 vlc:desktop                 :desktop                 -
desktop-legacy          vlc:desktop-legacy          :desktop-legacy          -
dvb                     vlc:dvb                     -                        -
home                    vlc:home                    :home                    -
jack1                   vlc:jack1                   -                        -
mount-observe           vlc:mount-observe           -                        -
mpris                   -                           vlc:mpris                -
network                 vlc:network                 :network                 -
network-bind            vlc:network-bind            :network-bind            -
opengl                  vlc:opengl                  :opengl                  -
optical-drive           vlc:optical-drive           :optical-drive           -
pulseaudio              vlc:pulseaudio              :pulseaudio              -
removable-media         vlc:removable-media         :removable-media         -
screen-inhibit-control  vlc:screen-inhibit-control  :screen-inhibit-control  -
unity7                  vlc:unity7                  :unity7                  -
x11                     vlc:x11                     :x11                     -

As it's unable to find the keydb VLC can't play Blurays in the Snap. I've tried this using 3.18 and 4.0.

Operating System: Ubuntu 22.04
VLC Version: VLC media player 4.0.0-dev Otto Chriek (revision 4.0.0-dev-23542-g85bbff1fc7)
baa@Tiles-PC:~$ snap info vlc
name:      vlc
summary:   The ultimate media player
publisher: VideoLAN✓
store-url: https://snapcraft.io/vlc
contact:   https://www.videolan.org/support/
license:   unset
description: |
  VLC is the VideoLAN project's media player.
  
  Completely open source and privacy-friendly, it plays every multimedia file and streams.
  
  It notably plays MKV, MP4, MPEG, MPEG-2, MPEG-4, DivX, MOV, WMV, QuickTime, WebM, FLAC, MP3,
  Ogg/Vorbis files, BluRays, DVDs, VCDs, podcasts, and multimedia streams from various network
  sources. It supports subtitles, closed captions and is translated in numerous languages.
commands:
  - vlc
snap-id:      RT9mcUhVsRYrDLG8qnvGiy26NKvv6Qkd
tracking:     latest/edge
refresh-date: today at 10:33 BST
channels:
  latest/stable:    3.0.18                      2022-10-28 (3078) 336MB -
  latest/candidate: 3.0.18                      2022-10-28 (3078) 336MB -
  latest/beta:      3.0.18-139-g0808ae2ac5      2023-04-22 (3438) 336MB -
  latest/edge:      4.0.0-dev-23542-g85bbff1fc7 2023-04-22 (3439) 691MB -
installed:          4.0.0-dev-23542-g85bbff1fc7            (3439) 691MB -

Until recently there was a semi-popular unofficial PPA for installing VLC on Ubuntu without Snap, but that's not working for me anymore and when I checked the launchpad page it seems they're not offering access to a new required "private PPA" based on donations and some other mystery requirements, it all seems pretty dodgy so I'd like to get the Snap working.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information