Score:3

VLC player is not working , Ubuntu 23.04

zm flag

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 ?

uz flag
Jos
A segmentation fault is the kind of error we can't solve here. It should be reported as a bug. [Here](https://wiki.videolan.org/Report_bugs/) is a how-to.
David avatar
cn flag
BTW All caps is both considered screaming and RUDE.
karel avatar
sa flag
Does this answer your question? [How can Snap permissions be viewed and modified?](https://askubuntu.com/questions/1206951/how-can-snap-permissions-be-viewed-and-modified)
raj avatar
cn flag
raj
Did you try to install VLC as a regular .deb package instead of snap? I would recommend avoiding snaps whenever possible.
ke flag
I get the same error. Ubuntu 23.04 changed to using virtual environments and moved away from system-wide installations of python/pip applications. This has broken a number of my applications that have python/pip dependencies, including all of my applications that have a dependency on qt. See https://peps.python.org/pep-0668/. I reinstalled using apt vlc as a short term workaround.
Score:3
ht flag

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

Wastrel avatar
jp flag
It might work, but it's the last thing I'll try on a brand new install. I think vlc is not supported.
msmaromi avatar
cn flag
this works for me
Score:1
cv flag

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

sudo snap install vlc --edge
Score:1
mz flag

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

sudo snap remove vlc
sudo apt install vlc
Benjam avatar
ht flag
This answer goes against the official installation procedure and would require more solid arguments to stand
Score:0
in flag

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

sudo snap connect vlc:network :network
Asaf Bartov avatar
cn flag
Doesn't solve it for me. VLC stopped working after upgrading Ubuntu to 23.04. Removing and reinstalling the snap doesn't help either.
Wastrel avatar
jp flag
I can't install it after 23.04. sudo snap install vlc error: cannot install "vlc": Post "https://api.snapcraft.io/v2/snaps/refresh": dial tcp: lookup api.snapcraft.io on 127.0.0.53:53: server misbehaving ... I think vlc is not supported.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.