<div dir="ltr"><b>How to generate a framework/service version of unity-system-compositor:</b><div><b><br></b></div><div>bzr branch lp:~mir-team/mir/snappy-packaging</div><div>cd snappy-packaging</div><div>make</div><div><br></div><div>You'll now have a snap in your current directory.</div><div><br></div><div>Once installed, you may control the service with the service name mir_system-compositor_0.</div><div><br></div><div>This snap installs a wrapper for consumers to easily connect Mir apps to the current running compositor, to be used like:</div><div>/apps/mir/current/bin/mir-run [program] [arguments]</div><div><br></div><div><b>How to generate an example xfreerdp program using the above service:</b></div><div><b><br clear="all"></b><div>bzr branch lp:~mterry/+junk/snappy-preload</div><div>cd snappy-preload</div><div>make</div><div>cd tools</div><div>./make-snap -d 15.04/beta-2 --aa-profile /usr/share/apparmor/easyprof/templates/ubuntu-snappy/1.3/unconfined --xmir xfreerdp<br></div><div><br></div><div>Now you can install this and use it like so:</div><div>sudo /apps/bin/xfreerdp.rdp /u:user /p:password /v:server<br></div><div><br></div><div>It unfortunately still needs to be run as root (for xorg input to work).  </div><div><br></div><div><div><b>Next steps:</b></div></div><div><br></div><div>Get the permissions sorted out, to see how to stop running these unconfined / as root.  But everything seems functional!</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">-mt</div></div>
</div></div>