# Access with VNC

You can gain port tunneling access to your edge device using a number of different port tunneling methods. This page describes an example procedure using [VNC](https://en.wikipedia.org/wiki/Virtual_Network_Computing), a graphical desktop-sharing system that uses the Remote Frame Buffer protocol to remotely control your edge device.

## Prerequisites

* At least one online device.
* A VNC server is up and running on your edge device. If you do not have a VNC server on your device, you can refer to the RealVNC documentation for [downloading](https://www.realvnc.com/en/connect/download/vnc/) and for [installation and configuration](https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-20-04).&#x20;
* [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) is downloaded and installed on your computer.

## Open VNC Session

To start a VNC remote access session, do the following:&#x20;

1. Go to **Remote Tools**/**Port Tunnel** in the left menu and choose the device you want to access. Only online devices are shown in the dropdown list.
2. Enter the port you would like to tunnel. Typically, the default port used by the VNC server is 5900. If you have a different VNC server port, enter the corresponding port number.
3. Click **Open Tunnel**. Wait until Connect produces the remote access address and copy it to your clipboard.

<div align="left"><figure><img src="https://content.gitbook.com/content/OX8HIrQ8f257lv49Od1Z/blobs/9nQKRyUe6c9Nt9huGVXi/access-with-vnc-00.png" alt="" width="563"><figcaption></figcaption></figure></div>

## Open the VNC Viewer on Your Computer

1. Paste the URL into the address bar and type **Enter**.

<div align="left"><figure><img src="https://content.gitbook.com/content/OX8HIrQ8f257lv49Od1Z/blobs/OKFEPXf9CpL9UYjJ9fND/access-with-vnc-01.png" alt=""><figcaption></figcaption></figure></div>

2. Click **Continue** on the subsequent popups. When prompted, enter your username and password and continue.

<div align="left"><figure><img src="https://content.gitbook.com/content/OX8HIrQ8f257lv49Od1Z/blobs/4DeZjg0nMVcsZwzVZVZS/access-with-vnc-02.png" alt=""><figcaption></figcaption></figure></div>

When the connection completes, the desktop of your edge device will appear and you will be able to work (even behind double-NAT or firewall) as you would on your own computer. If you are having difficulty connecting to the VNC server, see the RealVNC document [Why can’t I connect](https://help.realvnc.com/hc/en-us/articles/360002321357-Why-can-t-I-connect#cloud-connection-using-realvnc-connect-s-cloud-0-0).

<div align="left"><figure><img src="https://content.gitbook.com/content/OX8HIrQ8f257lv49Od1Z/blobs/hAyRbXbsT5hJWHnlEp2j/access-with-vnc-03.jpg" alt=""><figcaption></figcaption></figure></div>

## What’s Next?

See an example of port tunneling using [SSH](https://docs.connect.jfrog.io/features-new-ui/tools/remote-tools-overview/remote-access/connect-with-ssh).
