<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I was able to get graphics working fairly easily by "mounting" the
necessary devices via the 'lxc config device add <container>
...' tool, however the following:<br>
<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<font color="#444444"><font face="Segoe UI, Segoe UI Web Regular,
Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial,
sans-serif"><font style="font-size: 11pt" size="3">lxc.hook.pre-start
= </font></font></font><font color="#444444"><font
face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica
Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif"><font
style="font-size: 11pt" size="3">/home/USERNAME/.local/share/lxc/precise-gui/setup-pulse.sh<br>
<br>
<br>
<br>
</font></font></font> still has me mystified. <br>
<br>
First off I can not find documentation of how to create hooks in an
LXD configuration. Secondly I do not have enough knowledge of what
this script is doing, other than to change the paths and user names,
to alter it properly. Thirdly, there is no equivalent directories
that I am aware of that are used by lxd. <br>
<br>
I have looked at flockport's documentation and they mention several
alternative ways to implement this but all seem to have some legacy
lxc dependency of some kind.
<title></title>
<meta name="generator" content="LibreOffice 5.0.5.2 (Linux)">
<style type="text/css">
@page { margin: 0.79in }
pre.cjk { font-family: "Courier New", monospace }
p { margin-bottom: 0.1in; line-height: 120% }
a:link { so-language: zx</style><br>
<br>
I did create a /tmp/.lxc directory then ran the script changing the
path to /tmp/.lxc/.pulse_socket and the user name and this seemed to
be successful. Also successfully 'export
PULSE_SERVER=/tmp/.lxc/.pulse_socket', also without error. But when
I tried 'lxc config device add <container>
/tmp/.lxc/.pulse_socket unix-char /tmp/.lxc/.pulse_socket' it
returned the following error:<br>
<br>
error: Failed to setup device: Failed to get device attributes: Not
a device<br>
<br>
perhaps this is obvious to some of you but I could really use help
with this.<br>
</body>
</html>