Desktop apps



  • @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)



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



  • @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.



  • 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



  • @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?



  • @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



  • @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



  • @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



  • 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.



  • @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.



  • 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.



  • 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.



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



  • Hello. I tried to install firefox following the guide but the app justs open and then closes itself. This is in my N5.

    If I want to completely remove the container and recover the disk space on the phone . I just have to run libertine-container-manager destroy right?

    I tried to only remove firefox by running libertine-container-manager remove-package firefox but it doesnt work. Of course I am doing something wrong.. but well.

    thank you all in advance.

    EDIT: ok, sorry for my stupidity. with libertine-container-manager remove-package -p firefox its how to uninstall and app... I will keep clean this for now.



  • @malditobastardo I think you also need to include the container identifier as well as the package one.
    Libertine-container-manager remove-package -i container name -p Firefox.



  • @Lakota OK all sorted



  • For me, the command libertine-container-manager create --id ubuntu --name 'ubuntu' didn't work.
    What worked for me is: libertine-container-manager create --i ubuntu --n myContainerName.

    Just to give an advice, in case somebody get the same error I got typing the first command.

    P.S. I installed Firefox, Inkscape and LibreOffice up to now and everything work like a charm...really impressed.

    Thank you for the procedure.

    Matteo



  • @matteo Good. What device device are you using ?. Mine work on the Bq devices but wont run on my nexus 5



  • @zubozrout Hi. Thanks for this "How to" - it's very useful.

    I have a Libertine container. And I have two apps showing in it. However, when I click on either app, they don't boot. Did I miss a step?



  • @3arn0wl If your using a nexus 5 they wont run but they should all work on the Bq devices. Dont know about the others as I don't have them.
    Not sure about a fix for the nexus as yet or even what the problem is.


Log in to reply