udroid docs
  • 🛸udroid-landing
    • 🐧udroid
      • ⚠️Disclaimer
    • 📖Installation & Usage
    • 🖥️Display
      • setting up termux-x11
    • 👩🏻‍🔧Tips & Tricks
      • 🦊Fixing Firefox Sound
      • 📇External Sdcard Access
      • 🔊Audio
    • 💳Credits
      • 💀The End
  • 🥷using udroid
    • 🔓Non-root Users
  • SUITES
    • Ubuntu 25.04
    • Ubuntu 24.10
    • Ubuntu 24.04 LTS
    • Ubuntu 22.04 LTS
    • Ubuntu 20.04 LTS
    • EOL suites
      • Ubuntu 23.10
      • Ubuntu 23.04
      • Ubuntu 22.10
      • Ubuntu 21.10
      • Ubuntu 21.04
Powered by GitBook
On this page
  • Setting up VNC
  • Display over other devices
  • Setting up xRDP

Was this helpful?

Edit on GitHub
  1. udroid-landing

Display

Options to see your udroid/termux proot Desktop Environment

Setting up VNC

Vncserver is pre-installed, you can start it manually too instead of startvnc.

tigervncserver \
    -geometry 2560x1080 \
    -xstartup /usr/bin/xfce4-session \
    -listen tcp :1 

Display over other devices

If you wanna run VNC Viewer on another device then connect both devices in same network (or hotspot from main device name). And then start vncserver like this manually.

tigervncserver \
    -geometry 2560x1080 \
    -localhost no \
    -xstartup /usr/bin/xfce4-session \
    -listen tcp :1 

And in another device use WLAN IP:port for connecting. ( use ip a in termux and copy the 192.168.xx.xx)

Setting up xRDP

RDP is another great way to get gui, even much better input and resolution setups automatically. For using it first install xRDP. (note it'll use VNC for backend and might bugs while rendering).

sudo apt install xRDP

Now need to configure a bit, first need to create xsession.

echo "xfce4-session > ~/.xsession

The second file we need to edit is the startup file for XRDP, so it will start the desktop.

nano /etc/xrdp/startwm.sh

Delete all the content there and paste this: #!/bin/sh

if [ -r /etc/default/locale ]; then
  . /etc/default/locale
  export LANG LANGUAGE
fi

xfce4-session 

Now start xRDP with

sudo service xrdp start

Connect it to localhost:3389 with RDP client.

PreviousInstallation & UsageNextsetting up termux-x11

Last updated 9 months ago

Was this helpful?

🛸
🖥️