Hi, I''m trying to figure out how XEN decides which VNC port a particular VM will associate with. From what little there is in the documentation, it indicates that XEN will choose 5900+DomainID. From experience, this doesn''e seem to happen. When I start a guest domain, and do "xm list" its domainID shows as "22", however, when I netstat -a , it shows listening on 5900 (not 5900+22=5922). ??? Am I missing something, is there a way to change this behaviour? Thanks M _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, In the config change this line # try to find an unused port for the VNC server, default = 1 vncunused=1 to # try to find an unused port for the VNC server, default = 1 vncunused=0 shutdown your domains and start them up again and if you do netstat you should see it in the netstat -nat thanks Ian Tidyhosts UK - Server & Web Specialists 0871 910 6732 This email and its attachments are scanned by TidyHosts UK. All emails and attachments should also be scanned by the recipient. TidyHosts UK accept no responsibility for any damage caused by any virus attached to this email. This email is confidential and is intended only for the addressee(s). Information copied from it is prohibited unless clearly stated by TidyHosts UK. If you have received this email in error please reply to the sender. -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Lionel Kernux Sent: 23 January 2008 13:59 To: xen-users@lists.xensource.com Subject: [XEN-USERS] VNC port confusion Hi, I''m trying to figure out how XEN decides which VNC port a particular VM will associate with. From what little there is in the documentation, it indicates that XEN will choose 5900+DomainID. From experience, this doesn''e seem to happen. When I start a guest domain, and do "xm list" its domainID shows as "22", however, when I netstat -a , it shows listening on 5900 (not 5900+22=5922). ??? Am I missing something, is there a way to change this behaviour? Thanks M _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
That did it! Thanks alot! M On Jan 23, 2008 9:01 AM, Ian Tobin <itobin@tidyhosts.com> wrote:> Hi, > > In the config change this line > > # try to find an unused port for the VNC server, default = 1 > vncunused=1 > > > to > > > # try to find an unused port for the VNC server, default = 1 > vncunused=0 > > shutdown your domains and start them up again and if you do netstat you should see it in the netstat -nat > > thanks > > Ian > > Tidyhosts UK - Server & Web Specialists > 08719106732 > > This email and its attachments are scanned by TidyHosts UK. All emails and attachments should also be scanned by the recipient. TidyHosts UK accept no responsibility for any damage caused by any virus attached to this email. This email is confidential and is intended only for the addressee(s). Information copied from it is prohibited unless clearly stated by TidyHosts UK. If you have received this email in error please reply to the sender. > > > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Lionel Kernux > Sent: 23 January 2008 13:59 > To: xen-users@lists.xensource.com > Subject: [XEN-USERS] VNC port confusion > > Hi, > > I''m trying to figure out how XEN decides which VNC port a particular > VM will associate with. From what little there is in the > documentation, it indicates that XEN will choose 5900+DomainID. From > experience, this doesn''e seem to happen. When I start a guest domain, > and do "xm list" its domainID shows as "22", however, when I netstat > -a , it shows listening on 5900 (not 5900+22=5922). > > ??? > > Am I missing something, is there a way to change this behaviour? > > Thanks > > M > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users