[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] XEN 4.3.1 VNC TLS is not working?


  • To: xen-users@xxxxxxxxxxxxx
  • From: "NiX" <nix@xxxxxxxxxxxxxxxx>
  • Date: Mon, 25 Nov 2013 19:39:05 +0200
  • Delivery-date: Mon, 25 Nov 2013 17:40:07 +0000
  • Importance: Normal
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi. I am using XEN 4.3.1 source compile. In /etc/xen/xend-config.sxp I've
the following settings enabled:

(vnc-tls 1)
(vnc-x509-cert-dir /etc/xen/cert)

ls -la /etc/xen/cert
total 20
drwxr-sr-x 2 root root 4096 Nov 25 06:01 .
drwxr-sr-x 6 root root 4096 Nov 25 05:18 ..
-rw-r--r-- 1 root root 2660 Nov 25 06:00 ca-cert.pem
-rw-r--r-- 1 root root 1846 Nov 25 06:01 server-cert.pem
-rw-r--r-- 1 root root 1675 Nov 25 06:01 server-key.pem

Finally my guest config as follows:

----------------------------------------

builder="generic"
vcpus=1
memory=2048
name="10.100.12.5"

kernel="/xen/kernels/vmlinuz-2.6.32.61-AMD-grsec"

#ramdisk=""
extra="root=/dev/xvda1 xencons=tty1 earlyprintk=xen"

vif = [ "ip=10.100.12.5,mac=00:16:3E:30:B3:2E,model=e1000,bridge=br0" ]
disk = [ "raw:/xen/images/debian_64.img,ioemu:xvda,w" ]
vfb = [ "type=vnc,vnclisten=10.100.12.10,vncdisplay=10,vncpasswd=test12345" ]

serial="pty"
boot = "c"

sdl=0
monitor=1

localtime=0
xen_platform_pci=1
stdvga=1
gfx_passthru=0

keymap="fi"

on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"

----------------------------------------

ps -ef | grep qemu

root     24401     1  2 19:37 ?        00:00:00
/usr/lib/xen/bin/qemu-system-i386 -xen-domid 16 -chardev
socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-16,server,nowait -mon
chardev=libxl-cmd,mode=control -xen-attach -name 10.100.12.5 -vnc
10.100.12.10:10,password,to=99 -M xenpv -m 2049

Why I can't get VNC TLS working? When I was doing source compile, I
remember it compiled QEMU automatically with TLS

I've googled for this several hours and tried many things but no luck yet.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.