UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    webapp-container

    Scheduled Pinned Locked Moved Support
    5 Posts 3 Posters 1.1k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • shapleyS Offline
        shapley
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • mardyM Offline
          mardy
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • shapleyS Offline
            shapley
            last edited by

            Hmm...all I get is 'no such file or directory'.

            advocatuxA 1 Reply Last reply Reply Quote 0
            • advocatuxA Offline
              advocatux @shapley
              last edited by

              @shapley see the correct syntax here https://docs.ubuntu.com/phone/en/web/ubuntu-webapps-guide

              1 Reply Last reply Reply Quote 0
              • shapleyS Offline
                shapley
                last edited by

                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

                1 Reply Last reply Reply Quote 1

                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
                • First post
                  Last post