How to install LINUX on ANDROID with Termux X11 - VS Code on Android - Full Android Desktop setup!
Vložit
- čas přidán 25. 08. 2024
- [Videos]
- How to install and configure Termux X11 with XFCE4: • How to install Termux ...
- How to install termux: • How to install Termux ...
------------------------
[Links]
- Neon theme backup with everything configured (ready to restore and run): mega.nz/file/w...
- My repo with info about Termux and Linux Desktops (where you have to download the scripts): github.com/Lin...
Don't forget to modify the username in the script you downloaded with the username you created :)
- Sweet theme: github.com/Eli...
- Candy icons: www.xfce-look....
- Install Nerd Font on Debian: medium.com/the....
- Color schemes for the terminal: github.com/Gog...
------------------------
[Music]
🔻
"Artificial.Music - And So It Begins [Lo-fi]" is under a Creative Commons license (CC-BY) 3.0
Music provided by BreakingCopyright: • [No Copyright Music] A...
"AERØHEAD - Path Of The Fireflies" está bajo una licencia Creative Commons (CC BY-SA 3.0)
Música promocionada por BreakingCopyright: bit.ly/b-path-...
🔺
dude when I want to access files forged with files on my phone through xfce4 it gives me a permission denied error I want to access storage how can I grant this permission
Check the apps permissions and allow the storage one. But from proot you only can access your files if you share the folder when running the proot-distro login command
Pls how can I do it ??@@LinuxDroidMaster
Não consigo instalar termux x11 no meu android 12 tem alguma dica?
What is the problem? You can join my discord or Telegram and share some screenshots to see what happens
How do i install apps like vlc in it? I used the backup and now i want to install other applications in this, is that possible?
Hi! In Debian systems you can use "sudo apt install" to install anything you want. For VLC try "sudo apt install vlc-qt". I recommend you taking a look at this video (it is for Termux native but can help you understanding the process): czcams.com/video/JCDAGNiuy3o/video.htmlsi=i4XLY1EK9P1g3xdn
Nice dude 👍
thanks!
"Restore pages? Chromium didn't shut down correctly "
How to fix this?
That appears when you close Chromium without closing everything but it is not a big issue
I installed chromium on my debian distro, it will not run unless with the --no-sandbox parameter, but it never saves my google user and password, why is that?
Is there a fix or a workaround solution?
I never save credentials on the browser so not sure about the issue. In proot environments you need to use --no-sandbox for chromium and for vs code too
@@LinuxDroidMaster is there a way I can launch the chromium without the --no-sandbox???
How do I fix the pulseaudio problem?
Install pulseaudio in Termux (not proot) and run the desktop with my script, that should fix the audio
Getting this: failed to execute child process "dbus-launch" (no such file or directory)
have attempted "pkg install dbus-x11" and "apt install dbus-x11" but is comes back as "unable to locate dbus-x11"
Did you install all this packages?
pkg update
pkg install x11-repo
pkg install termux-x11-nightly
pkg install pulseaudio
Take a look here for the steps: github.com/LinuxDroidMaster/Termux-Desktops/tree/main?tab=readme-ov-file#-running-the-desktops-for-use-with-termux-x11-
@@LinuxDroidMaster All except for pkg update and pkg install pulseaudio. Will try make adjustments and try again. Thanks for responding.
@@LazyPCRehablet me know if you are able to fix it 😊
It's "pkg install dbus"
I have directly downloaded the url of "Neon theme backup with everything configured" of Mega website, and applied it. However, its dbus and pulseaudio was not active, but also solved it by installing them. I also added a new user like you added on your other video. And texted it under of User privilege specification into etc/sudoers like you did, but i didn't delete droidmaster user.
I kept it like this:
# User privilege specification
root ALL=(ALL: ALL) ALL
droidmaster ALL=(ALL:ALL) ALL
my_username ALL=(ALL:ALL) ALL
Now my question is, how to switch user from the Desktop's right-top corner menu. I click the droidmaster username and open the menu, then i click on "Switch User" but it doesn't work. Can you inform me about this. Thank you.
Another option is i will login Debian on Termux without run Debian directly, then i will login my username "su - my_username", and i will install "tightvncserver" and by that way i will open desktop on my account. But i am afraid that it will damage vnc log files that you configured.
Hi to login into the desktop modify where it says "droidmaster" in the start.... script and you should be good to go
How to restore and run, please tell steps and command
I have a video about restoring and backing up proot-distros: czcams.com/video/BaujX4Rg89c/video.html
Hey its crashs in every 30 sec
Check if you have to disable phantom processes czcams.com/video/1Vtxi7TxxlE/video.html
From all you tuber on this topics your the best 😂❤
Thanks a lot!
You use usb hub for connect keyboard and mouse? Or Bluetooth?
I use bluetooth devices. I have a foldable keyboard + track pad and a bluetooth mouse
@@LinuxDroidMaster may you share which model?
Please help me, if I try to install chromium it will crash
Try with firefox to check that you can install packages and they run fine first. Then make sure you are using the --no-sandbox tag
@@LinuxDroidMaster I mistyped the command, thanks I fixed it already
So umm, everything was working fine up until I wanted to restart the xfce4 server, then I remembered that I created it using a different video u made. Now whenever I try to restart it, it trys to open then gives up. What do I do?
What do you mean with restart the xfce4 server? You only need to run the start... command and the x11 sessions should be killed and then started
How can I download Tor Browser on termux NATIVE
I explain here how you can check if there is a program in Termux: czcams.com/video/JCDAGNiuy3o/video.htmlfeature=shared
hi , i used the first method but i cant install using the terminal due to password is incorrect
Did you try with "droidmaster" as password?
How do I install pip install bs4?
Did you install python and pip?
Bro window buttons doesn't work on chromium or firefox
in all the other apps works? sounds weird maybe something with the resolution?
@@LinuxDroidMaster in other apps works but firefox and chromium black window buttons
@@revonedits Are you running them with hardware acceleration or something?
@@LinuxDroidMaster something idk, i dont use hardware acceleration.
Does x86 program run on this?
It is possible by installing wine/box64 I plan to do a video about it
@@LinuxDroidMaster Great!
@@LinuxDroidMaster
I thought wine could only run arm windows apps on termux..
Excited for the video anyways .
hi do you think you can figure out how to install flutter sdk in this? im very new to linux env and I cannot find anything that works
Hi! I would try to look for "how to install flutter" on the raspberry pi and see if you can find something that works
I can't use live server in vs code
How to install chrome in Debian
I explain in the video how to install chrome (chromium, the usual Chrome is not available for ARM devices). About Live server I haven't used it but what is the problem?
I installed Debian from the backup, and when I install a package with sudo it asks for the droidmaster user password. How do I change the sudo user?
The password is droidmaster in case you need it. To create an user you can do it like I explain on the video (adduser command). Then modify the startxfce4 script and replace "droidmaster" with your username
@LinuxDroidMaster thanks bro! save from brazil
@@LinuxDroidMaster you mean where it says "# and start with user droid master."?
I followed your arch install guide made a user, and password. Exited download the script edited and still it enters into droidmaster
@@optalgin2371 The last long line at the end it has "droidmaster" in it (something like su - droidmaster -c "env DISPLAY=:0 startxfce4"')
How to open keyboard in Android while in termux x11 and my debian ui crashes with signal 9, any solution. I'm using Android 12
To solve the signal 9 error check this: czcams.com/video/1Vtxi7TxxlE/video.html - for the keyboard I think you can configure it in the Termux X11 preferences
For the keyboard...... tap your phones back button. The one at the bottom of your screen next to the home button
@@LinuxDroidMaster is there an alternative solution to the signal 9 issue?
My phone wifi doesn't work.....if no other solution I'll have to wait to replace my phone
You can do with ADB using another device
Nice
What happens when u close the app.
It runs in background until you close the app from background apps. If you close it from background apps you just close everything
Love your videos, but I haven't understood one thing. How I change user? I've created user, added to sudo group but it still loads into droidmaster. In the git it says to change droidmaster with the user name, but in the script you can't find it
Could you help a brother
Thanks! In the start script check the line that start the desktop environment. It has the user droidmaster written and you have to change it (the line is longer than the size of the screen so you need to move the cursor through the line)
@@LinuxDroidMaster finally made it! One last thing when locking screen and trying to log back it says authentication failed... I did add a password for my user I also changed the user in the script.
I tried to sudo passwd inside the graphical interface changed successfully but when trying to unlock it still says authentication failed.
What's the password or how can I change it?
@@optalgin2371 the default password for all my videos is droidmaster in case you want to check it but probably it is more related to that the lock screen doesn't work properly (to be honest I have never used it inside a proot environment, I just minimize the screen or close Termux)
@@LinuxDroidMaster But when you come back to the screen it prompts the login menu
@@LinuxDroidMaster
I installed artix instead of ArchARM as from my understanding it uses full hardware unlike archarm, I thought maybe this way I could install obsidian.
Since this version should be capable but since fuse dev mounting and access is denied you can't install it.
Also I think artix eats faster the battery although it might be cause of heavy chat with GPT and downloading and installing stuff heavily today. I'll check it and update here.
Pros:
- crispier image and font
- Minimal stutter on CZcams
- No noticeable performance/responsiveness lag(all smooth)
- comes without Konqueror
- Less overhead of different tools/programs.
1. Every time the vnc server (Termux:X11) goes to login screen, the password is not correct when logging back, even if you choose to lock screen from panel logout menu, how can I fix that?
What I did: I made a new account and gave it sudo and added password. Every command I run inside the vnc (Termux:X11) is working, only when I lock the screen or it locks by itself, I can't log back and need to restart the .sh script.
I suspect it's the DPMS
[---_Xlib:__extension_"DPMS"_missing_on display_":0.0".---] ("_" because youtube strike this comment)
Or maybe because .face is missing, I also couldn't find the "user management" or "users" tool in settings, so maybe it's that.
2. I saw you commented on installing vscode with no sandbox flag, I managed to run vscode server via browser before on ArchARM and it was okay. Is running vscode in no sandbox lags?
is it require root?
No, you don't need root :)
hey droid sorry to disturb you but i have a problem pls help me umm when i am trying to install chromium manually its getting crashed and shows x11 not connected . my device is lenovo tab m10 hd processor octa core mediatek android 10 pls help me 😢😢.love form india ❤❤❤❤❤
another thing to mention the whole termux closes or crashes and pls can to make a video on how to improve a normal device using ssd and raspberry pi 0 w
Take a look at this because probably you need to disable phantom processes: czcams.com/video/1Vtxi7TxxlE/video.htmlfeature=shared
@@LinuxDroidMaster but my Device uses android 10 as its soft ware now what can i do and also i have installed but it also crashes
In Android 10 you won't have the phantom processes so it's weird that termux crashes. Can you give more info about any error that may appear in termux?
Can you teach me how to install xampp server on it ❤
I would like to do a video about this topic (probably next week or the following)
@@LinuxDroidMaster thank you so much I follow all your instructions and it's work, you're good, I highly recommend it, keep it up❤️
Nice vid👍I watched the whole video but I did use the restore option, what is the root password for sudo?
Hi! the password is droidmaster
@@LinuxDroidMaster thank u 👍
@@LinuxDroidMaster I tried to use pi-apps store on it but it always fails to install anything bcz of some Internet error, I've had it working way back then on my older phone.
And Internet is working since Firefox and Chromium do work
I've used the pi app store a bit but I've only been able to install a few things. Anyway I don't recommend using it, it's better to try to find the apps one by one and try if they have a working ARM installer.
@@LinuxDroidMaster ok thx, I just joined ur server, maybe a channel with all apps that do work well and are recommended would be cool, i probably could help with that 👍
Bro what is sudo password
For all my environments it is droidmaster
the UI environment constantly crashing and say "not connected". I'm using on a Tab S9 Ultra, which has Snapdragon 8 gen 2 and 12GB RAM. Do you know how to fix it?
Did you disable phantom processes? czcams.com/video/1Vtxi7TxxlE/video.htmlsi=8WT1VvkeRLTA4vc_
I cant run chromium, frrr
What problem are you having? Are you using the --no-sandbox?
@@LinuxDroidMaster Do I need "--no-sandbox" after "chromium" to use it?
@@khahnguyn In proot environments yess
@@LinuxDroidMaster Can you tell me how to set the default user for proot?
@@khahnguyn I think I explain in the video and the repo, use the commands to setup a user and change the startscript with that username
I did that with Icewm
I didn't know wcewm, I will take a look :)
when i type in "ls" after "termux-setup-storage" I get "startxcfe4_debian.sh storage startxfce4_debian.sh.1"
I don't know what to do with that. Is there any fix?
You have 2 scripts called startxcfe4_debian.sh you can delete the second one with `rm startxcfe4_debian.sh.1`. Then you can just run the script with `./startxcfe4_debian.sh`
@@LinuxDroidMaster ill try this after work. thanks.
Thanks. Got it. Typing it in wasn't working so I pasted it and it worked. (Probably some user error on my part)
Last questions:
1) I don't have audio like you do, is there a process I can run to get that? Update: I can read. read the comments. got this figure out.
2) How do you exit termux? I've just been closing it, but I've also killed the processes in the main termux app, but the desktop ui stays open. Is there a better way to do this?
@@blackmanwhitesuit I just close termux from the background apps too, the desktop ui should be closed after removing Termux from background apps (or force stop it)
can you show me installing hyprland on termux?
It's a topic I have pending. Hyperland looks cool but I need to take a look at it
@@LinuxDroidMaster It seems like no one has ever provided a tutorial on CZcams, or is it impossible to do?
@@hasbinabhani5380 I would like to try it and see if it's possible. There are not that much tutorials for Termux to be honest, thats why I started this channel