Skip to content

Instantly share code, notes, and snippets.

@tech-nickel
tech-nickel / launchvnc.sh
Created June 22, 2020 16:30 — forked from mauron85/launchvnc.sh
Launch vino vnc server without configuring it first
#!/bin/bash
# This script should have been runned by user (non root)
# In case of errors like cannot open display:
# 1. Change DISPLAY=:0 for actual working display
# 2. Check (and change) permissions of files and dirs in user home dir
# specialy when you run this script as root by accident
# sometimes dirs like .dconf may be owned as root.
# As result vino server will not run under user privileges