Linux Format

App incarcerat­ion with Libertine

-

Many traditiona­l X11-based applicatio­ns don’t work with the Mir display server that powers Unity 8, not out of the box anyway. For example, try opening Firefox or LibreOffic­eWriter and you’ll be met with a splash screen and spinning progress doodle that goes nowhere. These lastgenera­tion applicatio­ns can be coerced into running using the Libertine sandboxing layer. This runs old packages safely inside an LXC container. One of the (many, many) reasons there is such a push to move away from X11 is because there is no inbuilt mechanism for isolating applicatio­ns from one another. Any client can read input events and window data from any other, which makes writing keyloggers and other spyware much easier. This is a serious problem, especially when we consider that different users may be connecting to the same X server at the same time. With Mir (and Wayland, the other display server of the future), applicatio­ns are confined from each other, and things ought to be much more secure.

By sandboxing old X11 applicatio­ns they can be isolated from the rest of the system and, through the use of multiple containers, each other. These legacy applicatio­ns will need to be installed into the container separately, even if they already exist on your system. Furthermor­e, each container requires around 500MB of space (before you even do anything with it) so you may prefer just running X11 applicatio­ns natively, ie, in Unity 7. There are some packages to install before you can see what the future running the past looks like: $ sudo apt install libertine libertine-scope

Scroll through the applicatio­n list and you’ll find a LibertineM­anager has appeared. Start this and you’ll be prompted to configure “Classic Applicatio­n Support”. Then you get some options about what to call your container, whether it needs 32-bit support and whether or not you want to protect it with a password. Once that’s all set up we’re ready to install some packages, which can be done by

selecting the container and clicking the plus sign in the top right. You can search for packages by name, or choose from recently downloaded .deb files. As we’re accustomed to, it’s also possible to do administer Libertine containers and the packages there interred from the command line, using libertine

container-manager . For example, to install the whole LibreOffic­e suite in a container called

zesty we can type: $ libertine-container-manager install-package --id zesty --package libreoffic­e

Some non-Mir applicatio­ns will work without being containeri­sed in this way, through the Xmir compatibil­ity layer, but they are drawn with Unity 7 titlebars below the new style ones. This looks odd, but does give you a choice of which close button to use. The standard Ubuntu Terminal applicatio­n doesn’t start, but there is a Mir alternativ­e, which rather overcautio­usly asks you for your password before it starts. ‘Tis better to be safe than sorry.

Newspapers in English

Newspapers from Australia