FreeBSD Jail Allow Sound And Flash Access

by on April 25, 2011 · 2 comments· LAST UPDATED April 25, 2011

in

I am running KDE desktop within FreeBSD jail. How do I get audio working from inside the FreeBSD jail so that flash will also work?

The devfs provides an interface to manipulate properties of devfs for jail. It can be controlled using /etc/rc.conf file only. First shutdown your desktop running inside the jail. You also need to stop jail service
# /etc/rc.d/jail stop
Edit /etc/rc.conf as follows:
# vi /etc/rc.conf
Append the following config directives:
jail_xfcedesktop_devfs_ruleset="devfsrules_desktop_jail"
Note: replace xfcedesktop with your actual jail name. Save and close the file. Start the jail, enter:
# /etc/rc.d/jail stop
You can now use audio inside the FreeBSD jail system.

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 2 comments… read them below or add one }

1 mobb September 1, 2011 at 12:36 pm

Thanks for this howto, only one mistake:
The last command should be # /etc/rc.d/jail start

Reply

2 matias January 27, 2012 at 8:12 pm

Great series. A quick question: do you think one could run pcbsd from within a jail?

Reply

Leave a Comment

Tagged as: , , , , , , ,

Previous Faq:

Next Faq: