-   Linux - Software (
-   -   VLC Won't Open (

3rdKey 05-14-2007 10:49 AM

VLC Won't Open
I installed the VLC Player via yum (yum install vlc) and it installed all the dependencies as well as the player. There is an icon in the Applications -> Sound and Video menu, however when you click it nothing happens. Any ideas?

I am running FC5 kernel 2.6.20

vxc69 05-14-2007 11:37 AM

Open a terminal and type vlc. If something is wrong there should be some error output on the terminal. Try to figure out what it is or post it here and we'll see what we could do. :)

EDIT: run "vlc -v" for verbose mode.


3rdKey 05-14-2007 12:06 PM

the output was


[root@server ~]# vlc -v
vlc: error while loading shared libraries: /usr/lib/ cannot restore segment prot after reloc: Permission denied

vxc69 05-14-2007 01:14 PM

Ok now we are getting somewhere.

Now try doing this:

chcon -t texrel_shlib_t /usr/lib/
Then try running vlc -v from a terminal again. Then if you get another problem "cannot restore segment prot after reloc: Permission denied" following a file do the chcon shown above for that file too.

Tell me if it works.


3rdKey 05-14-2007 01:19 PM

Thanks a lot man. After doing that for a few files, VLC now works.

So, for future reference/my own knowledge, what exactly did I do?

vxc69 05-14-2007 01:28 PM

Files have a security layer called a context which defines what a particular file is used for. It's just another step to secure linux, like using chown or chmod, I think this was introduced with SELinux.

For more info do "man chcon". ;)


All times are GMT -5. The time now is 10:01 AM.