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

Howto : chroot debian with X support instead libertine ubuntu

Scheduled Pinned Locked Moved Support
howtochrootlibertine alter
30 Posts 10 Posters 5.4k Views 4 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.
    • R Offline
      Rinkeby @Bouleetbil
      last edited by 5 Nov 2023, 17:22

      @Bouleetbil

      Thats amazing of you. I hope this get adopted. I will lean in to it a bit later.

      So, two more happy question, I see wayland in your code, does this make interface smoother? At the moment i run Firefox through libertine, some add-ons and its actually better than click apps, including smoothness. However, it can be a touch better like in waydroid, running wayland.

      question nr two: Have you tried something more exotic, like Brave or Libre office?

      B 1 Reply Last reply 6 Nov 2023, 19:05 Reply Quote 0
      • B Offline
        Bouleetbil @Rinkeby
        last edited by Bouleetbil 11 Jun 2023, 19:06 6 Nov 2023, 19:05

        @Rinkeby
        I've tested xfce4, vnc, libreoffice, ssh that works
        I've some issues with the virtual keyboard and chromium
        For firefox with firefox-esr-mobile-config it's not bad but the keyboard hide the search bar.

        I use this chroot with a physical keyboard and a wireless display as a little computer.

        BTW I've added my script for enable wake up on tap on startup https://gitlab.com/bouleetbil/ubports-scripts#enable-wake-up-on-tap-on-startup

        Pixel 3a ubports focal RC version daily use with pinetime
        PinePhonePro Mobian / ubports Focal
        Redmi 9S focal devel version

        R 1 Reply Last reply 6 Nov 2023, 23:38 Reply Quote 0
        • R Offline
          Rinkeby @Bouleetbil
          last edited by 6 Nov 2023, 23:38

          @Bouleetbil

          amazing!

          But sorry, I have another question (Keeps the thread on top tough) and that is that I see libertine now in your script. will it messup my already existing libertine setup. because I got firefox up and nice with ad ons. and will it be a conflict?

          best regards.

          B 1 Reply Last reply 7 Nov 2023, 08:02 Reply Quote 0
          • B Offline
            Bouleetbil @Rinkeby
            last edited by 7 Nov 2023, 08:02

            @Rinkeby
            Hello, no problem, you will have any conflict. It's just the official chroot for ubports.
            I use it for test libertine.

            Pixel 3a ubports focal RC version daily use with pinetime
            PinePhonePro Mobian / ubports Focal
            Redmi 9S focal devel version

            R 1 Reply Last reply 8 Nov 2023, 18:10 Reply Quote 0
            • M Offline
              moodroid
              last edited by 7 Nov 2023, 19:02

              Thanks @Bouleetbil
              I did try the new command to create the chroot, and it worked fine. But I was still struggling with some of the later steps.
              Hopefully this will make it simpler - looking forward to trying it out…

              1 Reply Last reply Reply Quote 0
              • R Offline
                Rinkeby @Bouleetbil
                last edited by 8 Nov 2023, 18:10

                @Bouleetbil

                Hey, I cant get it to work. Only get "can not connect to bus.

                here is a dump

                ce7f3cdc-d37b-4d75-bb3e-0139e7eecaf5-image.png

                B 1 Reply Last reply 9 Nov 2023, 21:42 Reply Quote 0
                • B Offline
                  Bouleetbil @Rinkeby
                  last edited by 9 Nov 2023, 21:42

                  @Rinkeby hello don't lanch install.sh with root. The scripts use sudo

                  Pixel 3a ubports focal RC version daily use with pinetime
                  PinePhonePro Mobian / ubports Focal
                  Redmi 9S focal devel version

                  R 1 Reply Last reply 9 Nov 2023, 23:21 Reply Quote 0
                  • R Offline
                    Rinkeby @Bouleetbil
                    last edited by 9 Nov 2023, 23:21

                    @Bouleetbil

                    welp. regardless, nothing works. You done great work. But, Im just lost and it doesnt work here and there.

                    take your time to see and test if you can make a manual or a full install script. It all got a bit fragmented perhaps?

                    R 1 Reply Last reply 10 Nov 2023, 15:10 Reply Quote 0
                    • M Offline
                      moodroid
                      last edited by 10 Nov 2023, 11:01

                      Hi @Bouleetbil - I've just tried, and got this:

                      phablet@ubuntu-phablet:~/ubports-scripts$ ./install.sh
                      cp: cannot create regular file '/home/phablet/.config/systemd/user/debian-mount.service': No such file or directory
                      Failed to enable unit: Unit file debian-mount.service does not exist.
                      

                      Any ideas?

                      Thanks

                      B 1 Reply Last reply 11 Nov 2023, 05:53 Reply Quote 0
                      • R Offline
                        Rinkeby @Rinkeby
                        last edited by 10 Nov 2023, 15:10

                        @Rinkeby

                        Came out harsh for some reason. But what I meant was, that I really hope to see something that works. Because I long for it!

                        1 Reply Last reply Reply Quote 1
                        • B Offline
                          Bouleetbil @moodroid
                          last edited by 11 Nov 2023, 05:53

                          @moodroid Hello, I've updated install.sh for create /home/phablet/.config/systemd/user/ if necessary. For me it was created by amazfish
                          https://gitlab.com/bouleetbil/ubports-scripts/-/commit/3cc0f9bd7d615e9746e46daad419ee09f6567f19

                          Pixel 3a ubports focal RC version daily use with pinetime
                          PinePhonePro Mobian / ubports Focal
                          Redmi 9S focal devel version

                          B 1 Reply Last reply 4 Dec 2023, 15:08 Reply Quote 0
                          • B Offline
                            Bouleetbil @Bouleetbil
                            last edited by 4 Dec 2023, 15:08

                            BTW I've updated https://gitlab.com/bouleetbil/ubports-scripts/ and test it from scratch with my new redmi 9

                            Pixel 3a ubports focal RC version daily use with pinetime
                            PinePhonePro Mobian / ubports Focal
                            Redmi 9S focal devel version

                            R 1 Reply Last reply 4 Dec 2023, 19:57 Reply Quote 0
                            • R Offline
                              Rinkeby @Bouleetbil
                              last edited by 4 Dec 2023, 19:57

                              @Bouleetbil

                              going to check it out. Even though Snap is looking promising, I will still do it because of your dedication.

                              Just a little question. Having no password for sudo su I wonder the security risk of it?

                              1 Reply Last reply Reply Quote 0
                              • C Offline
                                chris @Bouleetbil
                                last edited by 29 Dec 2023, 10:01

                                @Bouleetbil
                                I've seen that with the fakeroot command it is possible to get a root shell for libertine:
                                https://forums.ubports.com/topic/8797/libertine-focal-don-t-find-group-id/3?_=1703843158870

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  Device
                                  last edited by 25 Mar 2024, 20:33

                                  Hey thanks for sharing this!

                                  I was able to create the environment however apt doesn't work inside the chroot due to a failure of name resolution. I double checked, and my /etc/resolv.conf was successfully copied into the chroot.

                                  Not sure if this is a dns issue, since pinging an IP address gives me a 'permission denied' message, even as root.

                                  I'm using a fairphone 4, might this be some quirk of my device? Or is there some way to give the chroot environment network access?

                                  B B 2 Replies Last reply 29 Mar 2024, 13:48 Reply Quote 0
                                  • B Offline
                                    Bouleetbil @Device
                                    last edited by 29 Mar 2024, 13:48

                                    @Device hello,
                                    I've tested with my volla phone devel version and I've the same problem
                                    With my pixel3a RC that works.
                                    For now I don't know why. Weird I will check

                                    Pixel 3a ubports focal RC version daily use with pinetime
                                    PinePhonePro Mobian / ubports Focal
                                    Redmi 9S focal devel version

                                    B 1 Reply Last reply 19 Oct 2024, 07:15 Reply Quote 0
                                    • B Offline
                                      buma @Device
                                      last edited by 26 Jun 2024, 01:38

                                      @Device I've the same problem

                                      1 Reply Last reply Reply Quote 0
                                      • B Offline
                                        bbiw
                                        last edited by bbiw 18 Oct 2024, 05:04

                                        @Device Have a look into your host's /etc/group. There are groups called android_net, android_net2 and android_net3. Create these in your chroot with e.g.: sudo groupadd -g 3003 android_net and add yourself to these groups with e.g.: sudo adduser phablet android_net. If this doesn't work add user root to group root, too. BUT AT FIRST (!!!) make a backup of /etc/group with sudo cp -avi /etc/group /etc/group.backup just in case something goes wrong.

                                        P.S.: Maybe one of these android_net-groups is enough, i'm no expert. Try for yourself. THIS IS JUST A HINT TO PUT YOU IN THE RIGHT DIRECTION. As for me i've created all android_-groups in the chroot and added my user and user root to them. This maybe a security risk, i don't really know.

                                        1 Reply Last reply Reply Quote 0
                                        • B Offline
                                          bearbobs @Bouleetbil
                                          last edited by 19 Oct 2024, 07:15

                                          @Bouleetbil same error on Fairphone 5, did you manage to fix it?

                                          1 Reply Last reply Reply Quote 0
                                          • B Offline
                                            bbiw
                                            last edited by 19 Oct 2024, 17:38

                                            @Device You may also have to remove user _apt with e.g.: sudo deluser _apt, otherwise it might not work, too.

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