你好,游客 登录 注册 搜索
背景:
阅读新闻

Fedora 10 最佳多媒体播放解决方案

[日期:2009-02-18] 来源:blog.chinaunix.net/u1/59015/showart_1755538.html   作者:chinaunix [字体:大 中 小]

totem播放列表乱码解决

1、修改totem的配置(在终端输入以下命令)

gedit ~/.gnome2/totem_config

2 、加上以下两行点保存

subtitles.separate.font:VeraSansYuanTi

subtitles.separate.src_encoding:gb18030

做完上面的这些步骤以后,rmvb还是不可以播放。

提示说

概述:

SELinux is preventing totem from loading /usr/lib/codecs/drvc.so which requires

text relocation.

详细描述:

The totem application attempted to load /usr/lib/codecs/drvc.so which requires

text relocation. This is a potential security problem. Most libraries do not

need this permission. Libraries are sometimes coded incorrectly and request this

permission. The SELinux Memory Protection Tests

(http://people.RedHat.com/drepper/selinux-mem.html) web page explains how to

remove this requirement. You can configure SELinux temporarily to allow

/usr/lib/codecs/drvc.so to use relocation as a workaround, until the library is

fixed. Please file a bug report

(http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package.

允许访问:

If you trust /usr/lib/codecs/drvc.so to run correctly, you can change the file

context to textrel_shlib_t. "chcon -t textrel_shlib_t '/usr/lib/codecs/drvc.so'"

You must also change the default file context files on the system in order to

preserve them even on a full relabel. "semanage fcontext -a -t textrel_shlib_t

'/usr/lib/codecs/drvc.so'"

Fix 命令:

chcon -t textrel_shlib_t '/usr/lib/codecs/drvc.so'

linux
相关资讯       Fedora 10 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款