LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-14-2007, 10:49 AM   #1
3rdKey
Member
 
Registered: Feb 2007
Location: United States
Distribution: Fedora , Knoppix
Posts: 60

Rep: Reputation: 15
Question 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
 
Old 05-14-2007, 11:37 AM   #2
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 387

Rep: Reputation: 33
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.

vxc

Last edited by vxc69; 05-14-2007 at 11:41 AM.
 
Old 05-14-2007, 12:06 PM   #3
3rdKey
Member
 
Registered: Feb 2007
Location: United States
Distribution: Fedora , Knoppix
Posts: 60

Original Poster
Rep: Reputation: 15
the output was

Quote:
[root@server ~]# vlc -v
vlc: error while loading shared libraries: /usr/lib/libavutil.so.49: cannot restore segment prot after reloc: Permission denied
 
Old 05-14-2007, 01:14 PM   #4
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 387

Rep: Reputation: 33
Ok now we are getting somewhere.

Now try doing this:
Code:
chcon -t texrel_shlib_t /usr/lib/libavutil.so.49
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.


vxc
 
Old 05-14-2007, 01:19 PM   #5
3rdKey
Member
 
Registered: Feb 2007
Location: United States
Distribution: Fedora , Knoppix
Posts: 60

Original Poster
Rep: Reputation: 15
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?
 
Old 05-14-2007, 01:28 PM   #6
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 387

Rep: Reputation: 33
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".

vxc

Last edited by vxc69; 05-14-2007 at 01:31 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vlc Mudhoney Fedora 3 11-05-2006 04:23 PM
Help with VLC canti Linux - Software 2 12-09-2005 02:40 PM
Go Open Source episodes - no audio in vlc, totem, mplayer prara Mandriva 1 07-23-2005 06:07 AM
Vlc! sandman545 Ubuntu 2 05-20-2005 04:13 PM
vlc matrixon Linux - Software 12 04-27-2005 09:36 AM


All times are GMT -5. The time now is 09:21 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration