> For the complete documentation index, see [llms.txt](https://docs.udroid.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.udroid.org/udroid-landing/setting-up-gui.md).

# Display

Options to see your udroid/termux proot Desktop Environment

{% hint style="info" %}
Using the official Termux:X11 app and the desktop feels sluggish? Start with [Smooth Termux:X11 desktop performance](/udroid-landing/setting-up-gui/smooth-desktop-performance.md). Disabling the desktop compositor is often the largest responsiveness improvement on a rootless Android display path.
{% endhint %}

## Setting up VNC

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

```bash
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.

```bash
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.

```bash
echo "xfce4-session > ~/.xsession
```

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

```bash
nano /etc/xrdp/startwm.sh
```

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

```bash
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.

##


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.udroid.org/udroid-landing/setting-up-gui.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
