LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-02-2008, 11:35 PM   #1
dijeshkk
Member
 
Registered: Aug 2008
Posts: 35

Rep: Reputation: 15
vlc not working


i have installed vlc 8.6. I'm using fedora core 8 and when i tried to use vlc it is not playing video and gives an error message. can anybody help me to solve this problem


Summary
SELinux is preventing vlc from changing the access protection of memory on
the heap.

Detailed Description
The vlc application attempted to change the access protection of memory on
the heap (e.g., allocated using malloc). This is a potential security
problem. Applications should not be doing this. Applications are sometimes
coded incorrectly and request this permission. The
http://people.redhat.com/drepper/selinux-mem.html web page explains how to
remove this requirement. If vlc does not work and you need it to work, you
can configure SELinux temporarily to allow this access until the application
is fixed. Please file a http://bugzilla.redhat.com/bugzilla/enter_bug.cgi
against this package.

Allowing Access
If you want vlc to continue, you must turn on the allow_execheap boolean.
Note: This boolean will affect all applications on the system.

The following command will allow this access:
setsebool -P allow_execheap=1

Additional Information

Source Context unconfined_u:system_r:unconfined_t:s0
Target Context unconfined_u:system_r:unconfined_t:s0
Target Objects None [ process ]
Affected RPM Packages
Policy RPM selinux-policy-3.0.8-44.fc8
Selinux Enabled True
Policy Type targeted
MLS Enabled True
Enforcing Mode Enforcing
Plugin Name plugins.allow_execheap
Host Name KK
Platform Linux KK 2.6.23.1-42.fc8 #1 SMP Tue Oct 30
13:55:12 EDT 2007 i686 i686
Alert Count 2
First Seen Wed 01 Oct 2008 11:26:58 PM IST
Last Seen Wed 01 Oct 2008 11:26:58 PM IST
Local ID 8f1cbaaf-50e8-4c72-8721-d230acd409f8
Line Numbers

Raw Audit Messages

avc: denied { execheap } for comm=vlc pid=2812
scontext=unconfined_u:system_r:unconfined_t:s0 tclass=process
tcontext=unconfined_u:system_r:unconfined_t:s0
 
Old 11-02-2008, 11:40 PM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Did you install it from the livna repository?
 
Old 11-02-2008, 11:56 PM   #3
dijeshkk
Member
 
Registered: Aug 2008
Posts: 35

Original Poster
Rep: Reputation: 15
i installed from livna using yum
 
Old 11-03-2008, 12:27 AM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Hmm, no wonder I gave up on Fedora. Always something wrong with the SELINUX stuff. Anyway, you should execute this:

Quote:
The following command will allow this access:
setsebool -P allow_execheap=1
You will probably need to reboot after that for it to have any effect.
 
Old 11-03-2008, 12:39 AM   #5
dijeshkk
Member
 
Registered: Aug 2008
Posts: 35

Original Poster
Rep: Reputation: 15
i tried it but i got an error saying setsebool:command not found
 
Old 11-03-2008, 12:54 AM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Did you run it as root?
 
Old 11-03-2008, 12:58 AM   #7
dijeshkk
Member
 
Registered: Aug 2008
Posts: 35

Original Poster
Rep: Reputation: 15
yes i tried with root login . i disabled SElinux
 
Old 11-03-2008, 06:51 AM   #8
dijeshkk
Member
 
Registered: Aug 2008
Posts: 35

Original Poster
Rep: Reputation: 15
i can play audio files using vlc but im not able to play video.i disabled SElinux and then reinstalled vlc ,but still i hav same problem.
 
Old 11-03-2008, 07:19 AM   #9
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Do you still get any warning messages? If not, you may simply need to select a different video codec from the vlc menus (I don't use vlc anymore so I'm afraid you are more or less on your own there - I do remember that you need to look really close to find those settings).
 
Old 11-03-2008, 09:54 AM   #10
dijeshkk
Member
 
Registered: Aug 2008
Posts: 35

Original Poster
Rep: Reputation: 15
i tried X11,openGL and XVideo extention video output but still not working.
i use vlc to watch video from network. is there any other video player in linux that allows network streaming
 
Old 11-03-2008, 10:10 AM   #11
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
You may like xine.
 
Old 11-03-2008, 10:15 AM   #12
dijeshkk
Member
 
Registered: Aug 2008
Posts: 35

Original Poster
Rep: Reputation: 15
but xine cant play from a network
 
Old 11-03-2008, 10:52 AM   #13
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
It should.

Quote:
Libxine provides the complete infrastructure for a video/media player. It supports MPEG 1/2 and some AVI and Quicktime videos out of the box, so you can use it to play DVDs, (S)VCDs and most video files out there. It supports network streams, subtitles and even MP3 or Ogg files. It's extensible to your heart's content via plugins for audio and video output, input media, demuxers (stream types), audio/video and subtitle codecs.
 
  


Reply



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 Plugin Installed, but not working! TheOneSYM Linux - Software 3 03-14-2012 07:50 PM
having problem with media files even VLC not working!!!!!!!! fedex Linux - Newbie 2 12-23-2007 06:09 PM
media problem with .avi --- audio only in vlc working rest amarock ,etc. not working fedex Linux - Newbie 1 12-22-2007 08:06 AM
Videos stopped working in VLC (other programs never worked) Chriswaterguy Linux - Software 0 10-06-2007 10:40 AM
VLC stopped working jpidro Linux - Desktop 2 01-04-2007 06:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:35 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration