Update VNC link to use RealVNC protocol in displaypcs.asp

Changed vnc:// to com.realvnc.vncviewer.connect:// for proper
RealVNC Viewer integration.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
cproudlock
2025-12-09 11:58:39 -05:00
parent 9f8a0577d8
commit 869788c0e3

View File

@@ -258,7 +258,7 @@ Set rsStatus = Nothing
End If End If
If hasVnc And Not IsNull(rs("hostname")) And rs("hostname") <> "" Then If hasVnc And Not IsNull(rs("hostname")) And rs("hostname") <> "" Then
vncHost = rs("hostname") & ".logon.ds.ge.com" vncHost = rs("hostname") & ".logon.ds.ge.com"
Response.Write("<a href=""vnc://" & Server.HTMLEncode(vncHost) & """ title=""Connect via VNC""><span class='badge badge-success'>VNC</span></a>") Response.Write("<a href=""com.realvnc.vncviewer.connect://" & Server.HTMLEncode(vncHost) & """ title=""Connect via VNC""><span class='badge badge-success'>VNC</span></a>")
ElseIf hasVnc Then ElseIf hasVnc Then
Response.Write("<span class='badge badge-warning' title='VNC enabled but no hostname'>VNC</span>") Response.Write("<span class='badge badge-warning' title='VNC enabled but no hostname'>VNC</span>")
Else Else