File tree Expand file tree Collapse file tree 2 files changed +27
-10
lines changed
Expand file tree Collapse file tree 2 files changed +27
-10
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ A tweaked ubuntu-21.04 with xfce4 runs on android with termux/proot-distro
2626- And its in early stages of building so some things may look kind of bad or missing(make sure to notice me if you find any in issues)
2727- If you have any issues or suggestions make sure i know at https://github.com/RandomCoderOrg/ubuntu-on-android/issue (create an issue)
2828
29- # installation
30- - first install termux from [ termux.com] ( https://termux.com ) or playstore!
29+ # Installation
30+ - First install termux from [ termux.com] ( https://termux.com ) or [ F-Droid! ] ( https://f-droid.org/en/packages/com.termux/ )
3131
3232## Getting Sources and install scripts
3333``` bash
@@ -43,15 +43,15 @@ bash install.sh
4343# install
4444proot-distro install hippo
4545```
46- ### logging into hippo
46+ ### Logging into hippo
4747``` bash
4848# run
4949proot-distro login hippo
5050```
5151### starting vncserver
5252
5353``` bash
54- vncserver :1
54+ vncserver-start
5555```
5656This step start GUI like screenshot above
5757it requires an app to see, its up to yourchoice but here are some recommended apps
@@ -61,18 +61,14 @@ it requires an app to see, its up to yourchoice but here are some recommended ap
6161``` bash
6262vncserver --kill :1
6363```
64- > if you press ` logout ` button inside vnc no need to do this step
64+ > If you press ` logout ` button inside vnc no need to do this step
6565### Logout from hippo :)
6666``` bash
6767exit
6868```
6969
7070## 🔊 Audio
71- If you cant hear audio from vnc then use this command by openning a new session in termux
72- Keep this in your ` .bashrc ` file
73- ``` bash
74- pulseaudio --start --load=" module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1
75- ```
71+ Just execute ` pulseserver-start ` in termux and audio will get setup automatically.:)
7672## Default passwords
7773` user ` -> root
7874
Original file line number Diff line number Diff line change 1+ # #
2+ # # MAIN SCRIPT FOR INSTALLING FURTHER CMDS
3+ # #
4+
5+ # #Adding a vncserver command
6+ echo " vncserver -kill :* && rm -rf /tmp/.X*-lock && tigervncserver -geometry 1280x720 -xstartup /usr/bin/starrxfce4 -listen tcp :1" > /data/data/com.termux/files/usr/varlib/proot-distro/installed-rootfs/hippo/usr/bin/vncserver-start;
7+ # Making it executable
8+ chmod +x /data/data/com.termux/files/usr/varlib/proot-distro/installed-rootfs/hippo/usr/bin/vncserver-start;
9+
10+ # Adding script for sound...
11+ echo " pulseaudio --start --load=" module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1" > $PREFIX /bin/pulseserver-start
12+ # Making it executable
13+ chmod +x $PREFIX /bin/pulseserver-start
14+
15+ # Adding sound to .bashrc
16+ echo " export PULSE_SERVER=127.0.0.1 >> /data/data/com.termux/files/usr/varlib/proot-distro/installed-rootfs/root/.bashrc
17+
18+ # Just useful
19+ echo " export DISPLAY=:1" >> data/data/com.termux/files/usr/varlib/proot-distro/installed-rootfs/hippo/root/.bashrc
20+
21+
You can’t perform that action at this time.
0 commit comments