# Using the VNC console

## Getting access to the console

To gain access to the console, you must have the [Triton CLI tools installed](https://docs.mnx.io/api/triton-cli-tool).     Configure the environmental variables.   As an example:

```
$ export SDC_ACCOUNT="<your username>";
$ export SDC_KEY_ID="<your SSH key ID (XX:XX:XX:XX...)";
$ export SDC_URL="https://us-central-1.api.mnx.io";
```

{% hint style="info" %}
&#x20;Login to the portal and these are generated for you at <https://portal.mnx.io/faq/triton-cli/>.
{% endhint %}

Next, use the triton CLI to establish a VNC proxy session

{% code title="Using triton-cli to establish a VNC session" %}

```bash
$ triton inst ls
SHORTID   NAME          IMG                  STATE    FLAGS  AGE
dec9179d  mnx-test-vnc  centos-8@20200528    running  K      19w
1928324a  mnx-webserve  freebsd-12@20190424  running  K      18w

$ triton inst vnc dec9179d
Listening on vnc://127.0.0.1:60823
```

{% endcode %}

Now, use your VNC program to connect to the listening address and you will have access to the console.
