AUTOSTART VNC

Use the following commands to autostart VNC Server in Raspberry Pi which helps us to connect to pi wirelessly using Laptop or Android

  1. Type  cd /home/pi to open the folder pi in home.
  2.  Type cd .config to open “.config” folder from the Pi’s: user folder (it is a hidden folder).
  3. To create a folder auto start type mkdir autostart and open it by cd autostart.
  4. To write the file type sudo nano tightvnc.desktop and write the following contents into it.
1
2
3
4
5
[Desktop Entry]
Type=Application
Name=TightVNC
Exec=vncserver :1
StartupNotify=false

5. Restart your pi to make the changes effective.

Thank you
SHARE THIS!!!

Gowtham S

Gowtham is a programming enthusiast. His field of interest includes Arduino, NodeMCU, Raspberry Pi, and Python. To know more about him visit https://mybtechprojects.tech/about-us/.

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.