sudo apt-get install tigervnc-scraping-server
vncpasswd
nano $HOME/.vnc/xstartup
Put the contents of the xstartup file I attached, after that, you need to make it executable
chmod +x $HOME/.vnc/xstartup
mkdir -p $HOME/.local/share/systemd/user
nano $HOME/.local/share/systemd/user/[email protected]
Put there the contents of the file I attached, remember to change [YOUR_USER] to your actual account username
systemctl daemon-reload --user
systemctl start vncserver@0 --user
systemctl enable vncserver@0 --user