Install TigerVNC -
$ sudo apt install tigervnc-standalone-server
Configure VNC Server by running
| #!/bin/bash | |
| # ☢=u+2622 | |
| : "${TERM:=xterm-256color}" | |
| editscript(){ | |
| local scriptpath script path swp; scriptpath=$(realpath "$0" 2>/dev/null); script="${scriptpath##*/}"; path="${scriptpath%/*}"; swp="$path/.$script.swp" | |
| [[ ! -e "$swp" ]] && printf "\n\n%s\n\n" "$swp" && (/usr/bin/nano "$scriptpath") && exit | |
| printf "\n%s is already being edited.\n%s exists; try fg or look in another window.\n" "$scriptpath" "$swp"; exit ;} |
| #!/bin/bash | |
| # see https://askubuntu.com/questions/1453749/inhibit-esm-messages-at-login | |
| # for more reference | |
| # worked on Ubuntu 22.x | |
| scriptname="$(realpath $0)" | |
| function removeesm(){ | |
| sudo sed -Ezi.orig \ |