webapp-container
-
Hi Guys,
I'm a bit of a newby to Ubuntu-touch, I've downloaded and installed 16.04 (2018-W31) and it works great on an old OnePlus One. I want to create a 'test' webapp-container so i'm going through 'adb' in terminal but i get the following error to do with the 'mir' display. Can you guys help me out?
$ adb -s dd1ed1db shell
phablet@ubuntu-phablet:~$ webapp-container --webappUrlPatterns-http://www.ubuntu.com/*/features http://www.ubuntu.com
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
UbuntuClientIntegration: connection to Mir server failed. Check that a Mir server is
running, and the correct socket is being used and is accessible. The shell may have
rejected the incoming connection, so check its log file
Aborted (core dumped)
phablet@ubuntu-phablet:~$Should I upgrade to 16.04 dev?
Regards,
Paul Shapley
-
You need to specify the
--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop. You won't need this once you have created your desktop file, but it's required when running applications from the command line. -
Hmm...all I get is 'no such file or directory'.
-
@shapley see the correct syntax here https://docs.ubuntu.com/phone/en/web/ubuntu-webapps-guide
-
export MIR_SOCKET=/var/run/mir_socket
The above command solved this for me as was suggested here:-
https://askubuntu.com/questions/611274/how-do-i-run-a-mir-application-from-a-command-line
Thanks for your help
Paul Shapley
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login