Summary of how to bring up a Linux desktop in UserLAnd: From terminal (can use 2 finger pinch to zoom): sudo apt update -y sudo apt dist-upgrade -y sudo apt install dialog -y sudo apt install the following; task-lxde-desktop, x11-xserver-utils, dbus-x11, openbox-lxde-session, wm-icons, nano. In /usr/bin, create the following 2 go scripts. Be sure to make the scripts executable (chmod +x gol): /usr/bin/gol openbox-lxde &> /dev/null & sleep 5 dbus-launch pcmanfm --desktop &> /dev/null & lxpanel &> /dev/null & /usr/bin/gosyn (when using search from the toolbar, searching by Name will run faster, searching by Description and Name will run slower) xhost + && sudo synaptic && xhost - Start up desktop, first time will mess up. Close UserLAnd, stop the session, and start up the desktop again: gol To fix synaptic: Change launch command for synaptic to gosyn. Most components in LXDE can be configured by right clicking on them (Next video will go over how to configure the desktop). Questions are welcome and encouraged. Due to the design of UA-cam's comment section, posting questions under the pinned comment or under another user's comment makes it difficult for me to find and answer questions. Please do not post your questions under the pinned comment or under other user's questions. Please create a new comment.
I had this old tablet just laying around,and wanted to see if Linux could be installed . And then I came across your video and you made the process so easy . Thank You...
i came here after trying to figure out an arch desktop install lol (bricked it xD). im a bit of a linux noob and im just trying to use linux so i can use some desktop apps on the go. this is genuinely helpful and its nice to have someone explain what all the little bits of the command mean instead of just telling me to enter them.
Dear Ruth, at 2:01 in your video, you received the message: "Processing was halted because there were too many errors." Is it advisable to proceed with installing additional components despite this error message? Thank you.
Great video! Thank you! I had too many errors while installing the desktop: "Processing was halted because there were too many errors." I am using an old Samsung Galaxy S4.
Those errors are normal for Linux on Android and can be ignored. The same error message can be seen in the video 2:01 . We are doing supernatural things with Android beyond what it was designed to do. ------------------------------- For your convenience, here's the complete install instructions. Install UserLAnd from the Play Store, select Debian. Grant permissions Select Minimal desktop environment Select Graphical connection type, click CONTINUE Graphics Settings, click CONTINUE Debian will install, and a Linux terminal will open From terminal (can use 2 finger pinch to zoom): Dialog will allow installs to ask a question task-lxde-desktop will ask for keyboard layout. sudo apt update -y sudo apt dist-upgrade -y sudo apt install dialog -y sudo apt install task-lxde-desktop -y sudo apt install x11-xserver-utils -y sudo apt install dbus-x11 -y sudo apt install openbox-lxde-session -y sudo apt install wm-icons -y sudo apt install nano -y Create the following 2 go scripts with nano: nano /usr/bin/gol openbox-lxde &> /dev/null & sleep 5 dbus-launch pcmanfm --desktop &> /dev/null & lxpanel &> /dev/null & Ctrl-O, Enter, Ctrl-X to save chmod +x /usr/bin/gol nano /usr/bin/gosyn xhost + && sudo synaptic && xhost - Ctrl-O, Enter, Ctrl-X to save chmod +x /usr/bin/gosyn Start up desktop, first time will mess up. Close UserLAnd, stop the session, and start up the desktop again: gol To fix synaptic (when using search from the toolbar, searching by Name will run faster, searching by Description and Name will run slower): Change launch command for synaptic to gosyn.
I followed everything almost exactly as described and doesn't seem to barely work. The only difference is that I chose Ubuntu. I don't know if that's the problem. It installed devian anyway, opened the desktop and crashed again and again when I tried to do anything like trying and find a way to correct the size of the desktop. which was set for a big TV or beamer or similar. Also the system was giving me messages of threats detected and recommending to reboot. It's a brand new OnePlus pad 2. Maybe it's that the security set from factory or something. No idea. Any advice maybe? Any way thanks very much. A Linux person who speaks human. What a find 👍
The crashing may be the result of a known app killer issue starting with Android 12, also known as the Phantom Process Killer. As of Android 14, there is a new option in Android Settings for disabling the Phantom Process Killer (Android Settings > System > Developer options > in the Apps section enable the Disable child process restrictions option). Here's a video that explains the issue: ua-cam.com/video/N5Q5J36wIkc/v-deo.html -------------------- Linux on Android - Adjust Resolution video: ua-cam.com/video/uSQS8kZV_UA/v-deo.html -------------------- You can try posting an issue on UserLAnd's GitHub: github.com/CypherpunkArmory/UserLAnd/issues -------------------- Google is in the process of merging Android and ChromeOS VMs and hardware. This may provide better solutions in the future. www.androidauthority.com/chrome-os-running-on-pixel-3442496/ -------------------- For your convenience here's the complete install instructions: Install UserLAnd from the Play Store, select Debian. Grant permissions Select Minimal desktop environment Select Graphical connection type, click CONTINUE Graphics Settings, click CONTINUE Debian will install, and a Linux terminal will open From terminal (can use 2 finger pinch to zoom): Dialog will allow installs to ask a question task-lxde-desktop will ask for keyboard layout. sudo apt update -y sudo apt dist-upgrade -y sudo apt install dialog -y sudo apt install task-lxde-desktop -y sudo apt install x11-xserver-utils -y sudo apt install dbus-x11 -y sudo apt install openbox-lxde-session -y sudo apt install wm-icons -y sudo apt install nano -y Create the following 2 go scripts with nano: nano /usr/bin/gol openbox-lxde &> /dev/null & sleep 5 dbus-launch pcmanfm --desktop &> /dev/null & lxpanel &> /dev/null & Ctrl-O, Enter, Ctrl-X to save chmod +x /usr/bin/gol nano /usr/bin/gosyn xhost + && sudo synaptic && xhost - Ctrl-O, Enter, Ctrl-X to save chmod +x /usr/bin/gosyn Start up desktop, first time will mess up. Close UserLAnd, stop the session, and start up the desktop again: gol To fix synaptic (when using search from the toolbar, searching by Name will run faster, searching by Description and Name will run slower): Change launch command for synaptic to gosyn.
@@ruthake Independently of if it works or not, thank you so much for taking the time to answer, even more in such a comprehensive, complete and understandable way. Just wow. "Extra mile" comes to mind. I'll try all that today and we'll see. Have a nice weekend.
Hello Ruth this is the response I get trying to open synaptic package manager "Error accessing system permissions: error initializing authority: could not connect: no such file or directory" why is this happening and what can I do? please reply.
It sounds like an issue with PolKit. I recommend the following script and changing the Synaptic launch command. From a terminal: nano /usr/bin/gosyn xhost + && sudo synaptic && xhost - Ctrl-O, Enter, Ctrl-X to save chmod +x /usr/bin/gosyn To fix synaptic (when using search from the toolbar, searching by Name will run faster, searching by Description and Name will run slower): Menu > Preferences > right click Synaptic Package Manager > select Properties > go to the Desktop Entry tab and change the Command to gosyn.
I recommend the following gosyn script to run Synaptic (5:43). From a terminal: nano /usr/bin/gosyn xhost + && sudo synaptic && xhost - Ctrl-O, Enter, Ctrl-X to save chmod +x /usr/bin/gosyn To fix synaptic (when using search from the toolbar, searching by Name will run faster, searching by Description and Name will run slower): Change launch command for synaptic to gosyn (9:45). ---------------------- For your convenience, here are the complete instructions: Install UserLAnd from the Play Store, select Debian. Grant permissions Select Minimal desktop environment Select Graphical connection type, click CONTINUE Graphics Settings, click CONTINUE Debian will install, and a Linux terminal will open From terminal (can use 2 finger pinch to zoom): Dialog will allow installs to ask a question task-lxde-desktop will ask for keyboard layout. sudo apt update -y sudo apt dist-upgrade -y sudo apt install dialog -y sudo apt install task-lxde-desktop -y sudo apt install x11-xserver-utils -y sudo apt install dbus-x11 -y sudo apt install openbox-lxde-session -y sudo apt install wm-icons -y sudo apt install nano -y Create the following 2 go scripts with nano: nano /usr/bin/gol openbox-lxde &> /dev/null & sleep 5 dbus-launch pcmanfm --desktop &> /dev/null & lxpanel &> /dev/null & Ctrl-O, Enter, Ctrl-X to save chmod +x /usr/bin/gol nano /usr/bin/gosyn xhost + && sudo synaptic && xhost - Ctrl-O, Enter, Ctrl-X to save chmod +x /usr/bin/gosyn Start up desktop, first time will mess up. Close UserLAnd, stop the session, and start up the desktop again: gol To fix synaptic (when using search from the toolbar, searching by Name will run faster, searching by Description and Name will run slower): Change launch command for synaptic to gosyn.
What about gnome? Is it possible to run it with userland. By the way, great videos. You've made my dreams come true. I can use Linux on smartphone. Thanks
I am unaware of any way to run GNOME in UserLAnd at this time. IceWM is another desktop that does not appear to clash with LXDE. TWM is already preloaded in UserLAnd. The XFCE desktop runs well with Kali: IceWM: sudo apt install icewm icewm-session & XFCE With Kali: ua-cam.com/video/y5gyQJyCT58/v-deo.html Here's an ask Ubuntu link for configuring XFCE to look like GNOME: askubuntu.com/questions/1370627/can-i-configure-xfce-or-lxde-to-look-like-this-gnome-panel
Yes, UserLAnd automatically installs and uses the TWM desktop by default, so you can install firefox-esr and run Firefox by executing firefox-esr. You will need to understand the TWM desktop in order to use Firefox, please see the explanation below. There are quite a few UA-cams on TWM. Firefox Fix (ua-cam.com/video/wUNLF1KkoLg/v-deo.html ): Open Firefox and go to the URL about:config. Click Accept the Risk and Continue button. Enter sandbox into the search bar. For security.sandbox.content.tempDirSuffix, click the far right arrow to clear the value. Set any values with a number to 0 Set any true/false values to false. Restart Firefox. ------------------------------ If TWM is not configured, it will be difficult to use. I recommend starting with the following configuration which can be customized: Install: suckless-tools, x11-xserver-utils, nano, man, less, gdu, nitrogen ----------- Create the run command file TWMRC for TWM configuration: ~/.twmrc # Use Icon Manager as a Window List ShowIconManager IconifyByUnmapping # Desktop Right click launches Dmenu Button3 = : root : ! “dmenu_run -fn ‘Mono-20’ &> /dev/null &” Color { DefaultForeground "#FF0000" DefaultBackground "#3333AA" BorderColor "#000000" TitleForeground "#DDDDDD" TitleBackground "#3333AA" MenuForeground "#DCDCDC" MenuBackground "#494949" MenuBorderColor "#494949" MenuShadowColor "#FFFFFF" IconForeground "#DDDDDD" IconBackground "#3333AA" IconBorderColor "#FF0000" IconManagerForeground "#CCCCCC" IconManagerBackground "#111155" IconManagerHighlight "#FF0000" } ----------- Create ~/.Xresources (20 is the font size, set to the desired size): xterm*saveLines: 2000 xterm*loginShell: true xterm*selectToClipboard: true xterm*faceName: Monospace xterm*faceSize: 20 xterm*Foreground: SlateBlue1 xterm*Background: black xterm*pointerColor: red3 xterm*curosrColor: red3 ------------------------------ After creating the .twmrc and the .Xresources run the following 2 commands. xrdb configures xterm and sudo dpkg-reconfigure tzdata configures the system time: xrdb -merge ~/.Xresources sudo dpkg-reconfigure tzdata Disconnect from the session, Stop Session, and close UserLAnd. ------------------------------ Right click the desktop to run Dmenu. Dmenu is a horizontal scrolling menu that will appear at the top of the screen. The first time Dmenu is started, the menu will not be loaded, type any character such as the letter "a", press Enter, press Esc, and then right click on the desktop again. If the menu still does not appear, restart Linux. Dmenu will suggest apps as you type the name of an app. To scroll Dmenu, use the left and right arrow keys, to close Dmenu, press Esc. When a new window opens in TWM, position the window with the cursor and left click. To move a window, drag the top bar. To enlarge a window, double click the top right corner and on the second click, drag the corner toward the top right. To make a window smaller, double click the top right corner and on the second click, drag the the corner towards the top right and then drag the corner inwards. Nitrogen allows you to setup a wallpaper. To shut down, close any open apps (Ctrl-Q will often close an app), and be sure to Disconnect from the session, Stop Session, and close UserLAnd. TWM Links: www.cpcnw.co.uk/twm/twmrc.htm opensource.com/article/19/12/twm-linux-desktop wiki.archlinux.org/title/Twm
Based on your comment using dist-update, the command should be dist-upgrade: sudo apt dist-upgrade -y -------------------------- For your convenience, here's the complete install instructions: Install UserLAnd from the Play Store, select Debian. Grant permissions Select Minimal desktop environment Select Graphical connection type, click CONTINUE Graphics Settings, click CONTINUE Debian will install, and a Linux terminal will open From the terminal (can use 2 finger pinch to zoom): Dialog will allow installs to ask a question task-lxde-desktop will ask for keyboard layout. sudo apt update -y sudo apt dist-upgrade -y sudo apt install dialog -y sudo apt install task-lxde-desktop -y sudo apt install x11-xserver-utils -y sudo apt install dbus-x11 -y sudo apt install openbox-lxde-session -y sudo apt install wm-icons -y sudo apt install nano -y Create the following 2 go scripts with nano: nano /usr/bin/gol openbox-lxde &> /dev/null & sleep 5 dbus-launch pcmanfm --desktop &> /dev/null & lxpanel &> /dev/null & Ctrl-O, Enter, Ctrl-X to save chmod +x /usr/bin/gol nano /usr/bin/gosyn xhost + && sudo synaptic && xhost - Ctrl-O, Enter, Ctrl-X to save chmod +x /usr/bin/gosyn Start up desktop, first time will mess up. Close UserLAnd, stop the session, and start up the desktop again: gol To fix synaptic (when using search from the toolbar, searching by Name will run faster, searching by Description and Name will run slower): Change launch command for synaptic to gosyn.
UserLAnd is not dependent on developer options. UserLAnd has limited file and media access, and does not have the ability to modify the Android operating system. UserLAnd does not root the phone.
Cd " dosen't work, it doesn't let me exit the /user/bin mode and it also gives me error when i run "gol" it says "permission denied" even with root permission, any help please? I've got Android 13 if this helps...
I believe you entered user instead of usr. For convenience, here's a compact list of the instructions: Install UserLAnd from the Play Store, select Debian. Grant permissions Select Minimal desktop environment Select Graphical connection type, click CONTINUE Graphics Settings, click CONTINUE Debian will install, and a Linux terminal will open From terminal (can use 2 finger pinch to zoom): Dialog will allow installs to ask a question task-lxde-desktop will ask for keyboard layout. sudo apt update -y sudo apt dist-upgrade -y sudo apt install dialog -y sudo apt install task-lxde-desktop -y sudo apt install x11-xserver-utils -y sudo apt install dbus-x11 -y sudo apt install openbox-lxde-session -y sudo apt install wm-icons -y sudo apt install nano -y Create the following 2 go scripts: nano /usr/bin/gol openbox-lxde &> /dev/null & sleep 5 dbus-launch pcmanfm --desktop &> /dev/null & lxpanel &> /dev/null & Ctrl-O, Enter, Ctrl-X to exit. chmod +x /usr/bin/gol nano /usr/bin/gosyn xhost + && sudo synaptic && xhost - Ctrl-O, Enter, Ctrl-X to exit. chmod +x /usr/bin/gosyn Start up desktop, first time will mess up. Close UserLAnd, stop the session, and start up the desktop again: gol To fix synaptic (when using search from the toolbar, searching by Name will run faster, searching by Description and Name will run slower): Change launch command for synaptic to gosyn.
I have not used XFCE with Debian in UserLAnd. I believe that you are looking to install task-xfce-desktop. Kali Linux uses the XFCE desktop. You may be interested in my Kali Linux video for Android: ua-cam.com/video/y5gyQJyCT58/v-deo.html
Apologies, I appreciate that you brought this to my attention. The comment with the instructions are now pinned. Summary of how to bring up a Linux desktop in UserLAnd: From terminal (can use 2 finger pinch to zoom): sudo apt update -y sudo apt dist-upgrade -y sudo apt install dialog -y sudo apt install the following; task-lxde-desktop, x11-xserver-utils, dbus-x11, openbox-lxde-session, wm-icons, nano. In /usr/bin, create the following 2 go scripts. Be sure to make the scripts executable (chmod +x gol): /usr/bin/gol openbox-lxde &> /dev/null & sleep 5 dbus-launch pcmanfm --desktop &> /dev/null & lxpanel &> /dev/null & /usr/bin/gosyn (when using search from the toolbar, searching by Name will run faster, searching by Description and Name will run slower) xhost + && sudo synaptic && xhost - Start up desktop, first time will mess up. Close UserLAnd, stop the session, and start up the desktop again: gol To fix synaptic: Change launch command for synaptic to gosyn. Most components in LXDE can be configured by right clicking on them (Next video will go over how to configure the desktop).
@@ruthake I Really, thankful, you have a New Rookie subscriber, I'm learning Linux and people like you are amazing teacher , I follow you, Thank You ‼️❤️❤️
Here's some commands for displaying processor information (It will be an Intel/AMD or an Arm processor, and it will either be 32 bit or 64 bit): arch uname -a getconf LONG_BIT file /lib/systemd/systemd dpkg --print-architecture PRoot is a user-space implementation of chroot. This is used because Android users do not have root access necessary for chroot. User-space is where UserLAnd gets it's name from. For more details, you may be interested in this Arch article on PRoot: wiki.archlinux.org/title/PRoot For a working example, you may be interested in my VS Code video: ua-cam.com/video/5gfFBlYUMyA/v-deo.html
To set the system language from a terminal: Install: sudo apt install locales -y sudo apt install locales-all -y Display current language: locale Edit the locale file, add the line for LANG: nano /etc/default/locale LANG=portuguese Ctrl+O, Enter, and Ctrl+X to save the file and exit nano. Reboot Linux. From a terminal: Display current language: locale To return to the default language, comment out the LANG line: nano /etc/default/locale #LANG=portuguese Ctrl+O, Enter, and Ctrl+X to save the file and exit nano. Reboot Linux. For a list of languages (Up/Down keys to scroll, Q to exit display): cat /etc/locale.alias | less cat /etc/locale.gen | less
Due to current limitations of UserLAnd's VNC, sound and OpenGL graphics are not available: ua-cam.com/users/shortsdsQDYFv97F4 We are currently studying Real VNC: www.realvnc.com/en/connect/audio/
Only Google knows why Android storage is so overcomplicated. I will be covering this topic in future videos. UserLAnd offers shortcuts for internal storage and SD cards that go in the SD card slot: /storage/internal /storage/sdcard /Downloads The long file path for accessing storage is (can be used with PCManFM or Command Line): /host-rootfs/storage//Android/data/Tech.ula/files Where may be emulated/0 or may look like 426B-9A39. /host-rootfs/storage/emulated/0/Android/data/Tech.ula/files /host-rootfs/storage/426B-9A39/Android/data/Tech.ula/files The gdu utility can be used to find a storage device's . If gdu is not already installed, install it (sudo apt install gdu -y): gdu -d | grep public OR gdu -d | grep media The output should look something like: .../mnt/media_rw/426B-9A39 .../mnt/media_rw/D430-130D For external storage you will need to use the long file path. Generally, FAT16 and FAT32 should be reformatted to exFAT. Android devices with older drivers will reformat exFAT to FAT32 before they can be used, this will limit file size to 4GB. Android will create the Android file structure on the storage device to control access. Linux will have read write access to: /host-rootfs/storage//Android/data/Tech.ula/files From a PC or Chromebook, an Android device will have a format that looks like (SD cards will show up as a second device): /Android/data/Tech.ula/files /Android/data/Tech.ula/files
Summary of how to bring up a Linux desktop in UserLAnd:
From terminal (can use 2 finger pinch to zoom):
sudo apt update -y
sudo apt dist-upgrade -y
sudo apt install dialog -y
sudo apt install the following; task-lxde-desktop, x11-xserver-utils, dbus-x11, openbox-lxde-session, wm-icons, nano.
In /usr/bin, create the following 2 go scripts. Be sure to make the scripts executable (chmod +x gol):
/usr/bin/gol
openbox-lxde &> /dev/null &
sleep 5
dbus-launch pcmanfm --desktop &> /dev/null &
lxpanel &> /dev/null &
/usr/bin/gosyn (when using search from the toolbar, searching by Name will run faster, searching by Description and Name will run slower)
xhost + &&
sudo synaptic &&
xhost -
Start up desktop, first time will mess up. Close UserLAnd, stop the session, and start up the desktop again:
gol
To fix synaptic:
Change launch command for synaptic to gosyn.
Most components in LXDE can be configured by right clicking on them (Next video will go over how to configure the desktop).
Questions are welcome and encouraged. Due to the design of UA-cam's comment section, posting questions under the pinned comment or under another user's comment makes it difficult for me to find and answer questions. Please do not post your questions under the pinned comment or under other user's questions. Please create a new comment.
Good video, thank you. "Difficult songs find few singers".
I had this old tablet just laying around,and wanted to see if Linux could be installed . And then I came across your video and you made the process so easy .
Thank You...
2:45 thanks for your help and understanding
Great channel, nice tutorial and professional approach with explanation of everything.
+1 subscriber, thank you, Ruth
you dont know how helpful this is for me i dont own any lap top or pc and i need to make a PowerPoint for my school project so thank you so much
I'm glad you made the video Ruth. With all those install error messages, I'd have probably given up!
I love the videos! Thank you for doing this series. I have a Gemini PDA from planet computers and am trying out the Debian install!
i came here after trying to figure out an arch desktop install lol (bricked it xD). im a bit of a linux noob and im just trying to use linux so i can use some desktop apps on the go. this is genuinely helpful and its nice to have someone explain what all the little bits of the command mean instead of just telling me to enter them.
Thanks for your work!
I used your instructions to get Ubuntu on my tablet. Thank you so much!
Dear Ruth, at 2:01 in your video, you received the message: "Processing was halted because there were too many errors." Is it advisable to proceed with installing additional components despite this error message? Thank you.
This is normal for installing Linux on Android with UserLAnd.
Very intelligent presenter and helpful channel. UGO girl!
Great video! Thank you! I had too many errors while installing the desktop: "Processing was halted because there were too many errors." I am using an old Samsung Galaxy S4.
Those errors are normal for Linux on Android and can be ignored. The same error message can be seen in the video 2:01 . We are doing supernatural things with Android beyond what it was designed to do.
-------------------------------
For your convenience, here's the complete install instructions.
Install UserLAnd from the Play Store, select Debian.
Grant permissions
Select Minimal desktop environment
Select Graphical connection type, click CONTINUE
Graphics Settings, click CONTINUE
Debian will install, and a Linux terminal will open
From terminal (can use 2 finger pinch to zoom):
Dialog will allow installs to ask a question task-lxde-desktop will ask for keyboard layout.
sudo apt update -y
sudo apt dist-upgrade -y
sudo apt install dialog -y
sudo apt install task-lxde-desktop -y
sudo apt install x11-xserver-utils -y
sudo apt install dbus-x11 -y
sudo apt install openbox-lxde-session -y
sudo apt install wm-icons -y
sudo apt install nano -y
Create the following 2 go scripts with nano:
nano /usr/bin/gol
openbox-lxde &> /dev/null &
sleep 5
dbus-launch pcmanfm --desktop &> /dev/null &
lxpanel &> /dev/null &
Ctrl-O, Enter, Ctrl-X to save
chmod +x /usr/bin/gol
nano /usr/bin/gosyn
xhost + &&
sudo synaptic &&
xhost -
Ctrl-O, Enter, Ctrl-X to save
chmod +x /usr/bin/gosyn
Start up desktop, first time will mess up. Close UserLAnd, stop the session, and start up the desktop again:
gol
To fix synaptic (when using search from the toolbar, searching by Name will run faster, searching by Description and Name will run slower):
Change launch command for synaptic to gosyn.
I followed everything almost exactly as described and doesn't seem to barely work. The only difference is that I chose Ubuntu. I don't know if that's the problem. It installed devian anyway, opened the desktop and crashed again and again when I tried to do anything like trying and find a way to correct the size of the desktop. which was set for a big TV or beamer or similar. Also the system was giving me messages of threats detected and recommending to reboot.
It's a brand new OnePlus pad 2. Maybe it's that the security set from factory or something. No idea.
Any advice maybe?
Any way thanks very much. A Linux person who speaks human. What a find 👍
The crashing may be the result of a known app killer issue starting with Android 12, also known as the Phantom Process Killer. As of Android 14, there is a new option in Android Settings for disabling the Phantom Process Killer (Android Settings > System > Developer options > in the Apps section enable the Disable child process restrictions option).
Here's a video that explains the issue:
ua-cam.com/video/N5Q5J36wIkc/v-deo.html
--------------------
Linux on Android - Adjust Resolution video:
ua-cam.com/video/uSQS8kZV_UA/v-deo.html
--------------------
You can try posting an issue on UserLAnd's GitHub:
github.com/CypherpunkArmory/UserLAnd/issues
--------------------
Google is in the process of merging Android and ChromeOS VMs and hardware. This may provide better solutions in the future.
www.androidauthority.com/chrome-os-running-on-pixel-3442496/
--------------------
For your convenience here's the complete install instructions:
Install UserLAnd from the Play Store, select Debian.
Grant permissions
Select Minimal desktop environment
Select Graphical connection type, click CONTINUE
Graphics Settings, click CONTINUE
Debian will install, and a Linux terminal will open
From terminal (can use 2 finger pinch to zoom):
Dialog will allow installs to ask a question task-lxde-desktop will ask for keyboard layout.
sudo apt update -y
sudo apt dist-upgrade -y
sudo apt install dialog -y
sudo apt install task-lxde-desktop -y
sudo apt install x11-xserver-utils -y
sudo apt install dbus-x11 -y
sudo apt install openbox-lxde-session -y
sudo apt install wm-icons -y
sudo apt install nano -y
Create the following 2 go scripts with nano:
nano /usr/bin/gol
openbox-lxde &> /dev/null &
sleep 5
dbus-launch pcmanfm --desktop &> /dev/null &
lxpanel &> /dev/null &
Ctrl-O, Enter, Ctrl-X to save
chmod +x /usr/bin/gol
nano /usr/bin/gosyn
xhost + &&
sudo synaptic &&
xhost -
Ctrl-O, Enter, Ctrl-X to save
chmod +x /usr/bin/gosyn
Start up desktop, first time will mess up. Close UserLAnd, stop the session, and start up the desktop again:
gol
To fix synaptic (when using search from the toolbar, searching by Name will run faster, searching by Description and Name will run slower):
Change launch command for synaptic to gosyn.
@@ruthake Independently of if it works or not, thank you so much for taking the time to answer, even more in such a comprehensive, complete and understandable way. Just wow. "Extra mile" comes to mind.
I'll try all that today and we'll see. Have a nice weekend.
Very informative video!!!
Your awesome, thank you
Can u give tutorial on installing kali
Funny you should ask, I'm currently editing a video for Kali Linux on Android. It should be out this week!
@@ruthake ok
Hello Ruth this is the response I get trying to open synaptic package manager
"Error accessing system permissions: error initializing authority: could not connect: no such file or directory"
why is this happening and what can I do? please reply.
It sounds like an issue with PolKit. I recommend the following script and changing the Synaptic launch command. From a terminal:
nano /usr/bin/gosyn
xhost + &&
sudo synaptic &&
xhost -
Ctrl-O, Enter, Ctrl-X to save
chmod +x /usr/bin/gosyn
To fix synaptic (when using search from the toolbar, searching by Name will run faster, searching by Description and Name will run slower):
Menu > Preferences > right click Synaptic Package Manager > select Properties > go to the Desktop Entry tab and change the Command to gosyn.
Excellent travail.merci
Sorry, i have question. Why when i click Synaptic package manager it doesn't responding to open
I recommend the following gosyn script to run Synaptic (5:43).
From a terminal:
nano /usr/bin/gosyn
xhost + &&
sudo synaptic &&
xhost -
Ctrl-O, Enter, Ctrl-X to save
chmod +x /usr/bin/gosyn
To fix synaptic (when using search from the toolbar, searching by Name will run faster, searching by Description and Name will run slower):
Change launch command for synaptic to gosyn (9:45).
----------------------
For your convenience, here are the complete instructions:
Install UserLAnd from the Play Store, select Debian.
Grant permissions
Select Minimal desktop environment
Select Graphical connection type, click CONTINUE
Graphics Settings, click CONTINUE
Debian will install, and a Linux terminal will open
From terminal (can use 2 finger pinch to zoom):
Dialog will allow installs to ask a question task-lxde-desktop will ask for keyboard layout.
sudo apt update -y
sudo apt dist-upgrade -y
sudo apt install dialog -y
sudo apt install task-lxde-desktop -y
sudo apt install x11-xserver-utils -y
sudo apt install dbus-x11 -y
sudo apt install openbox-lxde-session -y
sudo apt install wm-icons -y
sudo apt install nano -y
Create the following 2 go scripts with nano:
nano /usr/bin/gol
openbox-lxde &> /dev/null &
sleep 5
dbus-launch pcmanfm --desktop &> /dev/null &
lxpanel &> /dev/null &
Ctrl-O, Enter, Ctrl-X to save
chmod +x /usr/bin/gol
nano /usr/bin/gosyn
xhost + &&
sudo synaptic &&
xhost -
Ctrl-O, Enter, Ctrl-X to save
chmod +x /usr/bin/gosyn
Start up desktop, first time will mess up. Close UserLAnd, stop the session, and start up the desktop again:
gol
To fix synaptic (when using search from the toolbar, searching by Name will run faster, searching by Description and Name will run slower):
Change launch command for synaptic to gosyn.
what an absolute g! curiously tho my desktop pulled up after the first gol script. not sure whats up with that lol using kali tho
Thank you very much, it worked! Let's code!❤
What about gnome? Is it possible to run it with userland. By the way, great videos. You've made my dreams come true. I can use Linux on smartphone. Thanks
I am unaware of any way to run GNOME in UserLAnd at this time. IceWM is another desktop that does not appear to clash with LXDE. TWM is already preloaded in UserLAnd. The XFCE desktop runs well with Kali:
IceWM:
sudo apt install icewm
icewm-session &
XFCE With Kali:
ua-cam.com/video/y5gyQJyCT58/v-deo.html
Here's an ask Ubuntu link for configuring XFCE to look like GNOME:
askubuntu.com/questions/1370627/can-i-configure-xfce-or-lxde-to-look-like-this-gnome-panel
can we install Firefox without installing the desktop, and open Firefox using the Linux terminal
Yes, UserLAnd automatically installs and uses the TWM desktop by default, so you can install firefox-esr and run Firefox by executing firefox-esr. You will need to understand the TWM desktop in order to use Firefox, please see the explanation below. There are quite a few UA-cams on TWM.
Firefox Fix (ua-cam.com/video/wUNLF1KkoLg/v-deo.html ):
Open Firefox and go to the URL about:config.
Click Accept the Risk and Continue button.
Enter sandbox into the search bar.
For security.sandbox.content.tempDirSuffix, click the far right arrow to clear the value.
Set any values with a number to 0
Set any true/false values to false.
Restart Firefox.
------------------------------
If TWM is not configured, it will be difficult to use. I recommend starting with the following configuration which can be customized:
Install: suckless-tools, x11-xserver-utils, nano, man, less, gdu, nitrogen
-----------
Create the run command file TWMRC for TWM configuration: ~/.twmrc
# Use Icon Manager as a Window List
ShowIconManager
IconifyByUnmapping
# Desktop Right click launches Dmenu
Button3 = : root : ! “dmenu_run -fn ‘Mono-20’ &> /dev/null &”
Color
{
DefaultForeground "#FF0000"
DefaultBackground "#3333AA"
BorderColor "#000000"
TitleForeground "#DDDDDD"
TitleBackground "#3333AA"
MenuForeground "#DCDCDC"
MenuBackground "#494949"
MenuBorderColor "#494949"
MenuShadowColor "#FFFFFF"
IconForeground "#DDDDDD"
IconBackground "#3333AA"
IconBorderColor "#FF0000"
IconManagerForeground "#CCCCCC"
IconManagerBackground "#111155"
IconManagerHighlight "#FF0000"
}
-----------
Create ~/.Xresources (20 is the font size, set to the desired size):
xterm*saveLines: 2000
xterm*loginShell: true
xterm*selectToClipboard: true
xterm*faceName: Monospace
xterm*faceSize: 20
xterm*Foreground: SlateBlue1
xterm*Background: black
xterm*pointerColor: red3
xterm*curosrColor: red3
------------------------------
After creating the .twmrc and the .Xresources run the following 2 commands. xrdb configures xterm and sudo dpkg-reconfigure tzdata configures the system time:
xrdb -merge ~/.Xresources
sudo dpkg-reconfigure tzdata
Disconnect from the session, Stop Session, and close UserLAnd.
------------------------------
Right click the desktop to run Dmenu. Dmenu is a horizontal scrolling menu that will appear at the top of the screen. The first time Dmenu is started, the menu will not be loaded, type any character such as the letter "a", press Enter, press Esc, and then right click on the desktop again. If the menu still does not appear, restart Linux. Dmenu will suggest apps as you type the name of an app. To scroll Dmenu, use the left and right arrow keys, to close Dmenu, press Esc.
When a new window opens in TWM, position the window with the cursor and left click. To move a window, drag the top bar. To enlarge a window, double click the top right corner and on the second click, drag the corner toward the top right. To make a window smaller, double click the top right corner and on the second click, drag the the corner towards the top right and then drag the corner inwards.
Nitrogen allows you to setup a wallpaper.
To shut down, close any open apps (Ctrl-Q will often close an app), and be sure to Disconnect from the session, Stop Session, and close UserLAnd.
TWM Links:
www.cpcnw.co.uk/twm/twmrc.htm
opensource.com/article/19/12/twm-linux-desktop
wiki.archlinux.org/title/Twm
I followed the entire instructions but I keep getting a "invalid operation dist-update" I do not know what I'm doing wrong 😕
Based on your comment using dist-update, the command should be dist-upgrade:
sudo apt dist-upgrade -y
--------------------------
For your convenience, here's the complete install instructions:
Install UserLAnd from the Play Store, select Debian.
Grant permissions
Select Minimal desktop environment
Select Graphical connection type, click CONTINUE
Graphics Settings, click CONTINUE
Debian will install, and a Linux terminal will open
From the terminal (can use 2 finger pinch to zoom):
Dialog will allow installs to ask a question task-lxde-desktop will ask for keyboard layout.
sudo apt update -y
sudo apt dist-upgrade -y
sudo apt install dialog -y
sudo apt install task-lxde-desktop -y
sudo apt install x11-xserver-utils -y
sudo apt install dbus-x11 -y
sudo apt install openbox-lxde-session -y
sudo apt install wm-icons -y
sudo apt install nano -y
Create the following 2 go scripts with nano:
nano /usr/bin/gol
openbox-lxde &> /dev/null &
sleep 5
dbus-launch pcmanfm --desktop &> /dev/null &
lxpanel &> /dev/null &
Ctrl-O, Enter, Ctrl-X to save
chmod +x /usr/bin/gol
nano /usr/bin/gosyn
xhost + &&
sudo synaptic &&
xhost -
Ctrl-O, Enter, Ctrl-X to save
chmod +x /usr/bin/gosyn
Start up desktop, first time will mess up. Close UserLAnd, stop the session, and start up the desktop again:
gol
To fix synaptic (when using search from the toolbar, searching by Name will run faster, searching by Description and Name will run slower):
Change launch command for synaptic to gosyn.
@@ruthake oh ok
i appreciate your videos it helped me get lxde and i am very happy i hope your channel does great things. have a great day. keep up the good work.
great content, just wondering if I can install linux without developer option… cheers
UserLAnd is not dependent on developer options. UserLAnd has limited file and media access, and does not have the ability to modify the Android operating system. UserLAnd does not root the phone.
Please tell me how I can connect ssh server from annother host.
I have not experimented with external SSH connections. This may be what you're looking for:
github.com/CypherpunkArmory/UserLAnd/issues/1222
I LOVE YOU!!!
Cd " dosen't work, it doesn't let me exit the /user/bin mode and it also gives me error when i run "gol" it says "permission denied" even with root permission, any help please? I've got Android 13 if this helps...
I believe you entered user instead of usr. For convenience, here's a compact list of the instructions:
Install UserLAnd from the Play Store, select Debian.
Grant permissions
Select Minimal desktop environment
Select Graphical connection type, click CONTINUE
Graphics Settings, click CONTINUE
Debian will install, and a Linux terminal will open
From terminal (can use 2 finger pinch to zoom):
Dialog will allow installs to ask a question task-lxde-desktop will ask for keyboard layout.
sudo apt update -y
sudo apt dist-upgrade -y
sudo apt install dialog -y
sudo apt install task-lxde-desktop -y
sudo apt install x11-xserver-utils -y
sudo apt install dbus-x11 -y
sudo apt install openbox-lxde-session -y
sudo apt install wm-icons -y
sudo apt install nano -y
Create the following 2 go scripts:
nano /usr/bin/gol
openbox-lxde &> /dev/null &
sleep 5
dbus-launch pcmanfm --desktop &> /dev/null &
lxpanel &> /dev/null &
Ctrl-O, Enter, Ctrl-X to exit.
chmod +x /usr/bin/gol
nano /usr/bin/gosyn
xhost + &&
sudo synaptic &&
xhost -
Ctrl-O, Enter, Ctrl-X to exit.
chmod +x /usr/bin/gosyn
Start up desktop, first time will mess up. Close UserLAnd, stop the session, and start up the desktop again:
gol
To fix synaptic (when using search from the toolbar, searching by Name will run faster, searching by Description and Name will run slower):
Change launch command for synaptic to gosyn.
Thank you soooo muchhhhhhhhh you are very cute and wonderful 😮
2:35 I want to install XFCE, but I get the message
E: Unable to locate package openbox-xfce-session
Help me
I have not used XFCE with Debian in UserLAnd. I believe that you are looking to install task-xfce-desktop.
Kali Linux uses the XFCE desktop. You may be interested in my Kali Linux video for Android:
ua-cam.com/video/y5gyQJyCT58/v-deo.html
@@ruthake Ok
Thank!
🥰😍
🫱🏽I🤚🏽Space🫱🏽Like🤚🏽Space🫱🏽This🤚🏽Space🫱🏽Video
Where are the commands? Didn't you write them!😮
Apologies, I appreciate that you brought this to my attention. The comment with the instructions are now pinned.
Summary of how to bring up a Linux desktop in UserLAnd:
From terminal (can use 2 finger pinch to zoom):
sudo apt update -y
sudo apt dist-upgrade -y
sudo apt install dialog -y
sudo apt install the following; task-lxde-desktop, x11-xserver-utils, dbus-x11, openbox-lxde-session, wm-icons, nano.
In /usr/bin, create the following 2 go scripts. Be sure to make the scripts executable (chmod +x gol):
/usr/bin/gol
openbox-lxde &> /dev/null &
sleep 5
dbus-launch pcmanfm --desktop &> /dev/null &
lxpanel &> /dev/null &
/usr/bin/gosyn (when using search from the toolbar, searching by Name will run faster, searching by Description and Name will run slower)
xhost + &&
sudo synaptic &&
xhost -
Start up desktop, first time will mess up. Close UserLAnd, stop the session, and start up the desktop again:
gol
To fix synaptic:
Change launch command for synaptic to gosyn.
Most components in LXDE can be configured by right clicking on them (Next video will go over how to configure the desktop).
@@ruthake I Really, thankful, you have a New Rookie subscriber, I'm learning Linux and people like you are amazing teacher , I follow you, Thank You ‼️❤️❤️
Good sucess with Huawei p20 pro, bad sucess with honor x6
Is this an arm version of debian or an emulation or what
Here's some commands for displaying processor information (It will be an Intel/AMD or an Arm processor, and it will either be 32 bit or 64 bit):
arch
uname -a
getconf LONG_BIT
file /lib/systemd/systemd
dpkg --print-architecture
PRoot is a user-space implementation of chroot. This is used because Android users do not have root access necessary for chroot. User-space is where UserLAnd gets it's name from.
For more details, you may be interested in this Arch article on PRoot:
wiki.archlinux.org/title/PRoot
For a working example, you may be interested in my VS Code video:
ua-cam.com/video/5gfFBlYUMyA/v-deo.html
@@ruthake thank you so much for your efforts
I would like to find a way to translate my Android Linux into Portuguese
To set the system language from a terminal:
Install:
sudo apt install locales -y
sudo apt install locales-all -y
Display current language:
locale
Edit the locale file, add the line for LANG:
nano /etc/default/locale
LANG=portuguese
Ctrl+O, Enter, and Ctrl+X to save the file and exit nano.
Reboot Linux.
From a terminal:
Display current language:
locale
To return to the default language, comment out the LANG line:
nano /etc/default/locale
#LANG=portuguese
Ctrl+O, Enter, and Ctrl+X to save the file and exit nano.
Reboot Linux.
For a list of languages (Up/Down keys to scroll, Q to exit display):
cat /etc/locale.alias | less
cat /etc/locale.gen | less
@@ruthake Thank you darling! I will try to follow your instructions
@@ruthake Today I took a look at my terminal and saw that it was updated to Portuguese. Thank you dear friend!
@@ruthake *_
@@ruthake I didn't want to abuse your goodwill, but how do you translate Android Linux completely?
How to fix audio issues?
Due to current limitations of UserLAnd's VNC, sound and OpenGL graphics are not available: ua-cam.com/users/shortsdsQDYFv97F4
We are currently studying Real VNC: www.realvnc.com/en/connect/audio/
How move to sd card?
Only Google knows why Android storage is so overcomplicated. I will be covering this topic in future videos.
UserLAnd offers shortcuts for internal storage and SD cards that go in the SD card slot:
/storage/internal
/storage/sdcard
/Downloads
The long file path for accessing storage is (can be used with PCManFM or Command Line):
/host-rootfs/storage//Android/data/Tech.ula/files
Where may be emulated/0 or may look like 426B-9A39.
/host-rootfs/storage/emulated/0/Android/data/Tech.ula/files
/host-rootfs/storage/426B-9A39/Android/data/Tech.ula/files
The gdu utility can be used to find a storage device's . If gdu is not already installed, install it (sudo apt install gdu -y):
gdu -d | grep public OR gdu -d | grep media
The output should look something like:
.../mnt/media_rw/426B-9A39
.../mnt/media_rw/D430-130D
For external storage you will need to use the long file path. Generally, FAT16 and FAT32 should be reformatted to exFAT. Android devices with older drivers will reformat exFAT to FAT32 before they can be used, this will limit file size to 4GB. Android will create the Android file structure on the storage device to control access. Linux will have read write access to:
/host-rootfs/storage//Android/data/Tech.ula/files
From a PC or Chromebook, an Android device will have a format that looks like (SD cards will show up as a second device):
/Android/data/Tech.ula/files
/Android/data/Tech.ula/files
Hey Ruth how about configuring ssh
For our purposes SSH will not work.