11# Installation
2+
23- First install termux from [ termux.com] ( https://termux.com ) or [ F-Droid!] ( https://f-droid.org/en/packages/com.termux/ )
4+ - For display, you can use [ Xwayland] ( https://github.com/termux/termux-x11 ) too.
5+
6+ ### Video tutorial
7+ https://youtu.be/iVF0swfqsKo
38
4- ## Getting Sources and install scripts
9+ ### Getting Sources and install scripts
510``` bash
611# download installer
712curl -L -o install.sh https://git.io/hippo-installer
@@ -20,20 +25,36 @@ udroid --install
2025 | ` udroid --enable-dbus ` | To start udroid with dbus hack enabled |
2126 | ` udroid --enable-dbus-vnc ` | To start vnc session with dbus hack enabled |
2227
23- ## Environment Variables
28+ ### Env Variables
2429- ` DEFAULT_VNC_PORT ` to set vnc port for scripts
2530- ` HIPPO_BRANCH ` to set custom branch for cloning code
2631
27- ## 🔊 Audio
28- pulseaudio starts everytime you invoke start commands with ` udroid `
32+ ### Audio
33+ Pulseaudio starts everytime you invoke start commands with ` udroid `
2934
3035> You can start audio manually with this command
3136``` bash
3237pulseaudio --start --load=" module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1
3338```
34- ## Default passwords
39+ ### Default passwds for XFCE4
3540
3641| | password|
3742| --| --------|
3843| udroid user | ` secret ` |
3944| vncserver root | ` secret ` |
45+
46+ ### Setting up Xwayland
47+
48+ First up of all install Termux-x11 from above link, in termux use
49+ ```
50+ XDG_RUNTIME_DIR=$PREFIX/bin Xwayland -ac :1 > /dev/null &
51+ ```
52+ This time start udroid with
53+ ```
54+ proot-distro login udroid --shared-tmp
55+ ```
56+ And then start Xfce4 on Xwayland via
57+ ```
58+ DISPLAY=:1 xfce4-session
59+ ```
60+
0 commit comments