17

I using Ubuntu 20.10. All of a sudden, VLC cannot be started. When trying to run it through the command line, I get:

$ vlc
VLC media player 3.0.12.1 Vetinari (revision 3.0.12.1-0-g170157402b)
[00005573fa81cb40] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Qt: Session management error: Could not open network socket
Fontconfig warning: FcPattern object weight does not accept value [40 200)
Segmentation fault (core dumped)
BeastOfCaerbannog
  • 12,964
  • 10
  • 49
  • 77
Uri
  • 605
  • 7
  • 19

4 Answers4

18

This works for me:

sudo rm /var/cache/fontconfig/*
rm ~/.cache/fontconfig/*
fc-cache -r
Salehi
  • 196
  • 1
  • 3
7

VLC works well with the apt package, contrary to the snap package.

BeastOfCaerbannog
  • 12,964
  • 10
  • 49
  • 77
user1301894
  • 79
  • 1
  • 2
0

I had a similar problem with Konqueror.

I ran ps -aux | grep konqueror and killed the process then konqueror ran without issues Thank you for posting regards Michael

-1

I had the same problem with another program. For me it was due to a restriction by the router: Ubuntu was connected to a FritzBox as guest and the FritzBox seems that was blocking this connection.

As soon as I changed to a normal connection, the problem was solved!

BeastOfCaerbannog
  • 12,964
  • 10
  • 49
  • 77
Nic Stray
  • 1
  • 1