Skip to content

8. VNC Installation

Eddy Daoud edited this page Jan 19, 2022 · 4 revisions

Installing VNC server on Astroid with the steps below

Enter chroot environment by SSH or by executing

sudo astroid -s #in termux app

in the chroot environment execute the following commands

sudo apt update

TigerVNC

sudo apt install tigervnc-standalone-server

Xfce4

sudo apt install xfce4

Setting up VNC

Set you vnc password

vncpasswd

Create xstartup

nano ~/.vnc/xstartup

And put these lines inside it

#!/bin/bash
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

exec startxfce4 &

Starting vnc server with

vncserver :0

Connect to device via vnc by using any vnc client with <device ip>:5900

Clone this wiki locally