View Single Post
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#149
Originally Posted by preflex View Post
You can find some helper scripts here:
https://github.com/Preflex/easy-chroot

ManChroot.sh will give you a root shell inside the chroot.
DeskChroot.sh will launch a XFCE4 session.

You may notice errors about mount points in /home/nemo not being found. If you would like to share these directories with the chroot, create those directories inside the chroot.

You can find the preconfigured Manjaro rootfs here: https://github.com/Preflex/easy-chroot/releases

To use with the helper scripts, unpack it in /opt/easychroot/Manjaro

This rootfs contains helper scripts in /usr/share/easychroot/scripts/
The start_xwayland.sh contains hardcoded values for my Nexus 4's screen. If you are using a different device, you will need to edit the last line of this script, substituting the height and width values for your device.
Great work there. Tested now and it worked on my Nexus 5 too. Running 2.0.4.13 SFOS. But i get an errors when starting some apps inside manjaro. Chromium does not start too.

UPDATE.
nevermind got it fixed.
if anyone needs you must run this command to fix permissions and run chromium
sudo chmod 1777 /dev/shm

You had little error in usr/share/easychroot/scripts/start_desktop.sh

was !#/bin/bash must be #!/bin/bash

Last edited by matemana; 2017-03-06 at 20:32.
 

The Following 4 Users Say Thank You to matemana For This Useful Post: