It has come to notice that the devs of the Linux proot-distro has decided to hold gvfs-daemons and udisks2 by default on Termux, although I don't know why this was done but what I do know is that gvfs-daemons is needed for the installation of a desktop environment in a Linux operating system, so what I'm going to do in this article is to show you how to rewrite the ubuntu installation script and install it without the gvfs-daemons error.
NOTE : you need to watch the video at the end of this article to fully understand this article and how to use it
Prerequisites :
procedures to install ubuntu:
after installing the Termux application on your Android phone, we launch the app and first we upgrade the app repositories, to do that type the command- apt update && apt upgrade
as we've talked about in our previous blog tutorials, one of the best ways to install Linux distros on Termux is by using proot-distro, to install proot-distro type the command:- apt install proot-distro
Before proceeding with the installation of Ubuntu we need to manually configure the installation script of Ubuntu and release gvfs-daemons, to do that use the commands below- cd $PREFIX/etc/proot-distro/
Now we re-write the ubuntu installation script to do that type the command nano ubuntu.sh and then you erase gvfs-daemons From the hold comments in the installation script. Just as shown in the image below.
Ubuntu installation script |
now you install Ubuntu by typing the command :
- proot-distro install ubuntu
- proot-distro login ubuntu
- apt update
After the repositories has been updated it is important to install sudo and nano text editor for the sake of future use and for the sake of those that's going to be creating user accounts on Termux, to do that use the command
- apt install sudo nano
Now you're good to go with your desktop environment usage.
Watch the video here:
Tags
debian Linux
Linux
Linux desktop
Linux terminal
Linux tutorial
terminal
termux
termux tutorial
Termux tutorials
Ubuntu
Ubuntu desktop