This article covers how to license and configure the RealVNC Server and RealVNC Viewer applications for macOS with Jamf Pro. The steps below require that you have already enrolled your macOS devices to Jamf Pro.
RealVNC Server
Licensing Online/Cloud
- Log in to your Jamf Pro Cloud Dashboard.
- On the left menu, click Settings.
- In the search bar, type scripts and click the Scripts option.
- Click New.
- Complete the script details. The below is the minimum required to deploy the application, please customise to meet your requirements.
- Click Save.
- Log in to your Jamf Pro Cloud Dashboard.
- On the left menu, click Computers, then click Policies.
- Click New.
- Complete the policy details. The below is the minimum required to deploy the script, please customise to meet your requirements.
- Under the Options tab:
- In the General section:
- In the Scripts section:
- Click Configure to enable the Scripts section.
- Click Add next to the script you wish to deploy, for example: RealVNC Server - Cloud Join
- Set the Priority to After.
- Enter your cloud connectivity token as a parameter for the script.
- Click Configure to enable the Scripts section.
- Under the Scope tab
- Under the Options tab:
- Click Save.
- Jamf Pro will begin deploying the policy.
- You can choose to Show in Jamf Pro Dashboard to easily track the progress of the deployment.
Licensing Offline
- Log in to your Jamf Pro Cloud Dashboard.
- On the left menu, click Settings.
- In the search bar, type scripts and click the Scripts option.
- Click New.
- Complete the script details. The below is the minimum required to deploy the application, please customise to meet your requirements.
- Click Save.
- Log in to your Jamf Pro Cloud Dashboard.
- On the left menu, click Computers, then click Policies.
- Click New.
- Complete the policy details. The below is the minimum required to deploy the script, please customise to meet your requirements.
- Under the Options tab:
- In the General section:
- In the Scripts section:
- Click Configure to enable the Scripts section.
- Click Add next to the script you wish to deploy, for example: RealVNC Server - Offline License
- Set the Priority to After.
- Enter your offline license as a parameter for the script.
- Click Configure to enable the Scripts section.
- Under the Scope tab
- Under the Options tab:
- Click Save.
- Jamf Pro will begin deploying the policy.
- You can choose to Show in Jamf Pro Dashboard to easily track the progress of the deployment.
Configuration
- Log in to your Jamf Pro Cloud Dashboard.
- On the left menu, click Settings.
- In the search bar, type scripts and click the Scripts option.
- Click New.
- Complete the script details. The below is the minimum required to deploy the application, please customise to meet your requirements.
- Under the General tab:
- Under the Script tab:
- Set Mode to Shell/Bash.
- Enter the below script contents.
Note, the parameters shown are for example purposes only and can be added to, amended, or removed as appropriate. For a list of available parameters, please see RealVNC Server Parameter Reference
#!/bin/zsh mkdir -p /etc/vnc/policy.d cat << "EOF" > /etc/vnc/policy.d/vncserver Authentication=SystemAuth Encryption=AlwaysMaximum Permissions=%admin:d QueryConnect=0 EOF
- Under the Options tab:
- Set Priority to After.
- Click Save.
- Log in to your Jamf Pro Cloud Dashboard.
- On the left menu, click Computers, then click Policies.
- Click New.
- Complete the policy details. The below is the minimum required to deploy the script, please customise to meet your requirements.
- Under the Options tab:
- In the General section:
- In the Scripts section:
- Under the Scope tab
- Under the Options tab:
- Click Save.
- Jamf Pro will begin deploying the policy.
- You can choose to Show in Jamf Pro Dashboard to easily track the progress of the deployment.
RealVNC Viewer
Licensing Offline
- Log in to your Jamf Pro Cloud Dashboard.
- On the left menu, click Settings.
- In the search bar, type scripts and click the Scripts option.
- Click New.
- Complete the script details. The below is the minimum required to deploy the application, please customise to meet your requirements.
- Click Save.
- Log in to your Jamf Pro Cloud Dashboard.
- On the left menu, click Computers, then click Policies.
- Click New.
- Complete the policy details. The below is the minimum required to deploy the script, please customise to meet your requirements.
- Under the Options tab:
- In the General section:
- In the Scripts section:
- Under the Scope tab
- Under the Options tab:
- Click Save.
- Jamf Pro will begin deploying the policy.
- You can choose to Show in Jamf Pro Dashboard to easily track the progress of the deployment.
Configuration
- Log in to your Jamf Pro Cloud Dashboard.
- On the left menu, click Settings.
- In the search bar, type scripts and click the Scripts option.
- Click New.
- Complete the script details. The below is the minimum required to deploy the application, please customise to meet your requirements.
- Under the General tab:
- Under the Script tab:
- Set Mode to Shell/Bash.
- Enter the below script contents.
Note, the parameters shown are for example purposes only and can be added to, amended, or removed as appropriate. For a list of available parameters, please see RealVNC Viewer Parameter Reference
#!/bin/zsh mkdir -p /etc/vnc/policy.d cat << "EOF" > /etc/vnc/policy.d/vncviewer AllowSignIn=0
SessionRecordAllSessions=1
Encryption=AlwaysOn EOF
- Under the Options tab:
- Set Priority to After.
- Click Save.
- Log in to your Jamf Pro Cloud Dashboard.
- On the left menu, click Computers, then click Policies.
- Click New.
- Complete the policy details. The below is the minimum required to deploy the script, please customise to meet your requirements.
- Under the Options tab:
- In the General section:
- In the Scripts section:
- Under the Scope tab
- Under the Options tab:
- Click Save.
- Jamf Pro will begin deploying the policy.
- You can choose to Show in Jamf Pro Dashboard to easily track the progress of the deployment.
Comments
Article is closed for comments.