Skip to main content
sisrayilov
Staff
March 25, 2025

Technical Tip: How to connect to VNC server through custom VNC secret template on FortiPAM

  • March 25, 2025
  • 0 replies
  • 402 views
Description

 

This article describes how to connect VNC server using a custom VNC template that is created manually. 

 

Scope

 

FortiPAM.

 

Solution

 

The first necessary step is to create a secret template dedicated for the VNC server connection. It can be done by following the path Secret Settings -> Templates -> Create, then filling the details in and submitting it. 

 

VNC secret temp.png

 

The 'Permission' section and 'TOTP setting' can also be modified based on needs. 
After creating the VNC secret template, a dedicated target needs to be created by selecting the created template through the path Secrets -> Targets -> Create, as shown below.

VNC target.png

 

The next step is to create a secret to be able to connect to the VNC server by following the path Secrets -> Secrets -> Create and selecting the created template that is dedicated to the VNC server connection.
  VNC secret.png

 
To launch the dedicated secret, the 'Launch Secret' option needs to be run after selecting the secret from the secrets list. The connection will directly start if only the 'Web-VNC' option is configured in the 'Launchers' section in the secret template settings. 

launch secret.png

 connection.png

 

To troubleshoot it, run the below debug commands in the FortiPAM CLI:

 

diagnose wad debug enable category secret

diagnose wad debug enable category vnc 

diagnose wad debug enable level verbose

diagnose debug enable

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!