Hi, I''m trying so give all my guests a static vnc display my Configfile looks like this. 1 ostype = "opensuse" 2 name = "suse-10.3-testcups" 3 builder = "linux" 4 memory = 512 5 vcpus = 1 6 uuid = "c6d9aa20-06c4-46f5-81e8-7906f7cfb642" 7 on_crash = "destroy" 8 on_poweroff = "destroy" 9 on_reboot = "restart" 10 localtime = 0 11 bootloader = "/usr/lib/xen/boot/domUloader.py" 12 bootargs = "--entry=xvda1:/boot/vmlinuz-xen,/boot/initrd-xen" 13 extra = " " 14 disk = [ ''file:/vm/domains/suse-10.3-hfuchs-testcups/suse-10.3-testcups.img,xvda,w'', ''file:/vm/domains/suse-10.3--testcups/suse-10.3-testcups.swap,xvdb,w'', ] 15 vif = [ ''mac=53:1b:e8:31:0d:ba'', ] 16 vfb = [''type=vnc,vncunused=1,vncdisplay=10''] But it doesnt work, is there something wrong in my configfile? I''m using Xen on SLES 10. Regards Marcus _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thursday 06 March 2008 23:20:13 marcus wrote:> Hi, > > I''m trying so give all my guests a static vnc display my Configfile > looks like this. >, ] 15 vif = [ ''mac=53:1b:e8:31:0d:ba'', ] > 16 vfb = [''type=vnc,vncunused=1,vncdisplay=10'']My best guess here would be that you''ve got both vncunused and vncdisplay set. The vncunused parameter normally binds the VNC display to 5900+N where N is the number specified by vncunused (in other words 5901 in your case). I''d check to see if VNC is listening on port 5901. I''m not sure if having both parameters breaks both or if the second one is simply ignored, however I think you should remove the vncunused setting. Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sunday 09 March 2008 10:19:22 pm Jonathan Ervine wrote:> My best guess here would be that you''ve got both vncunused and > vncdisplay set. The vncunused parameter normally binds the VNC display > to 5900+N where N is the number specified by vncunused (in other words > 5901 in your case). I''d check to see if VNC is listening on port 5901. > I''m not sure if having both parameters breaks both or if the second one > is simply ignored, however I think you should remove the vncunused > setting.Actually, vncunused=1 says use the first unused vnc port. vncunused=0 shuts off that behavior. From SuSE''s /etc/xen/examples/xmexample1: # The backend listens on 127.0.0.1 port 5900+N by default, where N is # the domain ID. You can override both address and N: # # vfb = [ ''type=vnc,vnclisten=127.0.0.1,vncdisplay=1'' ] # # Or you can bind the first unused port above 5900: # # vfb = [ ''type=vnc,vnclisten=0.0.0.0,vnunused=1'' ] _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Monday 10 March 2008 10:55:41 jim burns wrote:> On Sunday 09 March 2008 10:19:22 pm Jonathan Ervine wrote: > > My best guess here would be that you''ve got both vncunused and > > vncdisplay set. The vncunused parameter normally binds the VNC > > display to 5900+N where N is the number specified by vncunused (in > > other words 5901 in your case). I''d check to see if VNC is > > listening on port 5901. I''m not sure if having both parameters > > breaks both or if the second one is simply ignored, however I think > > you should remove the vncunused setting. > > Actually, vncunused=1 says use the first unused vnc port. vncunused=0 > shuts off that behavior. From SuSE''s /etc/xen/examples/xmexample1: > > # The backend listens on 127.0.0.1 port 5900+N by default, where N is > # the domain ID. You can override both address and N: > # > # vfb = [ ''type=vnc,vnclisten=127.0.0.1,vncdisplay=1'' ] > # > # Or you can bind the first unused port above 5900: > # > # vfb = [ ''type=vnc,vnclisten=0.0.0.0,vnunused=1'' ]Yes, I saw that. However the OP has both vncunused and also vncdisplay parameters and he wants to hard set a specific port for his VM. Having both of these parameters set seems incorrect to me, and he should remove the vncunused parameter (as per the first vfb example in the xmexample1 file). Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users