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

    Problem with libertine

    Scheduled Pinned Locked Moved General
    4 Posts 2 Posters 793 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.
      • X Offline
        xinyiman
        last edited by

        Hi guys, I have problem when I create one container with this command

        libertine-container-manager create -i myapp

        return this

        libertine-container-manager:123: ERROR: create(): Impossible crete container: 'No module named 'libertine.LxdContainer''

        Why? How resolve?

        Thank you

        1 Reply Last reply Reply Quote 0
        • mikhaelM Offline
          mikhael
          last edited by

          @xinyiman said in Problem with libertine:

          Why?

          python3-libertine-lxd package is, I believe, required to create LXD containers and it's not installed by default. As for why it's not installed -- I don't know. We need someone more knowledgeable here 🙂

          How resolve?

          libertine-container-manager create -i myapp -t chroot will create a chroot container

          1 Reply Last reply Reply Quote 0
          • X Offline
            xinyiman
            last edited by

            Thank you, with your suggestion I have created my first container. But now I moved my gtk application into this path:

            cp test_laz2 ~/.cache/libertine-container/myapp/rootfs/tmp/

            But now how do I launch my application inside my container?

            1 Reply Last reply Reply Quote 0
            • mikhaelM Offline
              mikhael
              last edited by

              I haven't tried to run desktop applications from Libertine, so have no experience here.
              For command line apps libertine-container-manager exec and libertine-launch commands works for me.

              Have you tried running ubuntu-app-launch <CONTAINER_ID>_<desktop_file_name>_0.0 command (from the docs)?

              1 Reply Last reply Reply Quote 0

              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