Hello friends, In this article we will see how we can install ubuntu gnome desktop on our android device without having root access .
Ubuntu GNOME is a one of the most popular flavor of ubuntu . It is easy-to-use, user-friendly and easy for beginners . You can get more information about ubuntu GNOME desktop from here .
Required Application
Installation
So first we have to update our termux repositories and install proot-distro .
pkg update && pkg install proot-distro
Next we have to install ubuntu .
proot-distro install ubuntu
Now login to ubuntu .
proot-distro install ubuntu
Now, first we have to update its repositories so that we can install packages .
apt update
We have to add a temporary user because you may harm your system if you don't have better knowledge about it .
adduser {username}
Now we have to install sudo and nano so that we can get superuser access in temporary user .
apt install sudo nano -y
Now we have to configure superuser permissions for our user.
nano /etc/sudoers
Now you we see a line starting with root just copy that line and just after that line paste the text that you copied and replace root with your username.
Once you have done that just save it by ctrl + o and exit by ctrl + x
Now login to your temporary user.
su {username}
Now we have to install GNOME desktop environment and tightvncserver.
sudo apt install -y ubuntu-gnome-deskop tightvncserver
Installing some required packages.
sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
Once it has installed then start vncserver and setup your password for vnc.
vncserver
Now we have to configure xstartup file.
nano .vnc/xstartup
clear all the line in it and paste the following.
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &
export XKL_XMODMAP_DISABLE=1
export XDG_CURRENT_DESKTOP="GNOME-Flashback:GNOME"
export XDG_MENU_PREFIX="gnome-flashback-"
gnome-session --session=gnome-flashback-metacity --disable-acceleration-check --debug &
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
Now stop vnc server.
vncserver -kill :1
Start dbus service
sudo service dbus start
Now start vncserver again.
vncserver -geometry 1920x1080
You can change 1920x1080 according to your device .
Now open VNC viewer app and create a connection with localhost:1 and connect and enjoy gnome desktop .
Here is the complete video tutorial :