Confirmed. I just want to start click app on my phone but from ssh shell: $ MIR_SOCKET=/var/run/mir_socket aa-exec-click -p com.ubuntu.calculator_calculator_2.2.322 -- qmlscene -qt5 $@ share/qml /ubuntu-calculator-app.qml
and it doesn't start, and returns: "Detected click app running under X! Aborting" To me the description given by the author here is clear, I experience the same problem, and moreover there was a suggestion that seems super viable (to check whether or not $MIR_SOCKET is set) so why not just apply it??? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to click-apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1326814 Title: Should be smarter about detecting X use Status in click-apparmor package in Ubuntu: Expired Bug description: click-apparmor has the following code: # Perhaps there is a better way to detect this, but for now, this works if [ -d "/tmp/.X11-unix" ]; then num_sockets=`ls -1 /tmp/.X11-unix | wc -l` if [ "$num_sockets" != "0" ] && [ "$use_insecure_x" != "yes" ]; then echo "Detected click app running under X! Aborting" exit 1 fi fi But ofono-phonesim runs itself under xvfb. Which puts a socket like :99 in /tmp/.X11-unix. So you can't have both ofono-phonesim installed and use click apps. We could maybe detect X by checking $XAUTHORITY instead. Or we could look for Mir instead by seeing if $MIR_SOCKET is non-empty. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/click-apparmor/+bug/1326814/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp