
Raspberry Pi Ubuntu Linux tutorials Licensed under CC BY-NC-SA 4.

If you are using Ubuntu 20.04, there is a bug that kills TigerVNC just after connect, to fix this just append LD_PRELOAD=/lib/aarch64-linux-gnu/libgcc_s.so.1 if you are using 64-bit Ubuntu before the vncserver command.Įxample: LD_PRELOAD=/lib/aarch64-linux-gnu/libgcc_s.so.1 vncserverįor 32-bit Ubuntu use LD_PRELOAD=/lib/arm-linux-gnueabihf/libgcc_s.so.1. Type the following command to install TigerVNC on your Ubuntu server: sudo apt install tigervnc-standalone-server tigervnc-common Now that the VNC server is installed, the next step is to create the initial configuration and set up the password. Example: sudo apt install lxqt -no-install-recommends If you want to install LXQT without all the recommended packages just append -no-install-recommends. If you have installed multiple window/desktop managers, you can select what to use by sudo update-alternatives -config x-session-manager.

Now you can connect to your Raspberry Pi using VNC on the IP address of your Raspberry Pi.Īs the default settings on TigerVNC prevents clients outside the localhost of Raspberry Pi from connecting to the server, the setting $localhost = "no" should be included inside nf.This will prompt a new password if password has not yet set.
