Mir's default is already $XDG_RUNTIME_DIR/mir_socket. (Also, it's correct that /run/mir_socket is not for apps - it's only for unity8 to connect to u-s-c as a guest (nested) compositor. )
However, $XDG_RUNTIME_DIR cannot be used for the u-s-c, as it'd be against the XDG spec to have rw permissions for non-root on the directory, so phablet user (which unity8 runs as) would not be able to access it. I am guessing that's why lightdm is not using the default already. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mir in Ubuntu. https://bugs.launchpad.net/bugs/1327139 Title: mirscreencast broke (moved socket) in #71 Status in Light Display Manager: New Status in Mir: Invalid Status in “mir” package in Ubuntu: Invalid Status in “phablet-tools” package in Ubuntu: Fix Released Bug description: Since the mir_socket moved from /tmp to /var/run, mirscreencast broke. $ adb shell mirscreencast -n 1 Failed to connect to server. Error was :connect: No such file or directory This works:- $ adb shell mirscreencast -m /var/run/mir_socket -n 1 ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: mir-utils 0.1.9+14.10.20140430.1-0ubuntu1 Uname: Linux 3.4.0-5-mako armv7l ApportVersion: 2.14.3-0ubuntu1 Architecture: armhf Date: Fri Jun 6 10:47:19 2014 InstallationDate: Installed on 2014-06-06 (0 days ago) InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140606.1) SourcePackage: mir UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/1327139/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

