VPS Lime
2010-Nov-22 04:11 UTC
[Xen-users] What is required for Xen to show VNC for HVM installs?
I have a stock CentosOS xen install. (Just choose "Virtualization" from the install package list). It is running paravirtualized VMs with no issues, however when I attempt to install a different operating system (like Ubuntu) using HVM and VNC=1, I can never attach the VNC client (remote) to the server. The exact same xen configuration file works on a different server. I''ve turned off IPTABLES on the server having problems, so it is not a firewall problem. Are there any special packages that I need to install to get the vnc session to come up? I''m using a low vnc port (like 30), but that is not a problem on the other server. I don''t see any errors in the xen log, and I''ve tried both a virt-install scripted install and a normal hand-built config + xm create, but neither brought up the vnc console. Thanks in advance Here is my xen config file, in case it gives any clues name = "xen1-130" builder = "hvm" memory = "384" disk [''tap:aio:/xen/xen1-130.img,ioemu:hda,w'',''file:/xen/isos/ubuntu-10.04.1-server-i386.iso,hdc:cdrom,r''] vif = [ ''type=ioemu,mac=00:16:3e:01:01:24,bridge=xenbr1,vifname=xen1-130''] device_model = "/usr/lib64/xen/bin/qemu-dm" kernel = "/usr/lib/xen/boot/hvmloader" vnc=1 vncdisplay=30 boot="d" vcpus=4 acpi="0" serial = "pty" # enable serial console on_reboot = ''restart'' on_crash = ''restart'' _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
chris
2010-Nov-22 05:10 UTC
Re: [Xen-users] What is required for Xen to show VNC for HVM installs?
does netstat show vnc listening? did you change the interface vnc binds to in xend-config.sxp? On Sun, Nov 21, 2010 at 11:11 PM, VPS Lime <vpslime@gmail.com> wrote:> I have a stock CentosOS xen install. (Just choose "Virtualization" from the > install package list). It is running paravirtualized VMs with no issues, > however when I attempt to install a different operating system (like Ubuntu) > using HVM and VNC=1, I can never attach the VNC client (remote) to the > server. The exact same xen configuration file works on a different server. > I''ve turned off IPTABLES on the server having problems, so it is not a > firewall problem. Are there any special packages that I need to install to > get the vnc session to come up? I''m using a low vnc port (like 30), but > that is not a problem on the other server. I don''t see any errors in the xen > log, and I''ve tried both a virt-install scripted install and a normal > hand-built config + xm create, but neither brought up the vnc console. > Thanks in advance > Here is my xen config file, in case it gives any clues > name = "xen1-130" > builder = "hvm" > memory = "384" > disk > [''tap:aio:/xen/xen1-130.img,ioemu:hda,w'',''file:/xen/isos/ubuntu-10.04.1-server-i386.iso,hdc:cdrom,r''] > vif = [ ''type=ioemu,mac=00:16:3e:01:01:24,bridge=xenbr1,vifname=xen1-130''] > device_model = "/usr/lib64/xen/bin/qemu-dm" > kernel = "/usr/lib/xen/boot/hvmloader" > vnc=1 > vncdisplay=30 > boot="d" > vcpus=4 > acpi="0" > serial = "pty" # enable serial console > on_reboot = ''restart'' > on_crash = ''restart'' > _______________________________________________ > 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
VPS Lime
2010-Nov-22 16:03 UTC
Re: [Xen-users] What is required for Xen to show VNC for HVM installs?
I found the issue - I had changed the vnc-listen in the xend-config.swx, but had not restarted Dom0 so it never got picked up. When I added a vnclisten="<IP ADDRESS>" to the DomU config file, I was able to connect. On Mon, Nov 22, 2010 at 12:10 AM, chris <tknchris@gmail.com> wrote:> does netstat show vnc listening? did you change the interface vnc > binds to in xend-config.sxp? > > On Sun, Nov 21, 2010 at 11:11 PM, VPS Lime <vpslime@gmail.com> wrote: > > I have a stock CentosOS xen install. (Just choose "Virtualization" from > the > > install package list). It is running paravirtualized VMs with no issues, > > however when I attempt to install a different operating system (like > Ubuntu) > > using HVM and VNC=1, I can never attach the VNC client (remote) to the > > server. The exact same xen configuration file works on a different > server. > > I''ve turned off IPTABLES on the server having problems, so it is not a > > firewall problem. Are there any special packages that I need to install > to > > get the vnc session to come up? I''m using a low vnc port (like 30), but > > that is not a problem on the other server. I don''t see any errors in the > xen > > log, and I''ve tried both a virt-install scripted install and a normal > > hand-built config + xm create, but neither brought up the vnc console. > > Thanks in advance > > Here is my xen config file, in case it gives any clues > > name = "xen1-130" > > builder = "hvm" > > memory = "384" > > disk > > > [''tap:aio:/xen/xen1-130.img,ioemu:hda,w'',''file:/xen/isos/ubuntu-10.04.1-server-i386.iso,hdc:cdrom,r''] > > vif = [ > ''type=ioemu,mac=00:16:3e:01:01:24,bridge=xenbr1,vifname=xen1-130''] > > device_model = "/usr/lib64/xen/bin/qemu-dm" > > kernel = "/usr/lib/xen/boot/hvmloader" > > vnc=1 > > vncdisplay=30 > > boot="d" > > vcpus=4 > > acpi="0" > > serial = "pty" # enable serial console > > on_reboot = ''restart'' > > on_crash = ''restart'' > > _______________________________________________ > > 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