Guest User

Untitled

a guest
Jan 22nd, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. # Starting VNC automatically on a Raspberry Pi
  2.  
  3. ```
  4. sudo apt-get install tightvncserver
  5. vncserver :1 -geometry 1280x800 -depth 16 -pixelformat rgb565
  6. ```
  7. - Set up a password for access (optional)
  8.  
  9. ```
  10. sudo vi /etc/init.d/tightvncserver
  11. ```
  12. - Paste the contents of the file below (`tightvncserver.sh`) into this new file.
  13.  
  14. ```
  15. sudo chmod 755 /etc/init.d/tightvncserver
  16. sudo update-rc.d tightvncserver defaults
  17. ```
  18.  
  19. Done.
Add Comment
Please, Sign In to add comment