• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 751 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.
    • S Offline
      shapley
      last edited by 6 Aug 2018, 14:37

      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
      • M Offline
        mardy
        last edited by 6 Aug 2018, 20:06

        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
        • S Offline
          shapley
          last edited by 7 Aug 2018, 11:50

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

          A 1 Reply Last reply 7 Aug 2018, 12:16 Reply Quote 0
          • A Offline
            advocatux @shapley
            last edited by 7 Aug 2018, 12:16

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

            1 Reply Last reply Reply Quote 0
            • S Offline
              shapley
              last edited by 8 Aug 2018, 14:13

              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
              4 out of 5
              • First post
                4/5
                Last post