VNC Port

Hello,

Is there a way to get the VNC (Graphical Console) port of the system(s) via the Remote API?

I hope this will not end up with me answering my own question again. :slight_smile:

Spyros

Just letting the community know.

The only way I found is:

EDIT:

/usr/share/webmin/server-manager/list-systems.pl

ADD:

if ($s->{'kvm_vnc_display'}) { $vncport = $s->{'kvm_vnc_display'} + 5900; print " VNC Port: $vncport\n"; }

Now it’s on the list-systems API command

Spyros