[one-users] VNC problem: Failed to connect to server (code: 1006)
People, I repeat my problem People, I up a VM, but when try conection whit VNC, I present the problem: Failed to connect to server (code: 1006) ?Any Ideas? 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VNC problem: Failed to connect to server (code: 1006)
Hi, On 29 April 2013 14:25, ahernan...@tesla.cujae.edu.cu wrote: People, I repeat my problem People, I up a VM, but when try conection whit VNC, I present the problem: Failed to connect to server (code: 1006) ?Any Ideas? Please use the same thread, so other people, facing the same problem, can find a solution in the future. Thank you. -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VNC problem: Failed to connect to server (code: 1006)
Hi, On 26 April 2013 15:56, ahernan...@tesla.cujae.edu.cu wrote: Hi anagba b, thank for you answer, I see that I don't have novnc-server How obtain novnc-server bin Any Ideas? PD: I have install install_novnc.sh What OpenNebula version are you using? Cheers El 2013-04-26 02:32, anagha b escribió: Try to kill the vnc proxy and relaunch it manually . May be you can find the cause of error. On Thu, Apr 25, 2013 at 11:17 PM, ahernan...@tesla.cujae.edu.cu** wrote: People, I up a VM, but when try conection whit VNC, I present the problem: Failed to connect to server (code: 1006) ?Any Ideas? 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu [1] Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu [2] __**_ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org[3] Links: -- [1] http://cujae.edu.cu [2] http://www.ecured.cu [3] http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu __**_ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VNC problem: Failed to connect to server (code: 1006)
I use OpenNebula 3.8.3, and Hypervisor ESXi 5.0 El 2013-04-29 08:53, Daniel Molina escribió: Hi, On 26 April 2013 15:56, ahernan...@tesla.cujae.edu.cu wrote: Hi anagba b, thank for you answer, I see that I don't have novnc-server How obtain novnc-server bin Any Ideas? PD: I have install install_novnc.sh What OpenNebula version are you using? Cheers El 2013-04-26 02:32, anagha b escribió: Try to kill the vnc proxy and relaunch it manually . May be you can find the cause of error. On Thu, Apr 25, 2013 at 11:17 PM, ahernan...@tesla.cujae.edu.cu wrote: People, I up a VM, but when try conection whit VNC, I present the problem: Failed to connect to server (code: 1006) ?Any Ideas? 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu [1] [1] Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu [2] [2] ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [3] [3] Links: -- [1] http://cujae.edu.cu [1] [2] http://www.ecured.cu [2] [3] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [3] 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu [1] Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu [2] ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [3] -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org [4] | dmol...@opennebula.org | @OpenNebula Links: -- [1] http://cujae.edu.cu [2] http://www.ecured.cu [3] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [4] http://www.OpenNebula.org 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VNC problem: Failed to connect to server (code: 1006)
On 29 April 2013 15:33, ahernan...@tesla.cujae.edu.cu wrote: I use OpenNebula 3.8.3, and Hypervisor ESXi 5.0 Did you follow this step, to allow VNC inbound connections? http://opennebula.org/documentation:rel3.8:evmwareg#vnc El 2013-04-29 08:53, Daniel Molina escribió: Hi, On 26 April 2013 15:56, ahernan...@tesla.cujae.edu.cu** wrote: Hi anagba b, thank for you answer, I see that I don't have novnc-server How obtain novnc-server bin Any Ideas? PD: I have install install_novnc.sh What OpenNebula version are you using? Cheers El 2013-04-26 02:32, anagha b escribió: Try to kill the vnc proxy and relaunch it manually . May be you can find the cause of error. On Thu, Apr 25, 2013 at 11:17 PM, ahernan...@tesla.cujae.edu.cu** wrote: People, I up a VM, but when try conection whit VNC, I present the problem: Failed to connect to server (code: 1006) ?Any Ideas? 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu [1] [1] Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu[2] [2] __**_ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org[3] [3] Links: -- [1] http://cujae.edu.cu [1] [2] http://www.ecured.cu [2] [3] http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org[3] 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu [1] Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu [2] __**_ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org[3] -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org [4] | dmol...@opennebula.org | @OpenNebula Links: -- [1] http://cujae.edu.cu [2] http://www.ecured.cu [3] http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org [4] http://www.OpenNebula.org 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VNC problem: Failed to connect to server (code: 1006)
Hi People, Daniel Molina (dmol...@opennebula.org), and me Angel Miguel Hernandez (ahernan...@tesla.cujae.edu.cu), find the solution for problem with VNC. When you try open VNC of Virtual Machine, you obtain Failed to connect to server (code: 1006). The solution for the problem is following the step of this web site: http://t3chnot3s.blogspot.com.es/2012/03/how-to-enable-vnc-access-to-vms-on.html 1- Login to the vSphere host either at the console or remotely. NOTE: On the console, this requires logging into the ALT+F2 screen as root or other admin with permissions, going to TROUBLESHOOTING OPTIONS, and enabling either ESXi Shell (console shell access) or SSH (remote shell access). 2- Change owner on firewall folder and services.xml file \etc\vmware\firewall\services.xml I did the following (as this was my own lab in a protected environment): #CD /etc/vmware #CHOWN -R root firewall/ #CHMOD firewall/ NOTE: Use ls -l (lower case L) to see permissions on the FIREWALL folder. Then… #CD firewall/ #CHMOD service.xml NOTE: Use ls -l (lower case L) to see permissions on SERVICE.XML file. 3- Edit the SERVICE.XML file to create a VNC service. NOTE 1: Use VI or another text editor to add the below text at bottom of the file (assuming it is still in a default format). NOTE 2: If you have modified your firewall then your service id may be different! This should be a sequential number which you can get from the previous listed service. By default it should be approximately 0032. !-- VNC -- service id=0032 idVNC/id rule id='' directionoutbound/direction protocoltcp/protocol porttypedst/porttype port begin5800/begin end5999/end /port /rule rule id='0001' directioninbound/direction protocoltcp/protocol porttypedst/porttype port begin5800/begin end5999/end /port /rule enabledtrue/enabled requiredfalse/required /service NOTE 3: Use i (lower case) to insert text in VI. NOTE 4: Use [ESC] to exit insert mode within VI. NOTE 5: Use :x (i.e. colon then lower case x) to save and write changes. NOTE 6: You will notice in the above settings I am opening all ports between 5800 and 5999. You may not wish to do this!! 4- Save Services.xml file NOTE: Any errors at this point will be file/folder permissions related. 5- Refresh firewall rules esxcli network firewall refresh esxcli network firewall ruleset list (for see the rules) And the problem solved Thank to all that colaborate in the solution!!, and I send a big thanks to Tino Vasquez. -- Message: 1 Date: Mon, 29 Apr 2013 15:42:15 +0200 From: Daniel Molina dmol...@opennebula.org To: ahernan...@tesla.cujae.edu.cu Cc: OpenNebula LIST users@lists.opennebula.org Subject: Re: [one-users] VNC problem: Failed to connect to server (code: 1006) Message-ID: CAPvyweyMfzgYmLh=3sy8tfd2s4wnslu-ykaf3yzgsbnb_8j...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 On 29 April 2013 15:33, ahernan...@tesla.cujae.edu.cu wrote: I use OpenNebula 3.8.3, and Hypervisor ESXi 5.0 Did you follow this step, to allow VNC inbound connections? http://opennebula.org/documentation:rel3.8:evmwareg#vnc El 2013-04-29 08:53, Daniel Molina escribi?: Hi, On 26 April 2013 15:56, ahernan...@tesla.cujae.edu.cu** wrote: Hi anagba b, thank for you answer, I see that I don't have novnc-server How obtain novnc-server bin Any Ideas? PD: I have install install_novnc.sh What OpenNebula version are you using? Cheers El 2013-04-26 02:32, anagha b escribi?: Try to kill the vnc proxy and relaunch it manually . May be you can find the cause of error. On Thu, Apr 25, 2013 at 11:17 PM, ahernan...@tesla.cujae.edu.cu** wrote: People, I up a VM, but when try conection whit VNC, I present the problem: Failed to connect to server (code: 1006) ?Any Ideas? 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu [1] [1] Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu[2] [2] __**_ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org[3] [3] Links: -- [1] http://cujae.edu.cu [1] [2] http://www.ecured.cu [2] [3] http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org[3] 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu [1] Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu [2] __**_ Users mailing list Users
Re: [one-users] VNC problem: Failed to connect to server (code: 1006)
Hi Daniel, I restart sunstone-server when I install noVNC. another Ideas? the problem persist El 2013-04-26 05:24, Daniel Molina escribió: Hi On 25 April 2013 21:51, ahernan...@tesla.cujae.edu.cu wrote: Hi Miguel I install noVNC, I insert 0.0.0.0 adress and port 5901, and down firewall, but the problem persist when try up VNC conect to VM Failed to connect to server (code: 1006) ?Any Ideas? Did you restart sunstone-server after installing noVNC? Cheers Message: 3 Date: Thu, 25 Apr 2013 13:47:26 -0400 From: ahernan...@tesla.cujae.edu.cu To: OpenNebula LIST users@lists.opennebula.org Subject: [one-users] VNC problem: Failed to connect to server (code: 1006) Message-ID: 390e5919a261481e37bb6ad4c17f4...@tesla.cujae.edu.cu Content-Type: text/plain; charset=UTF-8; format=flowed People, I up a VM, but when try conection whit VNC, I present the problem: Failed to connect to server (code: 1006) ?Any Ideas? 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu [1] Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu [2] -- Message: 4 Date: Thu, 25 Apr 2013 20:38:50 +0200 From: Miguel ?ngel ?lvarez Cabrerizo mcabrer...@macto.es To: users@lists.opennebula.org Subject: Re: [one-users] VNC problem: Failed to connect to server (code: 1006) Message-ID: cacpsmgeqn7cm6hn_5edhggon6o0aoqheim9mzdr4ph0eem8...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Hi, if you're using OpenNebula 3.8.3 1) Check that you've installed novnc (if not go to /usr/share/one and run ./install_novnc.sh) 2) If novnc is installed check if you have set 0.0.0.0 address in the Graphics section of your VM (you should insert a port also e.g 5901). 3) If you are running iptables try to stop the firewall maybe you need a rule to allow traffic. Regards, Miguel -- *Miguel ?ngel ?lvarez Cabrerizo* MACTO apps ? cloud ? security* **Blog http://n40lab.wordpress.com [3] Skype n40lab Email mcabrerizo at macto.es [4]* -- next part -- An HTML attachment was scrubbed... URL: http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130425/3d2e1d51/attachment-0001.htm [5] -- ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [6] End of Users Digest, Vol 62, Issue 109 ** 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu [1] Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu [2] ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [6] -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org [7] | dmol...@opennebula.org | @OpenNebula Links: -- [1] http://cujae.edu.cu [2] http://www.ecured.cu [3] http://n40lab.wordpress.com [4] http://macto.es [5] http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130425/3d2e1d51/attachment-0001.htm [6] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [7] http://www.OpenNebula.org 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] VNC problem: Failed to connect to server (code: 1006)
People, I up a VM, but when try conection whit VNC, I present the problem: Failed to connect to server (code: 1006) ?Any Ideas? 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VNC problem: Failed to connect to server (code: 1006)
Hi, if you're using OpenNebula 3.8.3 1) Check that you've installed novnc (if not go to /usr/share/one and run ./install_novnc.sh) 2) If novnc is installed check if you have set 0.0.0.0 address in the Graphics section of your VM (you should insert a port also e.g 5901). 3) If you are running iptables try to stop the firewall maybe you need a rule to allow traffic. Regards, Miguel -- *Miguel Ángel Álvarez Cabrerizo* MACTO apps · cloud · security* **Blog http://n40lab.wordpress.com Skype n40lab Email mcabrerizo at macto.es* ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org