hw-1

how to install x11 desktop and enable vnc server on raspberry lite

how to install x11 desktop and enable vnc server on raspberry lite

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<br />#install X11 Desktop
sudo apt-get install cups
sudo apt install xrdp
sudo apt-get install --no-install-recommends xserver-xorg
sudo apt-get install --no-install-recommends xinit
sudo apt-get install raspberrypi-ui-mods
sudo apt-get install lightdm
sudo reboot

#install VNC
sudo apt-get update
sudo apt-get install realvnc-vnc-server
sudo apt-get install realvnc-vnc-viewer


# Enable VNC
Alternatively, run the command sudo raspi-config, navigate to Interfacing Options > VNC and select Yes.

#resize GPU Memory
run sudo raspi-config, navigate to Advanced options > Memory Split, and ensure your GPU has at least 128MB.