8

VLC media player is not working - Ubuntu 23.04 , I just downloaded from Snap

error:

VLC media player 3.0.18 Vetinari (revision 3.0.18-0-ge9eceaed4d)
[000055c2122faa00] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Qt: Session management error: Could not open network socket
Fontconfig warning: FcPattern object weight does not accept value [0 205)
Segmentation fault (core dumped)

How to solve this issue ?

Mel
  • 91

5 Answers5

28

Solution working for me:

sudo rm /var/cache/fontconfig/*
rm ~/.cache/fontconfig/*
fc-cache -r

Tested on:

snap    2.59.4
snapd   2.59.4
series  16
ubuntu  23.04
kernel  6.2.0-20-generic

Root cause: this issue https://github.com/keshavbhatt/olivia/issues/95#issuecomment-774747492

Benjam
  • 467
7

I also used snap originally, try to avoid it when possible. What worked for me:

sudo snap remove vlc
sudo apt install vlc
Ev1Than
  • 79
1

I had same problem and my solution was installing edge version of vlc with this command:

sudo snap install vlc --edge
0

I had the very same problem. Thanks to @karel this command solved the issue for me:

sudo snap connect vlc:network :network
Giana
  • 49
0

Solution the worked for me was Resetting the font cache of vlc media player

Tested on Ubuntu 23.04 Video: How to rebuild vlc font cache

nichtNox
  • 582