VNC Server shows as unlicensed with multiple NICs when one NIC is disconnected


It is possible to have a system with 2 or more NICs serving different subnets. If you have a subscription that includes offline licensing, and applied the offline license when both NICs are enabled, then connections can be made to both interfaces.

In VNC Server 7.x, no action is required.

In VNC Server 6.x, license keys are bound to the first network interface found that is available when they are added to the license store. VNC Server will check the stored key against the MAC address of the first interface found. If the first network interface is disabled but another one is used, license keys will need to be re-added to the store.

Therefore, if, for example, the cable is removed from the interface to which the license key was bound, vnclicense -check shows 0/0 desktops available and remote connection attempts fail. The logfile shows:

vncserver license key is invalid, missing or has expired

To work around this, create a script that removes and re-adds keys whenever network interfaces are toggled.

Alternatively, add the license with a dummy MAC address:

vnclicense -SystemId=ffffffffffff -add KEY

(where KEY is your 25-digit license key)

Was this article helpful?
6 out of 7 found this helpful



Article is closed for comments.