How to install ubuntu 21.04 mate desktop on android .



Hello friends, In this guide I will tell you how you can install ubuntu 21.04 (latest) on your android device with mate-desktop and without rooting your device.

Ubuntu mate desktop  is one of the best desktop among ubuntu different desktop flavors . It is easy to use with tradition look and best for daily use .

Required Applications 

Installation

So, we are going to use proot to install ubuntu on our device . You can get information about proot here . So first of all we have to install proot-distro.
pkg update -y && pkg install proot-distro -y 

Now we have to install ubuntu using proot-distro.
proot-distro install ubuntu 

Once you have installed it just login.
 proot-distro login ubuntu 

Now we have to update our repositories and install sudo and nano.
 apt update && apt install sudo nano -y 

Now we have create a user for our distro . You can go through root user but you may harm your system if you don't have knowledge so better add a temporary user.
 adduser {username} 

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  
 
Now login to your temporary user.
su {username}

Now we have to install mate desktop environment and tightvncserver.
 sudo apt install -y ubuntu-mate-deskop tightvncserver 

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.
#!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey
x-window-manager & # Fix to make GNOME work export XKL_XMODMAP_DISABLE=1 /etc/X11/Xsession mate-session &

Now stop vnc server.
vncserver -kill :1 

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 to it.

Here is the complete video tutorial :

5 Comments

  1. Mano como instala wine? Fica dando erro de arm64 nao suport

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. The following packages have unmet dependencies: gvfs : Depends: gvfs-daemons (>= 1.48.2-0ubuntu1) but 1.48.1-4 is to be installed gvfs-daemons : Depends: gvfs-common (= 1.48.1-4) but 1.48.2-0ubuntu1 is to be installed Depends: gvfs-libs (= 1.48.1-4) but 1.48.2-0ubuntu1 is to be installed mate-desktop-environment-core : Depends: gvfs-backends but it is not installable E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

    ReplyDelete
    Replies
    1. Aijaz, I had the same problem. I was able to download all the GVFS .deb files from here:
      https://ubuntu.pkgs.org/22.04/ubuntu-updates-main-arm64/
      Just install all of them, I dont remember the order.
      I just wget it and use the dpkg to install the deb files.

      Delete
Post a Comment
Previous Post Next Post