Last active
April 9, 2016 20:59
-
-
Save ishults/7ab8b198136e01d258ca344cd65e4821 to your computer and use it in GitHub Desktop.
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
sudo nano /etc/systemd/system/vncserver@:1.service | |
# Paste this into the file: | |
[Unit] | |
Description=Remote desktop service (VNC) | |
After=syslog.target network.target | |
[Service] | |
Type=forking | |
User=pi | |
#PAMName=login | |
#PIDFile=/home/pi/.vnc/%H%i.pid | |
#ExecStartPre=/usr/bin/vncserver -kill %i | |
ExecStart=/usr/bin/vncserver -geometry 1600x900 %i | |
ExecStop=/usr/bin/vncserver -kill %i | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment