coder-enterprise-images/images/vnc/README.md

786 B

VNC in Coder

A sample image for Coder that uses noVNC as the client and TigerVNC as the server.

To connect

  • Option 1 (Web): Create a dev URL on port 6081 and navigate to it

  • Option 2 (SSH Tunneling): Use SSH tunneling to expose the VNC server to your local machine. You will need the coder-cli and a VNC client installed on your local machine.

    coder config-ssh
    # Forward the remote VNC server to your local machine
    ssh -L -N 5990:localhost:5990 coder.[env-name]
    # You will not see any output if it succeeds, but you
    # will be able to connect your VNC client to localhost:5990