<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Howto : chroot debian with X support instead libertine ubuntu]]></title><description><![CDATA[<p dir="auto">Hello, howto debian chroot</p>
<ul>
<li><strong>Create chroot</strong></li>
</ul>
<pre><code>mkdir -p /home/phablet/Documents/debian
sudo debootstrap \
--include=btop,chromium,firefox-esr,maliit-inputcontext-gtk2,maliit-inputcontext-gtk3 \
--arch arm64 \
bookworm \
/home/phablet/Documents/debian \
http://deb.debian.org/debian
</code></pre>
<p dir="auto">chroot created into /home/phablet/Documents/debian</p>
<ul>
<li><strong>Create user phabet</strong></li>
</ul>
<pre><code>sudo chroot /home/phablet/Documents/debian
useradd -m phablet --uid 32011
</code></pre>
<ul>
<li><strong>Configure chroot for dbus, wayland, sound ... for user phablet</strong><br />
Added to /home/phablet/.bashrc into chroot</li>
</ul>
<pre><code>export XDG_RUNTIME_DIR=/run/user/32011
export WAYLAND_DISPLAY=wayland-0
export DISPLAY=:0
export XSOCKET=/tmp/.X11-unix/X0
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/32011/bus
export USER=phablet
#keyboard
export QT_IM_MODULE=Maliit
export GTK_IM_MODULE=Maliit
</code></pre>
<ul>
<li><strong>Start chroot as phablet user</strong></li>
</ul>
<pre><code>MCHRDIR=/home/phablet/Documents/debian

cp /etc/hosts ${MCHRDIR}/etc/hosts
cp /etc/resolv.conf ${MCHRDIR}/etc/resolv.conf

mount -o bind /dev ${MCHRDIR}/dev
mount --bind /dev/pts ${MCHRDIR}/dev/pts
mount --bind /proc  ${MCHRDIR}/proc
mount --bind /tmp  ${MCHRDIR}/tmp
mount --bind /sys  ${MCHRDIR}/sys
mount --bind /run  ${MCHRDIR}/run

#dbus
mount -o bind /var/run/dbus/ ${MCHRDIR}/var/run/dbus

#shm (chromium)
mount --bind /dev/shm/ ${MCHRDIR}/dev/shm

#wayland
mkdir -p ${MCHRDIR}/run/user/32011
mount --bind /run/user/32011 ${MCHRDIR}/run/user/32011

chroot --userspec=phablet:phablet ${MCHRDIR} \
        /usr/bin/env -i \
        HOME=/home/phablet/ \
        TERM="$TERM" \
        PS1='(lfs chroot) \u:\w\$ ' \
        PATH=/usr/bin:/usr/sbin \
        /bin/bash --login

sleep 5
umount ${MCHRDIR}/dev/shm
umount ${MCHRDIR}/var/run/dbus/
umount ${MCHRDIR}/run/user/32011

umount ${MCHRDIR}/run
umount ${MCHRDIR}/sys
umount ${MCHRDIR}/proc
umount ${MCHRDIR}/dev/pts
umount ${MCHRDIR}/dev
umount ${MCHRDIR}/tmp
</code></pre>
<p dir="auto">I've tested chromium firefox all seems works here on my pixel3a focal RC</p>
<p dir="auto"><img src="/assets/uploads/files/1698139087133-photo1698138985.jpeg" alt="photo1698138985.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>TIP</strong></p>
<ul>
<li>You can change PS1 in your chroot ~/.bashrc for identify quickly if you are into the chroot :</li>
</ul>
<pre><code>PS1='chroot \u@\h:\w\$ '
</code></pre>
<p dir="auto">After login in your chroot</p>
<pre><code>chroot phablet@ubuntu-phablet:/home/phablet$
</code></pre>
<ul>
<li>Change DPI<br />
cat ~/Documents/debian/home/phablet/.Xdefaults</li>
</ul>
<pre><code>xterm*faceName: DejaVu Sans Mono
xterm*faceSize: 10
Xft.dpi:200
</code></pre>
<p dir="auto">You can adapt Xft.dpi with your display</p>
<ul>
<li>VNC xfce4 works<br />
<img src="/assets/uploads/files/1698180552965-capture-d-%C3%A9cran-du-2023-10-24-22-46-10-resized.png" alt="Capture d’écran du 2023-10-24 22-46-10.png" class=" img-fluid img-markdown" /></li>
</ul>
<p dir="auto">I can use my pixel3a with lomiri as mobile, And for a little desktop VNC if I don't have my dongle. I love this device <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=6722c86c489" class="not-responsive emoji emoji-android emoji--smile" style="height:23px;width:auto;vertical-align:middle" title=":D" alt="😄" /></p>
]]></description><link>https://forums.ubports.com/topic/9483/howto-chroot-debian-with-x-support-instead-libertine-ubuntu</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 05:07:36 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/9483.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 24 Oct 2023 09:13:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Sat, 19 Oct 2024 17:38:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/device" aria-label="Profile: Device">@<bdi>Device</bdi></a> You may also have to remove user <code>_apt</code> with e.g.: <code>sudo deluser _apt</code>, otherwise it might not work, too.</p>
]]></description><link>https://forums.ubports.com/post/82815</link><guid isPermaLink="true">https://forums.ubports.com/post/82815</guid><dc:creator><![CDATA[bbiw]]></dc:creator><pubDate>Sat, 19 Oct 2024 17:38:13 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Sat, 19 Oct 2024 07:15:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bouleetbil" aria-label="Profile: Bouleetbil">@<bdi>Bouleetbil</bdi></a> same error on Fairphone 5, did you manage to fix it?</p>
]]></description><link>https://forums.ubports.com/post/82788</link><guid isPermaLink="true">https://forums.ubports.com/post/82788</guid><dc:creator><![CDATA[bearbobs]]></dc:creator><pubDate>Sat, 19 Oct 2024 07:15:45 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Fri, 18 Oct 2024 05:30:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/device" aria-label="Profile: Device">@<bdi>Device</bdi></a> Have a look into your host's <code>/etc/group</code>. There are groups called <code>android_net, android_net2 and android_net3</code>. Create these in your chroot with e.g.: <code>sudo groupadd -g 3003 android_net</code> and add yourself to these groups with e.g.: <code>sudo adduser phablet android_net</code>. If this doesn't work add user <code>root</code> to group <code>root</code>, too. BUT AT FIRST (!!!) make a backup of <code>/etc/group</code> with <code>sudo cp -avi /etc/group /etc/group.backup</code> just in case something goes wrong.</p>
<p dir="auto">P.S.: Maybe one of these <code>android_net</code>-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 <code>android_</code>-groups in the chroot and added my user and user <code>root</code> to them. This maybe a security risk, i don't really know.</p>
]]></description><link>https://forums.ubports.com/post/82753</link><guid isPermaLink="true">https://forums.ubports.com/post/82753</guid><dc:creator><![CDATA[bbiw]]></dc:creator><pubDate>Fri, 18 Oct 2024 05:30:08 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Wed, 26 Jun 2024 01:38:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/device" aria-label="Profile: Device">@<bdi>Device</bdi></a> I've the same problem</p>
]]></description><link>https://forums.ubports.com/post/80770</link><guid isPermaLink="true">https://forums.ubports.com/post/80770</guid><dc:creator><![CDATA[buma]]></dc:creator><pubDate>Wed, 26 Jun 2024 01:38:32 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Fri, 29 Mar 2024 13:48:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/device" aria-label="Profile: Device">@<bdi>Device</bdi></a> hello,<br />
I've tested with my volla phone devel version and I've the same problem<br />
With my pixel3a RC that works.<br />
For now I don't know why. Weird I will check</p>
]]></description><link>https://forums.ubports.com/post/79466</link><guid isPermaLink="true">https://forums.ubports.com/post/79466</guid><dc:creator><![CDATA[Bouleetbil]]></dc:creator><pubDate>Fri, 29 Mar 2024 13:48:55 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Mon, 25 Mar 2024 20:33:57 GMT]]></title><description><![CDATA[<p dir="auto">Hey thanks for sharing this!</p>
<p dir="auto">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.</p>
<p dir="auto">Not sure if this is a dns issue, since pinging an IP address gives me a 'permission denied' message, even as root.</p>
<p dir="auto">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?</p>
]]></description><link>https://forums.ubports.com/post/79417</link><guid isPermaLink="true">https://forums.ubports.com/post/79417</guid><dc:creator><![CDATA[Device]]></dc:creator><pubDate>Mon, 25 Mar 2024 20:33:57 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Fri, 29 Dec 2023 10:01:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bouleetbil" aria-label="Profile: Bouleetbil">@<bdi>Bouleetbil</bdi></a><br />
I've seen that with the fakeroot command it is possible to get a root shell for libertine:<br />
<a href="https://forums.ubports.com/topic/8797/libertine-focal-don-t-find-group-id/3?_=1703843158870">https://forums.ubports.com/topic/8797/libertine-focal-don-t-find-group-id/3?_=1703843158870</a></p>
]]></description><link>https://forums.ubports.com/post/77716</link><guid isPermaLink="true">https://forums.ubports.com/post/77716</guid><dc:creator><![CDATA[chris]]></dc:creator><pubDate>Fri, 29 Dec 2023 10:01:43 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Mon, 04 Dec 2023 19:57:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bouleetbil" aria-label="Profile: Bouleetbil">@<bdi>Bouleetbil</bdi></a></p>
<p dir="auto">going to check it out. Even though Snap is looking promising, I will still do it because of your dedication.</p>
<p dir="auto">Just a little question. Having no password for sudo su I wonder the security risk of it?</p>
]]></description><link>https://forums.ubports.com/post/77308</link><guid isPermaLink="true">https://forums.ubports.com/post/77308</guid><dc:creator><![CDATA[Rinkeby]]></dc:creator><pubDate>Mon, 04 Dec 2023 19:57:56 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Mon, 04 Dec 2023 15:08:01 GMT]]></title><description><![CDATA[<p dir="auto">BTW I've updated <a href="https://gitlab.com/bouleetbil/ubports-scripts/" rel="nofollow ugc">https://gitlab.com/bouleetbil/ubports-scripts/</a> and test it from scratch with my new redmi 9</p>
]]></description><link>https://forums.ubports.com/post/77299</link><guid isPermaLink="true">https://forums.ubports.com/post/77299</guid><dc:creator><![CDATA[Bouleetbil]]></dc:creator><pubDate>Mon, 04 Dec 2023 15:08:01 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Sat, 11 Nov 2023 05:53:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/moodroid" aria-label="Profile: moodroid">@<bdi>moodroid</bdi></a> Hello, I've updated <a href="http://install.sh" rel="nofollow ugc">install.sh</a> for create /home/phablet/.config/systemd/user/ if necessary. For me it was created by amazfish<br />
<a href="https://gitlab.com/bouleetbil/ubports-scripts/-/commit/3cc0f9bd7d615e9746e46daad419ee09f6567f19" rel="nofollow ugc">https://gitlab.com/bouleetbil/ubports-scripts/-/commit/3cc0f9bd7d615e9746e46daad419ee09f6567f19</a></p>
]]></description><link>https://forums.ubports.com/post/76659</link><guid isPermaLink="true">https://forums.ubports.com/post/76659</guid><dc:creator><![CDATA[Bouleetbil]]></dc:creator><pubDate>Sat, 11 Nov 2023 05:53:10 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Fri, 10 Nov 2023 15:10:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rinkeby" aria-label="Profile: Rinkeby">@<bdi>Rinkeby</bdi></a></p>
<p dir="auto">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!</p>
]]></description><link>https://forums.ubports.com/post/76653</link><guid isPermaLink="true">https://forums.ubports.com/post/76653</guid><dc:creator><![CDATA[Rinkeby]]></dc:creator><pubDate>Fri, 10 Nov 2023 15:10:44 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Fri, 10 Nov 2023 11:01:50 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/bouleetbil" aria-label="Profile: Bouleetbil">@<bdi>Bouleetbil</bdi></a> - I've just tried, and got this:</p>
<pre><code>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.
</code></pre>
<p dir="auto">Any ideas?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forums.ubports.com/post/76652</link><guid isPermaLink="true">https://forums.ubports.com/post/76652</guid><dc:creator><![CDATA[moodroid]]></dc:creator><pubDate>Fri, 10 Nov 2023 11:01:50 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Thu, 09 Nov 2023 23:21:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bouleetbil" aria-label="Profile: Bouleetbil">@<bdi>Bouleetbil</bdi></a></p>
<p dir="auto">welp. regardless, nothing works. You done great work. But, Im just lost and it doesnt work here and there.</p>
<p dir="auto">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?</p>
]]></description><link>https://forums.ubports.com/post/76638</link><guid isPermaLink="true">https://forums.ubports.com/post/76638</guid><dc:creator><![CDATA[Rinkeby]]></dc:creator><pubDate>Thu, 09 Nov 2023 23:21:53 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Thu, 09 Nov 2023 21:42:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rinkeby" aria-label="Profile: Rinkeby">@<bdi>Rinkeby</bdi></a> hello don't lanch <a href="http://install.sh" rel="nofollow ugc">install.sh</a> with root. The scripts use sudo</p>
]]></description><link>https://forums.ubports.com/post/76635</link><guid isPermaLink="true">https://forums.ubports.com/post/76635</guid><dc:creator><![CDATA[Bouleetbil]]></dc:creator><pubDate>Thu, 09 Nov 2023 21:42:38 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Wed, 08 Nov 2023 18:10:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bouleetbil" aria-label="Profile: Bouleetbil">@<bdi>Bouleetbil</bdi></a></p>
<p dir="auto">Hey, I cant get it to work. Only get "can not connect to bus.</p>
<p dir="auto">here is a dump</p>
<p dir="auto"><img src="/assets/uploads/files/1699467039387-ce7f3cdc-d37b-4d75-bb3e-0139e7eecaf5-image.png" alt="ce7f3cdc-d37b-4d75-bb3e-0139e7eecaf5-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forums.ubports.com/post/76613</link><guid isPermaLink="true">https://forums.ubports.com/post/76613</guid><dc:creator><![CDATA[Rinkeby]]></dc:creator><pubDate>Wed, 08 Nov 2023 18:10:51 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Tue, 07 Nov 2023 19:02:23 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/bouleetbil" aria-label="Profile: Bouleetbil">@<bdi>Bouleetbil</bdi></a><br />
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.<br />
Hopefully this will make it simpler - looking forward to trying it out…</p>
]]></description><link>https://forums.ubports.com/post/76589</link><guid isPermaLink="true">https://forums.ubports.com/post/76589</guid><dc:creator><![CDATA[moodroid]]></dc:creator><pubDate>Tue, 07 Nov 2023 19:02:23 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Tue, 07 Nov 2023 08:02:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rinkeby" aria-label="Profile: Rinkeby">@<bdi>Rinkeby</bdi></a><br />
Hello, no problem, you will have any conflict. It's just the official chroot for ubports.<br />
I use it for test libertine.</p>
]]></description><link>https://forums.ubports.com/post/76582</link><guid isPermaLink="true">https://forums.ubports.com/post/76582</guid><dc:creator><![CDATA[Bouleetbil]]></dc:creator><pubDate>Tue, 07 Nov 2023 08:02:33 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Mon, 06 Nov 2023 23:38:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bouleetbil" aria-label="Profile: Bouleetbil">@<bdi>Bouleetbil</bdi></a></p>
<p dir="auto">amazing!</p>
<p dir="auto">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?</p>
<p dir="auto">best regards.</p>
]]></description><link>https://forums.ubports.com/post/76580</link><guid isPermaLink="true">https://forums.ubports.com/post/76580</guid><dc:creator><![CDATA[Rinkeby]]></dc:creator><pubDate>Mon, 06 Nov 2023 23:38:40 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Mon, 06 Nov 2023 19:06:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rinkeby" aria-label="Profile: Rinkeby">@<bdi>Rinkeby</bdi></a><br />
I've tested xfce4, vnc, libreoffice, ssh that works<br />
I've some issues with the virtual keyboard and chromium<br />
For firefox with firefox-esr-mobile-config it's not bad but the keyboard hide the search bar.</p>
<p dir="auto">I use this chroot with a physical keyboard and a wireless display as a little computer.</p>
<p dir="auto">BTW I've added my script for enable wake up on tap on startup <a href="https://gitlab.com/bouleetbil/ubports-scripts#enable-wake-up-on-tap-on-startup" rel="nofollow ugc">https://gitlab.com/bouleetbil/ubports-scripts#enable-wake-up-on-tap-on-startup</a></p>
]]></description><link>https://forums.ubports.com/post/76579</link><guid isPermaLink="true">https://forums.ubports.com/post/76579</guid><dc:creator><![CDATA[Bouleetbil]]></dc:creator><pubDate>Mon, 06 Nov 2023 19:06:48 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Sun, 05 Nov 2023 17:22:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bouleetbil" aria-label="Profile: Bouleetbil">@<bdi>Bouleetbil</bdi></a></p>
<p dir="auto">Thats amazing of you. I hope this get adopted. I will lean in to it a bit later.</p>
<p dir="auto">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.</p>
<p dir="auto">question nr two: Have you tried something more exotic, like Brave or Libre office?</p>
]]></description><link>https://forums.ubports.com/post/76565</link><guid isPermaLink="true">https://forums.ubports.com/post/76565</guid><dc:creator><![CDATA[Rinkeby]]></dc:creator><pubDate>Sun, 05 Nov 2023 17:22:35 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Sun, 05 Nov 2023 16:37:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rinkeby" aria-label="Profile: Rinkeby">@<bdi>Rinkeby</bdi></a><br />
Hi, I've created a repo gitlab for install chroot debian<br />
<a href="https://gitlab.com/bouleetbil/ubports-scripts#installation" rel="nofollow ugc">https://gitlab.com/bouleetbil/ubports-scripts#installation</a></p>
<p dir="auto">it provided a systemd service for mount debian chroot <a href="https://gitlab.com/bouleetbil/ubports-scripts/-/blob/main/.config/systemd/user/debian-mount.service?ref_type=heads" rel="nofollow ugc">https://gitlab.com/bouleetbil/ubports-scripts/-/blob/main/.config/systemd/user/debian-mount.service?ref_type=heads</a></p>
<p dir="auto">After you can create some alias</p>
<pre><code>#debian chroot
alias debian='/home/phablet/bin/debian-chroot.sh /bin/bash --login'
alias firefox='/home/phablet/bin/debian-chroot.sh firefox'

</code></pre>
]]></description><link>https://forums.ubports.com/post/76563</link><guid isPermaLink="true">https://forums.ubports.com/post/76563</guid><dc:creator><![CDATA[Bouleetbil]]></dc:creator><pubDate>Sun, 05 Nov 2023 16:37:12 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Thu, 02 Nov 2023 17:49:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bouleetbil" aria-label="Profile: Bouleetbil">@<bdi>Bouleetbil</bdi></a></p>
<p dir="auto">Hi,</p>
<p dir="auto">So I tried this, But</p>
<p dir="auto">sleep 5<br />
umount ${MCHRDIR}/dev/shm<br />
umount ${MCHRDIR}/var/run/dbus/<br />
umount ${MCHRDIR}/run/user/32011</p>
<p dir="auto">umount ${MCHRDIR}/run<br />
umount ${MCHRDIR}/sys<br />
umount ${MCHRDIR}/proc<br />
umount ${MCHRDIR}/dev/pts<br />
umount ${MCHRDIR}/dev<br />
umount ${MCHRDIR}/tmp</p>
<p dir="auto">part seems problematic as I have to be a superuser. And I dont know thte command how to start anything from terminal.</p>
<p dir="auto">Any ideas?</p>
]]></description><link>https://forums.ubports.com/post/76510</link><guid isPermaLink="true">https://forums.ubports.com/post/76510</guid><dc:creator><![CDATA[Rinkeby]]></dc:creator><pubDate>Thu, 02 Nov 2023 17:49:57 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Sun, 29 Oct 2023 22:00:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/moodroid" aria-label="Profile: moodroid">@<bdi>moodroid</bdi></a><br />
hello try to create chroot wirhout package and install packages manualy with apt</p>
<pre><code>mkdir -p /home/phablet/Documents/debian
sudo debootstrap \
--arch arm64 \
bookworm \
/home/phablet/Documents/debian \
http://deb.debian.org/debian
</code></pre>
]]></description><link>https://forums.ubports.com/post/76406</link><guid isPermaLink="true">https://forums.ubports.com/post/76406</guid><dc:creator><![CDATA[Bouleetbil]]></dc:creator><pubDate>Sun, 29 Oct 2023 22:00:26 GMT</pubDate></item><item><title><![CDATA[Reply to Howto : chroot debian with X support instead libertine ubuntu on Sun, 29 Oct 2023 10:25:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/bouleetbil" aria-label="Profile: Bouleetbil">@<bdi>Bouleetbil</bdi></a> - thanks for this. I'm also using a Pixel 3a (Focal) and thought I'd give this a try, but it doesn't seem to be working for me.</p>
<p dir="auto">After entering the first block of code (Create chroot), it was busy doing stuff for about 10 mins, but then eventually failed with:</p>
<pre><code>W: Failure while configuring base packages.  This will be re-attempted up to five times.
W: See /home/phablet/Documents/debian/debootstrap/debootstrap.log for details (possibly the package dconf-service is at fault)
</code></pre>
<p dir="auto">Looking thorugh the log file I just see lots of dependency errors, e.g.</p>
<pre><code>dpkg: error processing package firefox-esr (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 dconf-service
 dconf-gsettings-backend:arm64
 libgtk-3-common
 libgtk-3-0:arm64
 chromium
 maliit-inputcontext-gtk3
 firefox-esr
</code></pre>
<p dir="auto">Any ideas?</p>
<p dir="auto">Thanks,</p>
]]></description><link>https://forums.ubports.com/post/76398</link><guid isPermaLink="true">https://forums.ubports.com/post/76398</guid><dc:creator><![CDATA[moodroid]]></dc:creator><pubDate>Sun, 29 Oct 2023 10:25:18 GMT</pubDate></item></channel></rss>