Hello everyone welcome to my Blog, in this Tutorial, I'm gonna show you how to install Ubuntu with the LXDE desktop environment On your Android phone, I'm gonna take you through the Installation and setup procedures in this article so make sure you read till the end and watch the video at the end of the article to guide yourself and finally be able to do this yourself on your Android phone.
Prerequisites:
Procedures:
Launch your termux terminal and update Termux packages with the command
- Pkg update
- apt install proot-distro
- proot-distro install ubuntu
- proot-distro login ubuntu
Now we're going to update and upgrade Ubuntu repositories, you can do that with the command:
- apt update && apt upgrade
- apt install sudo nano
- apt purge gvfs-daemons gvfs-libs gvfs
- apt install lxde lxde-core gedit tigervnc-standalone-server -y
- apt install qterminal dbus-x11
Now after the above packages has been installed, the next thing we're going to do is of course, login to our Desktop interface, due to lag I usually get from the usual vncserver method, I prefer logging in using another method that I call the TCP method that I'm gonna show you in the next step.
Logging In To desktop environment using (TCP method)
Open a new terminal to Termux and update Termux packages using the command
- pkg update
After updating packages, the next thing you'd do is install x11-repo. You can do that with the command
- pkg install x11-repo
Aftet installing x11-repo, you'd install tigervnc and an X server. To do that use the command
- pkg install tigervnc xorg-xhost
Now launch vncserver on Termux with the command
- vncserver -geometry 1600x700 -listen tcp :1
After launching the sever we're going to make it available for connection on any localhost server using the command
- DISPLAY=:1 xhost +
No switch back toy your Ubuntu Linux session and connect your LXDE to the local server using the command.
DISPLAY=:1 dbus-launch lxsession
Now launch your Vnc Application and connect to your LXDE desktop the usual way. And if you have any question, feel free to let me know in the comments section below.
Watch the video here:
Tags
Linux
Linux terminal
Linux Tutorials
LXDE
LXDE desktop
terminal
termux
termux tutorial
Ubuntu
Ubuntu desktop
Bro screen block color show
ReplyDelete