Skip to main content

Installing VNC on Raspberry Pi

Want to see some colors on your Raspberry Pi?
But don't have a display to connect it with?

Here's a simple solution for you!

Let's install a VNC server on your Raspberry Pi. VNC lets you control and see the graphical interface on your computer.
Watch the video for easier learning


To begin with you will need a Raspberry Pi with Raspbian installed and SSH enabled.
Follow my guide for that here

Log into your Pi and then type:
sudo apt-get install tightvncserver
(You will require internet for this step)

Press y for permissions

Now to use the newly installed feature, type:
tightvncserver

Enter a password for your VNC in order to encrypt the connection and skip the view only password
You should now have a message on your screen similar to this:

New 'X' desktop is raspberrypi:1

Creating default startup script /home/pi/.vnc/xstartup
Starting applications specified in /home/pi/.vnc/xstartup
Log file is /home/pi/.vnc/raspberrypi:1.log

Install TightVNC Viewer for your computer - download here

Open TightVNC Viewer and type the IP address of your Pi in the following format:
'xxx.xxx.x.x:z' where xxx.xxx.x.x denotes your IP address and z is the screen number
In this case my IP address is 192.168.1.200 and screen number is 1. Hence,
192.168.1.200:1

You should now get a prompt for a password.
Enter the password and now you should be able to see your Raspberry Pi on your computer

If you get errors make sure you are entering the correct IP address

For any queries leave a comment below :)

Comments

Popular posts from this blog

Setting Up Your Raspberry Pi - SSH

Hello everyone! So, Raspberry Pi? Having problems setting up your little computer? I'm here for the rescue! Follow the procedure if you want to set up your Raspberry Pi through a SSH (Secure Shell) or as others call it the 'Headless method' and use Raspbian as your operating system. I would personally suggest to use Raspbian as your first operating system on the Raspberry Pi. Watch the video for better understanding. First of all, the hardware that you'll need is: Raspberry Pi (I own a Raspberry Pi Model 3B) Ethernet Cable SD Card or Micro SD Card depending on your model of Pi (I'll use a 8GB Micro SD card) Power Supply of ratings 5.1V and 2.5A max (I use my phone charger which has a rating of 5V and 2A) Laptop/desktop PC (I'll be using a Windows 10 laptop) Now coming to the software side: Latest image file of the Raspbian operating system. I'd recommend you to download Raspbian Jessie With Pixel because it has many addition...

Raspberry Pi Music Player

Love Music? Or are too nerdy to make your own gadgets! (That was one of mine reasons. Duh!) Well, this is the Raspberry Pi Music Player. Watch the video below to find out what it is like Features: Control over bluetooth (smartphone) Commands can be given via voice (smartphone) Play Next Stop Increase Volume Decrease Volume First Song Date Time Shut Down LCD On LCD Off LCD Brightness Control Additional Info: I also installed Rune Audio on my other SD Card so that I could use it over my WiFi. But yes, that requires switching cards. But that makes it portable with a web interface. Currently facing problems with: Running without Ethernet plugged in on boot (worked perfectly fine with previous versions of Raspbian). Wanting to do this to make it portable. Repeat Functionality Shuffle Playing songs from USB And a few more bugs Write to me at sparkthatplug@gmail.com if you think you can help me with those problems. Innovative ideas are always...

Sharing Files With Raspberry Pi

Uploading files directly from your PC to your Pi without Internet? Yes it is possible! Downloading from it is possible too. For this to work you should already know how to connect to Raspberry Pi via SSH If you don't then click here to find out. Watch the video on how to share files: The sftp (SSH File Transfer Protocol) makes the whole process possible. To use it: Download and install FileZilla - download link  here Open FileZilla, in the top left corner enter your Pi's IP address in the Host column In username filed enter 'pi' In the password filed enter the password for your Pi Enter 22 in Port and hit Quickconnect You should now see files on your computer on the left and files on your Raspberry Pi on the right. Now you can access all the files like you do on a normal computer. You can download and upload files. It also has many other options like like making a file executable which is similar to the command chmod that we use in the terminal. FileZilla...