• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 473 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 19 Jul 2020, 14:22

      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
      • M Offline
        mikhael
        last edited by 19 Jul 2020, 14:28

        @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 20 Jul 2020, 09:15

          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
          • M Offline
            mikhael
            last edited by 21 Jul 2020, 03:50

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