VNC Port

2 posts / 0 new
Last post
#1 Fri, 11/02/2012 - 11:29
hostdog

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. :)

Spyros

Fri, 11/02/2012 - 11:56
hostdog

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

Topic locked