Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

TigerVNC

install

# Arch
sudo pacman -S tigervnc
# Windows 10
scoop install tigervnc

usage

Arch

1 2 3 4

vncpasswd
# A view-only password is not used → No
sudo useradd -m vncuser
sudo passwd vncuser
sudo vim /etc/tigervnc/vncserver.users
:1=vncuser
# rm -rf ~/.vnc
# mkdir ~/.vnc
vim ~/.vnc/config
# session=xfce
geometry=1280x720
# localhost
alwaysshared
# vncserver :1
# sudo systemctl enable --now vncserver@:1
vim ~/vncstart.sh
#!/bin/bash
vncserver -kill :1 > /dev/null 2>&1
rm -f /tmp/.X1-lock
rm -f /tmp/.X11-unix/X1
vncserver :1
chmod u+x ~/vncstart.sh
./vncstart.sh

reference


  1. Setting up tigervncserver on arch linux (raspberry-pi)

  2. TigerVNC Server in Manjaro (Arch Linux) - Headless Guide 2021!

  3. How to Install & Configure VNC Server on Ubuntu 22.04

  4. Using Graphical User Interface in WSL