This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |