[lxc-users] Canned scripts to demonstrate nvidia proprietary driver in lxc on Ubuntu 12.04
dank at kegel.com
Fri Apr 25 22:43:43 UTC 2014
I now have a simple pair of scripts that let me run accellerated
opengl apps inside an LXC container on Ubuntu 12.04.
I create the container with
Then I start it, and run this:
This does most of the setup, and tells you how to start up the server
Thanks to John Lane, whose post
showed all the needed steps; I just updated it slightly for Ubuntu 12.04.
Two remaining mysteries:
- I have to edit /etc/X11/Xwrapper.config for the user to be able to
run startx (otherwise it's upset that the user is on the wrong vt, or
- I couldn't get the mouse working until I added a window manager to
.xinitrc. Probably user error somehow.
(Now to try creating a buildbot slave using this to run unit tests
that depend on fast opengl!)
More information about the lxc-users