Bruno Bertechini
2008-Oct-18 14:50 UTC
[Xen-users] [Solved] Xen fixed VNC Ports -- HVM and PV
Dear all, In case of someone else is trying to do the same configuration as mine, I stated below the steps to configure HVM and PV''s domains to use FIXED VNC Ports (instead of having Xen automatically assign one unused port based on domain id): For HVM''s: vnc=1 # Enable VNC vncconsole=0 # Don''t start vncviewer after "create" the domain vncunused=0 # Don''t automatically assign unused port based on domain id vncdisplay=2 # VNC Port Number to be added to "59". e.g.: vncdisplay=2 : port=5902 , vncdisplay=30 : port 5930 For PV''s vfb=["type=vnc,vncunused=0,vncdisplay=44"] Same configuration items from HVM''s, but the config lines are different. They should be inside the vfb property. (Do not need any other line). It makes xen understand it and assign correct ports: lsof -i | grep 59 qemu-dm 10052 root 7u IPv4 22548 TCP 127.0.0.1:5926 (LISTEN) qemu-dm 11059 root 6u IPv4 24794 TCP 127.0.0.1:5944 (LISTEN) qemu-dm 11551 root 7u IPv4 25447 TCP 127.0.0.1:5923 (LISTEN) I hope it helps :-) Regards Bruno Bertechini Project Manager Acensco Technology _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users