GithubHelp home page GithubHelp logo

shandilyaguy247 / enable_remote_access_to_raspberry_pi-octopi_using_vnc Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 3 KB

After we've successfully setup OctoPi on our Raspberry Pi, we will see how to use VNC to control our Raspberry Pi from another computer, so you can use your OctoPi without a screen, mouse or keyboard!

raspberry-pi octoprint octopi vnc vnc-viewer

enable_remote_access_to_raspberry_pi-octopi_using_vnc's Introduction

Enable Remote Access to Raspberry Pi-OctoPi Using VNC

After we've successfully setup OctoPi on our Raspberry Pi, we will see how to use VNC to control our Raspberry Pi from another computer, so you can use your OctoPi without a screen, mouse or keyboard!

(P.S. : It's very easy)

A quick and easy guide to setting up OctoPi for beginners with zero experience. Follow these steps to setup OctoPi OS on your Raspberry Pi in a few basic steps regardless of your machine's operating system.

Octopi image

vnc

So what exactly is VNC?

VNC, or Virtual Network Computing, is a system allowing remote control of one computer by another. When using VNC, two different parts of the software are used. The first part is the VNC server. This one is installed on the machine we want to take control of (here the raspberry pi), and it will allow the connection and the control by the client part. The second part is therefore the VNC client. It is installed on the machine from which you wish to control the server (your laptop/desktop) and it will allow to translate your actions into operations comprehensible by the server which will then control the remote machine from your computer.

The main interest of VNC is that it allows to take control of a remote machine, while displaying the desktop of it. So you can see in real time what is happening on your Raspberry Pi, without having to plug it into a screen, mouse or keyboard!

Installation

Prerequisites:

Here we are already assuiming that you have sucessfully installed OctoPi GUI on your Raspberry Pi machine. If you haven't done so yet, please check out the previous tutorial here:

https://github.com/shandilyaguy247/OctoPi_GUI_Setup/blob/master/README.md

  • Raspberry Pi (Model 3B or later) with OctoPi GUI installed.
  • USB Mouse and Keyboard
  • Monitor
  • HDMI cable
  • 5.1V/2.5 A Micro USB power supply (For the RPi)
  • Stable Wifi
  • Desktop/Laptop

Setting up VNC on the Raspberry Pi (Server Side):

We will now enable remote desktop operation using VNC server

  • Open the bash terminal.

Type:

sudo raspi-config

1

Enter your password

  • Select "5 Interfacing Options"

2

  • Select "P3 VNC"

3

  • Select "Yes"

4

  • Authorise it by typing "Y" and hitting enter

5

The resources for VNC will now install You will see a message saying that VNC Server is enabled

6

  • Select "Finish"

7

  • You will now notice a new VNC icon in the top-right corner of the screen.

8

  • Right click on the VNC icon and click on "Options.."

  • Enter your password.

  • Change the Authentication from UNIX password to VNC password.

9

  • Click "Apply"

Now, we specify the new VNC password.

10

  • Click "OK"

The VNC server is now sucessfully setup.

We now need to find out our Raspberry Pi's local IP address.

In the bash terminal, type:

ifconfig

You can now see your IP address. (wlan0: inet ---.---.-.--)

11

We will need this IP address shortly..

Setting up VNC on our desktop/laptop (Server Side):

Now we need to install a VNC client on our system.

https://www.realvnc.com/en/connect/download/viewer/

Download and install VNC client as per your system OS. Open VNC viewer on your system.

  • In the address bar, enter the IP address of your Raspberry Pi

Image 15-06-20 at 4 27 PM

  • When prompted, Enter the password

Image 15-06-20 at 4 28 PM

Your Octopi is now successfully remotely connected to your System! You can now remote control your Raspberry Pi - OctoPi. You can now disconnect your Raspberry Pi from the monitor, mouse and keyboard!

Next: How to control your 3D printer using OctoPi:

Stay tuned...

Meta

**Harshit Shandilya - https://www.linkedin.com/in/harshitshandilya/

Affero General Public License (AGPL)

https://github.com/shandilyaguy247

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b)
  3. Commit your changes (git commit -am)
  4. Push to the branch (git push origin)
  5. Create a new Pull Request
  6. For major changes, please open an issue first to discuss what you would like to change.

enable_remote_access_to_raspberry_pi-octopi_using_vnc's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

davyroswinkel

enable_remote_access_to_raspberry_pi-octopi_using_vnc's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.