VLC does not start

When I try to start VLC in the console I get the following messages:

VLC media player 2.2.0-git Weatherwax (revision 2.1.0-git)
[0x8cf2a8] main interface error: no suitable interface module
[0x8bfe58] main interface error: no suitable interface module
[0x8a30b8] main libvlc error: interface “globalhotkeys,none” initialization failed
[0x9064a8] main interface error: no suitable interface module
[0x8a30b8] main libvlc error: interface “default” initialization failed

I tried before with different versions from different repositories, same result:

:~> vlc
VLC media player 2.0.8 Twoflower (revision 2.0.8a-0-g68cf50b)
[0x180ac58] main interface error: no suitable interface module
[0x1831758] main interface error: no suitable interface module
[0x166c0a8] main libvlc error: interface “globalhotkeys,none” initialization failed
[0x1831758] main interface error: no suitable interface module
[0x166c0a8] main libvlc error: interface “default” initialization failed

what do I do wrong?

Thanks & regards!
Heinrich

openSUSE 12.3

VLC consists of several packages. Most probably you have a mixture of incompatible sub-packages. (maybe you only changed the package “vlc” but not “libvlc5” or something like that?)

Please post the output of those commands:

zypper lr -d
rpm -qa | grep vlc

with pleasure :wink:

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

—±----------------------------------±----------------------------------------±--------±--------±---------±-------±-----------------------------------------------------------------------------±-------
1 | SuSE | SuSE | Yes | Yes | 99 | rpm-md | Index of /pub/SuSE/12.3/ |
2 | download.opensuse.org-Extra | openSUSE BuildService - KDE:Extra | Yes | Yes | 99 | rpm-md | Index of /repositories/KDE:/Extra/openSUSE_12.3 |
3 | download.opensuse.org-UpdatedApps | openSUSE BuildService - KDE:UpdatedApps | Yes | Yes | 99 | rpm-md | Index of /repositories/KDE:/UpdatedApps/openSUSE_12.3 |
4 | download.opensuse.org-mozilla | openSUSE BuildService - Mozilla | Yes | Yes | 99 | rpm-md | Index of /repositories/mozilla/openSUSE_12.3 |
5 | download.opensuse.org-packages | openSUSE BuildService - Java:packages | Yes | Yes | 99 | rpm-md | Index of /repositories/Java:/packages/openSUSE_12.3 |
6 | ftp.gwdg.de-suse | Packman Repository | Yes | Yes | 98 | rpm-md | Index of /pub/linux/packman/suse/openSUSE_12.3 |
7 | google-earth | google-earth | No | Yes | 99 | rpm-md | http://dl.google.com/linux/earth/rpm/stable/x86_64 |
8 | openSUSE_12.3 | openSUSE_12.3 | Yes | Yes | 99 | rpm-md | Index of /repositories/LibreOffice:/Stable/openSUSE_12.3 |
9 | opensuse-guide.org-repo | libdvdcss repository | Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/12.3/ |
10 | packman-essentials | packman-essentials | Yes | Yes | 99 | rpm-md | Index of /suse/openSUSE_12.3/Essentials/ |
11 | packman-multimedia | packman-multimedia | Yes | Yes | 99 | rpm-md | Index of /suse/openSUSE_12.3/Multimedia/ |
12 | repo-non-oss | openSUSE-12.3-Non-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/12.3/repo/non-oss |
13 | repo-oss | openSUSE-12.3-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/12.3/repo/oss |
14 | repo-update | openSUSE-12.3-Update | Yes | Yes | 98 | rpm-md | Index of /update/12.3 |
15 | repo-update-non-oss | openSUSE-12.3-Update-Non-Oss | Yes | Yes | 98 | rpm-md | Index of /update/12.3-non-oss

HS-mozart:/home/heinrich # rpm -qa | grep vlc
vlc-beta-noX-2.2.0-2013090501.1.x86_64
vlc-beta-2.2.0-2013090501.1.x86_64
vlc-beta-gnome-2.2.0-2013090501.1.x86_64
libvlc5-2.2.0-2013090501.1.x86_64
libvlccore5-2.2.0-2013090501.1.x86_64
vlc-beta-qt-2.2.0-2013090501.1.x86_64
vlc-beta-aout-pulse-2.2.0-2013090501.1.x86_64
HS-mozart:/home/heinrich #

While those vlc packages are all the same version (2.2.0 beta), you shouldn’t have both the VLC repo and Packman, this can lead to problems. Anything that is in the VLC repo is included in Packman as well anyway (except for the vlc beta version).
So I would propose to remove the VLC repo:

sudo zypper rr 1

Then remove the vlc beta version and install the stable one instead:

sudo zypper rm vlc-beta vlc-beta-noX vlc-beta-gnome vlc-beta-qt vlc-beta-aout-pulse
sudo zypper in vlc vlc-noX vlc-gnome vlc-qt vlc-aout-pulse vlc-codecs

Then to be sure all multimedia packages do come from Packman (the VLC repo contains different versions of some of the multimedia packages), do a “zypper dup” to the Packman repo:

sudo zypper dup --from "Packman Repository"

Then vlc should work.

And a sidenote:
You don’t need the repos “packman-essentials” and “packman-multimedia”. The repo “Packman Repository” contains everything from those 2 and more.
So maybe you might want to remove those 2 as well.
But they won’t cause you problems, that’s just a suggestion.

Thank you for kind advice, I followed it all!

so the version is back at :

HS-mozart:/home/heinrich # rpm -qa | grep vlc
vlc-codecs-2.0.8a-160.2.x86_64
vlc-noX-2.0.8a-160.2.x86_64
libvlc5-2.0.8a-160.2.x86_64
vlc-aout-pulse-2.0.8a-160.2.x86_64
vlc-gnome-2.0.8a-160.2.x86_64
vlc-2.0.8a-160.2.x86_64
libvlccore5-2.0.8a-160.2.x86_64
vlc-qt-2.0.8a-160.2.x86_64

I appreciate the hint for the repetion of the repositories and tried to sort that, and got rid of some deadwood:

HS-mozart:/home/heinrich # zypper lr -d
#  | Alias                             | Name                                    | Enabled | Refresh | Priority | Type   | URI                                                                          | Service
---+-----------------------------------+-----------------------------------------+---------+---------+----------+--------+------------------------------------------------------------------------------+--------
 1 | download.opensuse.org-Extra       | openSUSE BuildService - KDE:Extra       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_12.3/          |        
 2 | download.opensuse.org-UpdatedApps | openSUSE BuildService - KDE:UpdatedApps | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/UpdatedApps/openSUSE_12.3/    |        
 3 | download.opensuse.org-mozilla     | openSUSE BuildService - Mozilla         | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_12.3/             |        
 4 | download.opensuse.org-packages    | openSUSE BuildService - Java:packages   | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Java:/packages/openSUSE_12.3/      |        
 5 | ftp.gwdg.de-suse                  | Packman Repository                      | Yes     | Yes     |   98     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_12.3/                     |        
 6 | openSUSE_12.3                     | openSUSE_12.3                           | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/LibreOffice:/Stable/openSUSE_12.3/ |        
 7 | opensuse-guide.org-repo           | libdvdcss repository                    | Yes     | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/12.3/                                         |        
 8 | repo-non-oss                      | openSUSE-12.3-Non-Oss                   | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.3/repo/non-oss/                 |        
 9 | repo-oss                          | openSUSE-12.3-Oss                       | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.3/repo/oss/                     |        
10 | repo-update                       | openSUSE-12.3-Update                    | Yes     | Yes     |   98     | rpm-md | http://download.opensuse.org/update/12.3/                                    |        
11 | repo-update-non-oss               | openSUSE-12.3-Update-Non-Oss            | Yes     | Yes     |   98     | rpm-md | http://download.opensuse.org/update/12.3-non-oss/                            |        

:frowning: but it is still the same error


heinrich@HS-mozart:~> vlc
VLC media player 2.0.8 Twoflower (revision 2.0.8a-0-g68cf50b)
[0x931c18] main interface error: no suitable interface module
[0x9586b8] main interface error: no suitable interface module
[0x7930a8] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x9586b8] main interface error: no suitable interface module
[0x7930a8] main libvlc error: interface "default" initialization failed
heinrich@HS-mozart:~> 


however if you are on a stopover in Windhoek, one of these days, please let me invite you for a beer or …

Well, it should work now.
Could you try to run it this way? Maybe your config somehow is corrupted?

vlc --ignore-config

Or try to remove/rename the directory ~/.config/vlc/ .

however if you are on a stopover in Windhoek, one of these days, please let me invite you for a beer or …

Thanks for the offer, but I doubt that I’ll be near that anytime soon… Sorry! :wink:

Dear Wolfi,

Well, it should work now.
Could you try to run it this way? Maybe your config somehow is corrupted?
Code:
vlc --ignore-config
Or try to remove/rename the directory ~/.config/vlc/ .

I did the latter and that made the big difference, the problem turned up on a second machine after an update and it works again!

Thanks a lot and you should consider that beer …

How do I mark the thread solved?

regards!
Heinrich

Good to hear! :slight_smile:
So it was a problem with the configuration.

Thanks a lot and you should consider that beer …

Well, I will think of you when I drink my next one! :wink:

How do I mark the thread solved?

You can’t, except maybe adding [SOLVED] or similar to the thread’s title.

I still have the same problem with Suse 12.3 and vlc 2.1.0, vlc doesn’t start with the error-message

LC media player 2.1.0 Rincewind (revision 2.1.0-0-gedd8835)
[0x1093e38] main interface error: no suitable interface module
[0xef60b8] main libvlc error: interface “globalhotkeys,none” initialization failed
[0xef60b8] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie ‘cvlc’, um VLC ohne Interface zu verwenden.

rpm -qa | grep vlc
returns

npapi-vlc-2.0.2_git201206081001-1.7.x86_64
vlc-devel-2.1.0-174.4.x86_64
vlc-codecs-2.1.0-174.4.x86_64
libvlc5-2.1.0-174.4.x86_64
vlc-aout-pulse-2.1.0-174.4.x86_64
vlc-qt-2.1.0-174.4.x86_64
vlc-noX-2.1.0-174.4.x86_64
vlc-2.1.0-174.4.x86_64
libvlccore7-2.1.0-174.4.x86_64

My former running version of vlc was destroyed by apper, I think.
I’ve tried all suggestions mentioned in the original thread, nothing helped.

What can I do?

No, your package list looks ok.

And that’s no error message you get, that’s normal.

So have you tried to remove the config?

rm -r ~/.config/vlc

Yes, after removing ~/.config/vlc, restarting the PC any problems seem to be solved.
Thanks