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

    Desktop apps

    Scheduled Pinned Locked Moved Support
    libertine
    69 Posts 15 Posters 39.2k Views 6 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.
      • Y Offline
        Youbountoo
        last edited by

        Ha! Unfortunately, I don't know then... ๐Ÿ˜ž

        1 Reply Last reply Reply Quote 0
        • 1 Offline
          1896er
          last edited by

          Now Libre Office runs also without inkscape (sorry, I don't need Inkscape...)

          With the command line "libertine-container-manager install-package -p libreoffice -i ubuntu" it works! (First I took the apt install command...) Language-Package and Help-Package runs also!

          L 1 Reply Last reply Reply Quote 0
          • L Offline
            Lars @1896er
            last edited by

            @1896er But I guess you cant access your sdcard? Do anyone know if theres any plan to get Librecontainer to have some limited access to certain HW that you could set when creating the container?

            Br,

            Lars

            1 Reply Last reply Reply Quote 0
            • 1 Offline
              1896er
              last edited by

              Yes, no access to sdcard and also no access to usb-drive on M10 FHD. I have no solution...

              1 Reply Last reply Reply Quote 0
              • T Offline
                tager18
                last edited by

                Hello, I've created container, and installed libreoffice, firefox, qtdesigner with command : libertine-container-manage install-package -i container-identifier -p package-name

                Those apps are shown in scope, but when I try to open them:
                Icon with app name shows in middle of the screen
                Then black screen for less than second
                And then apps shut down without any other output and get back to desktop apps scope.

                I am doing something wrong ? Or desktop apps don't work right now for anybody?

                D LakotaubpL 2 Replies Last reply Reply Quote 0
                • D Offline
                  doniks @tager18
                  last edited by

                  @tager18 do you see any useful logs in .cache/upstart/ ? (I think that's the path)

                  T 1 Reply Last reply Reply Quote 0
                  • M Offline
                    Marathon2422 @Lakotaubp
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tager18 @doniks
                      last edited by tager18

                      @doniks Thank you for your reply. In every log for desktop application (like application-legacy-container-identifier_firefox_0.0-.log) I have got this:
                      EE)
                      Fatal server error:
                      (EE) Failed to connect to Mir: Failed to connect: not accepted by server
                      (EE)

                      D LakotaubpL 2 Replies Last reply Reply Quote 0
                      • D Offline
                        doniks @tager18
                        last edited by

                        @tager18 ok. Sounds to me like you should create a bug report. I don't have any other advice. Good luck, keep us posted.

                        1 Reply Last reply Reply Quote 0
                        • LakotaubpL Offline
                          Lakotaubp @tager18
                          last edited by

                          @tager18 Have exact same issue on my nexus 5. Created container with no issues and installed apps also no issues. Will check logs as suggested later.

                          1 Reply Last reply Reply Quote 0
                          • LakotaubpL Offline
                            Lakotaubp
                            last edited by

                            Just tried to get libertine on my M 10 and get device unauthorized message. adb shell and sudo adb shell don't work. Dev mode is on. All I can think off is that I need check to unlock the device by OEM unlock.
                            Is this done via laptop with terminal and device in recovery. Sorry cant recall how just now. Thanks

                            D 1 Reply Last reply Reply Quote 0
                            • D Offline
                              doniks @Lakotaubp
                              last edited by doniks

                              @Lakota said in Desktop apps:

                              Just tried to get libertine on my M 10 and get device unauthorized message.

                              What exactly did you try and what exactly was the error?

                              adb shell and sudo adb shell don't work. Dev mode is on. All I can think off is that I need check to unlock the device by OEM unlock.
                              Is this done via laptop with terminal and device in recovery. Sorry cant recall how just now. Thanks

                              I am quite certain that oem lock does not relate to adb. Is the M10 unlocked, I mean the Ubuntu Touch lock screen with password or pin? Does the usb cable work to access folders on the phone? Did you try with another cable, usb port, phone, laptop, to rule out other problems. Does adb work when you are in recovery? Does adb device say anything? What happens in the output of dmesg when you plug in the device? Does the output of lsusb differ between the device plugged in / not plugged in?

                              LakotaubpL 1 Reply Last reply Reply Quote 0
                              • LakotaubpL Offline
                                Lakotaubp @doniks
                                last edited by

                                @doniks Thanks for the help
                                Yes lock screen off.
                                Yes cable allows access to folders
                                Yes tried different ports and cable
                                Yes other phone used. Nexus 5 to create libertine container and install apps (succeeded).
                                Yet too try recovery
                                adb nothing, or on device screen.
                                The next two I need to look up how to do.
                                The M 10 is running the latest ubports r2 stable.
                                adb message device unauthorized. Please check the confirmation dialog on your device. No message on device.
                                Also don't have another laptop. Mine is running Ubuntu 17 32 bit.
                                Oh and phablet- shell did nothing at all.
                                Thanks

                                D 1 Reply Last reply Reply Quote 0
                                • D Offline
                                  doniks @Lakotaubp
                                  last edited by doniks

                                  @Lakota said in Desktop apps:

                                  @doniks Thanks for the help
                                  Yes lock screen off.
                                  Yes cable allows access to folders
                                  Yes tried different ports and cable

                                  ok, that's all good.

                                  Yes other phone used. Nexus 5 to create libertine container and install apps (succeeded).

                                  ok. I assume you mean you did create the libertine container via adb,
                                  right? In that case you know the usb cable and port are ok.

                                  Yet too try recovery

                                  ok. try the adb_usb.ini tip below first

                                  Does adb device say anything? What happens in the output of dmesg when you plug in the device? Does the output of lsusb differ between the device plugged in / not plugged in?

                                  adb nothing, or on device screen.
                                  The next two I need to look up how to do.

                                  Ok, I wasn't clear enough. Sometimes there is a problem with adb:
                                  https://docs.ubports.com/en/latest/userguide/advanceduse/adb.html#add-hardware-ids

                                  Follow steps 1, 4, 6, 7 here:
                                  https://community.linuxmint.com/tutorial/view/888

                                  The M 10 is running the latest ubports r2 stable.

                                  ok

                                  adb message device unauthorized. Please check the confirmation dialog on your device. No message on device.

                                  I don't understand what you are saying here. Is that the output of a command?!

                                  Also don't have another laptop. Mine is running Ubuntu 17 32 bit.

                                  No need anymore, it seems clear that cable and port are ok.

                                  Oh and phablet- shell did nothing at all.

                                  I think phablet-shell relies on adb, so if adb ain't working phablet-shell won't either.

                                  Thanks

                                  LakotaubpL 1 Reply Last reply Reply Quote 0
                                  • LakotaubpL Offline
                                    Lakotaubp @doniks
                                    last edited by

                                    @doniks Thanks will read through the link info later. Sorry about the other bit, when using adb the message โ€œdevice unauthorized etc...โ€ comes up in the terminal and theres no confirmation dialog on the device.
                                    Thanks for the help

                                    1 Reply Last reply Reply Quote 0
                                    • LakotaubpL Offline
                                      Lakotaubp
                                      last edited by

                                      Just for info tried my Bq 5. Same problem when running adb shell. deamon starts running on port 5037. Then error: device unauthorized. Please check the confirmation dialog on your device.
                                      Legacy device issue? Just going to have a look at info above will see what happens.

                                      H 1 Reply Last reply Reply Quote 0
                                      • H Offline
                                        hans1977se @Lakotaubp
                                        last edited by

                                        @Lakota said in Desktop apps:

                                        error: device unauthorized

                                        I've had this problem once. I think it can have multiple causes, but in my case it disappeared when i switched my pc to Ubuntu 16.04.

                                        1 Reply Last reply Reply Quote 0
                                        • LakotaubpL Offline
                                          Lakotaubp
                                          last edited by

                                          Solved the problem on m10. Used Linux Mint. Started adb got the dialog box on the m10 to authorize and away we went. Also after installing on the m10 libreoffice opened unlike on the nexus 5 where it shuts back down again. This is not in convergence mode just on the tablet.

                                          1 Reply Last reply Reply Quote 1
                                          • LakotaubpL Offline
                                            Lakotaubp
                                            last edited by

                                            Have just used Mint again to create a container on my Bq 5. All went well all seems to work fine. Also used Mint to remove and reinstall the container and apps on the nexus 5. No change there they just crash on opening still.

                                            1 Reply Last reply Reply Quote 0
                                            • LakotaubpL Offline
                                              Lakotaubp @tager18
                                              last edited by Lakotaubp

                                              @tager18 Same log results that I got. Did you create a bug report or found away around it at all.
                                              Thanks

                                              1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post