Red Hat Bugzilla – Bug 620078
Allow launching 3d apps from menus
Last modified: 2010-08-21 06:39:45 EDT
Created attachment 435788 [details]
Screenshot of the error and torcs launched from terminal
Description of problem:
While using xguest account, if I go to Applications -> Games -> TORCS an error message appears saying "Your system currently is not capable of hardware accelerated 3D", but if I open a terminal and run torcs it works fine. I think xguest should be allowed to launch 3d apps using menus.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install xguest and a 3d app (eg torcs)
2. try to launch it from applications' menu
What avc messages are you seeing in your logs?
ausearch -m avc -ts recent
[root@endeavour ~]# ausearch -m avc -ts recent
Could you launch the app again and then check for AVCS?
(In reply to comment #3)
> Could you launch the app again and then check for AVCS?
Sure. If i do ausearch -m avc -ts recent as xguest I get:
Error opening config file (Permiso denegado)
NOTE - using built-in logs: /var/log/audit/audit.log
Error opening /var/log/audit/audit.log (Permiso denegado)
and as root:
so I guess there aren't avcs, just the error message.
As root execute
You can turn off the "dontaudit" rules by executing
# semodule -DB
As xguest_t try to run the app.
Collect all of the AVC messages that deal with the tool.
Turn back on the dontaudit rules by executing
# semodule -B
Created attachment 437941 [details]
messages in audit.log
After issuing semodule -DB, these are the messages in audit.log that seems related.
#setsebool -P user_direct_dri 1
Fix the problem?
(In reply to comment #7)
> #setsebool -P user_direct_dri 1
> Fix the problem?
Yes, thank you!