Specifications

Table Of Contents
VMware Server Administration Guide
80 VMware, Inc.
Change!the!port!number!902!in!this!case!to!the!desired!number.
If!your!host!is!configured!to!use!inetd,!look!for!the!following!line!in!/etc/inetd.conf:
902 … vmware-authd
Change!the!port!number!902!in!this!case!to!the!desired!number.!All!clients!connecting!
to!virtual!machines!on!this!host!must!use!this
!port!number.
To!change!the!port!number!used!by!the!VMware!Server!Console!installed!on!a!Linux!
host!or!client,!add!the!following!line!to!either!/etc/vmware-server-console/config!or!
/usr/lib/vmware-server-console/config:
authd.client.port = <portNumber>
where!<portNumber>!is!the!port!number!that!all!clients!on!this!machine!connecting!to!
virtual!machines!on!the!VMware!Server!host!must
!use.!The!VMware!Server!host!must!
have!this!port!number!set!to!the!authd.port!variable!in!its!config.ini!file!(Windows!
host)!or!vmware-authd!file!(Linux!host).!
NOTE If!the!port!numbers!specified!in!these!files!are!different,!the!port!number!
specified!in!/etc/vmware-server-console/config!takes!precedence.
To!change!the!port!number!for!a!specific!user!who!is!using!the!VMware!Server!Console!
installed!on!a!Linux!host,!add!the!following!line!to!~/.vmware/preferences:
authd.client.port = <portNumber>
where!<portNumber>!is!the!port!number!to!use!only!when!this!user!is!logged!on!and!
using!a!VMware!
Server!Console!to!connect!to!a!virtual!machine!on!the!VMware!Server!
host.!
The!VMware!Server!host!must!have!this!port!number!set!to!the!authd.port!variable!in!
its!config.ini!file!(Windows!host)!or!vmware-authd!file!(Linux!host).!
When!this!user!is!logged!on,!the!port!number!specified!in!~/.vmware/preferences!
supersedes
!the!port!number!specified!in!/etc/vmware-server-console/config!or!
/usr/lib/vmware-server-console/config.
Substituting a Port Number with the VMware Scripting APIs
With!the!VMware!Scripting!APIs,!you!can!supply!a!different!port!number!when!you!
create!a!new!virtual!machine!object.!This!port!number!must!match!the!port!number!set!
on!the!VMware!Server!host,!which!is!set!by!the!authd.port!variable!in!the!config.ini!
file!(Windows!host)!or!vmware-authd!file!(Linux
!host).