> For the complete documentation index, see [llms.txt](https://n000b3r.gitbook.io/oscp-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://n000b3r.gitbook.io/oscp-notes/services/5800-or-5801-or-5900-or-5901-vnc.md).

# (5800|5801|5900|5901) VNC

<details>

<summary>Searching for VNC service on Victim</summary>

```bash
ps -ef | grep vnc
ss -antlp
```

</details>

<details>

<summary>Connect to VNC</summary>

```bash
vncviewer 127.0.0.1:5901
```

</details>
