[Lenovo Yoga Book Guides, News, & Discussion] Tiggi2017:
Hello community!

For those who are interested in installing a linux system (debian) on a NON-ROOTED Android device:

I managed to install GnuRoot referring to this tutorial:

https://www.xda-developers.com/guid...a-gnulinux-environment-on-any-android-device/

At first i had graphical errors when starting LXDE (like missing icons) due to missing libraries during the installation process.

I show you the steps for installing it, referring to above tutorial, but i added some new terminal commands, because there were libraries and dependencies missing when installing LXDE.

1) First install GnuRoot and XSDL server from playstore.

2) Let GnuRoot start and doing its installation. Then type in following terminal commands:

apt-get update

apt-get upgrade

dpkg-reconfigure tzdata <----- if you wanna change your locales

apt-get install libffi6 <------ this is one of the missing libraries, otherwise LXDE will have errors during its installation

apt-get install execstack <------ this is one of the missing libraries, otherwise LXDE will have errors during its installation

execstack -c /usr/lib/i386-linux-gnu/libffi.so.6 <------ this is one of the missing libraries, otherwise LXDE will have errors during its installation

apt-get install lxde-core <------- alternatively apt-get install lxde (for full LXDE with its apps)

3) start XSDL and make your configs (resolution etc.), let it run in the background

4) now type in GnuRoot following terminal commands:

export DISPLAY=:0 PULSE_SERVER=tcp:127.0.0.1:4712

startlxde &

5) switch back to XSDL and then wait until the GUI (aka LXDE) starts

It still shows some bugs like "No Session for PID # xxxx" whenever i log in. So i hope that i can get help to install it better (correctly) from the community.

Alternatively:

In the last few days i managed to let GnuRoot Debian run LXDE and connect to it via VNC viewer by running a VNC server locally. So if you dont want to use XDSL, but VNC instead, you can follow these instructions:

Download "GnuRoot Debian" and "VNC Viewer - Remote Desktop" in playstore.

Start GnuRoot, let it do its things and then type in the these shell commands:

For installing LXDE:

apt-get update

apt-get install apt-utils

apt-get install dialog

apt-get install sudo

sudo apt-get install libffi6

sudo apt-get install execstack

sudo execstack -c /usr/lib/i386-linux-gnu/libffi.so.6

sudo apt-get upgrade

sudo apt-get install lxde-core

For installing VNC-Server:

sudo apt-get install tightvncserver

su - root

tightvncserver :1 (<---- just start the VNC-Server in order to create the xstartup-file)

sudo apt-get install nano

nano ~/.vnc/xstartup

an editor will show up and add this line at the bottom of the xstartup-file

/usr/bin/lxsession -s LXDE &

save the file and continue with these commands:

vncserver -kill :1 (<--- kill the server)

tightvncserver :1 -geometry 1280x720 -depth 24 (<--- start it again with this resolution, you can choose any resolution you want)

Now open VNC-Viewer and create a new item in order to connect to the VNC-Server

type in this adress: localhost:1

There you go... you are connected to the VNC-Server running by GnuRoot Debian. Have fun... I installed LibreOffice and Gimp as desktop solution. Working great with the Halo keyboard and with a bluetooth mouse :)