# 4.12.1 VNC capabilities for imported VMs from vCenter

**URL:** <https://forum.opennebula.io/t/4-12-1-vnc-capabilities-for-imported-vms-from-vcenter/584>\
**Category:** Product Support\
**Created:** [April 10, 2015, 12:54pm UTC](https://forum.opennebula.io/t/4-12-1-vnc-capabilities-for-imported-vms-from-vcenter/584 "2015-04-10T12:54:49Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![vincenzo\_barbieri](https://avatars.discourse-cdn.com/v4/letter/v/8edcca/32.png) [@vincenzo\_barbieri](https://forum.opennebula.io/u/vincenzo_barbieri)\
**Post date:** [April 10, 2015, 12:54pm UTC](https://forum.opennebula.io/t/4-12-1-vnc-capabilities-for-imported-vms-from-vcenter/584/1 "2015-04-10T12:54:49Z")

</div>

I updated the release from 4:12 to 4.12.1, I did a refresh of vm but I do not see the possibility of using the vnc.  
I have to remove all or is there a procedure to follow?

---

<div class="post-metadata">

**Author:** ![tinova](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/tinova/32/25_2.png) [@tinova](https://forum.opennebula.io/u/tinova)\
**Post date:** [April 10, 2015, 4:06pm UTC](https://forum.opennebula.io/t/4-12-1-vnc-capabilities-for-imported-vms-from-vcenter/584/2 "2015-04-10T16:06:42Z")

</div>

This new feature will only apply to newly imported VMs, you will need to reimport these VMs.

---

<div class="post-metadata">

**Author:** ![vincenzo\_barbieri](https://avatars.discourse-cdn.com/v4/letter/v/8edcca/32.png) [@vincenzo\_barbieri](https://forum.opennebula.io/u/vincenzo_barbieri)\
**Post date:** [April 11, 2015, 8:38pm UTC](https://forum.opennebula.io/t/4-12-1-vnc-capabilities-for-imported-vms-from-vcenter/584/3 "2015-04-11T20:38:09Z")

</div>

Hi

thanks for response but if I try to import the command onevcenter vms --vcenter srv004it --vuser administrator --vpass xxxxxx , tells me that there are no vm import.  
there is a command to re-import

---

<div class="post-metadata">

**Author:** ![tinova](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/tinova/32/25_2.png) [@tinova](https://forum.opennebula.io/u/tinova)\
**Post date:** [April 13, 2015, 8:56am UTC](https://forum.opennebula.io/t/4-12-1-vnc-capabilities-for-imported-vms-from-vcenter/584/4 "2015-04-13T08:56:05Z")

</div>

Since the VMs are already imported, OpenNebula won’t offer to reimport them again. There are various ways to work around this, probably the easier would be to erase OpenNebula DB (by default in /var/lib/one/one.db), although you’d lose all the infomration of the VMs in OpenNebula.

---

<div class="post-metadata">

**Author:** ![vincenzo\_barbieri](https://avatars.discourse-cdn.com/v4/letter/v/8edcca/32.png) [@vincenzo\_barbieri](https://forum.opennebula.io/u/vincenzo_barbieri)\
**Post date:** [April 13, 2015, 9:34am UTC](https://forum.opennebula.io/t/4-12-1-vnc-capabilities-for-imported-vms-from-vcenter/584/5 "2015-04-13T09:34:46Z")

</div>

Hi

It’s possible to have the procedure to delete one.db ?  
I try following procedure without success  
Stop opennebula service  
cp one.db one.orig  
cat /dev/null \> one.db  
start opennebula service  
Serivce opennebula failed to start

---

<div class="post-metadata">

**Author:** ![tinova](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/tinova/32/25_2.png) [@tinova](https://forum.opennebula.io/u/tinova)\
**Post date:** [April 13, 2015, 9:55am UTC](https://forum.opennebula.io/t/4-12-1-vnc-capabilities-for-imported-vms-from-vcenter/584/6 "2015-04-13T09:55:59Z")

</div>

Could you share the log file (/var/log/one/oned.log)?

---

<div class="post-metadata">

**Author:** ![vincenzo\_barbieri](https://avatars.discourse-cdn.com/v4/letter/v/8edcca/32.png) [@vincenzo\_barbieri](https://forum.opennebula.io/u/vincenzo_barbieri)\
**Post date:** [April 13, 2015, 10:19am UTC](https://forum.opennebula.io/t/4-12-1-vnc-capabilities-for-imported-vms-from-vcenter/584/7 "2015-04-13T10:19:20Z")

</div>

the server failed to start below the error in the log

Mon Apr 13 06:17:05 2015 [Z0][ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG]  
Mon Apr 13 06:17:05 2015 [Z0][ONE][I]: Support for xmlrpc-c \> 1.31: yes  
Mon Apr 13 06:17:05 2015 [Z0][ONE][I]: Checking database version.  
Mon Apr 13 06:17:05 2015 [Z0][ONE][I]: oned is using version 4.11.80 for local\_db\_versioning  
Mon Apr 13 06:17:05 2015 [Z0][ONE][I]: oned is using version 4.11.80 for db\_versioning  
Mon Apr 13 06:17:05 2015 [Z0][ACL][I]: Starting ACL Manager…  
Mon Apr 13 06:17:05 2015 [Z0][ACL][I]: ACL Manager started.  
Mon Apr 13 06:17:05 2015 [Z0][ONE][E]: Password file /var/lib/one//.one/sunstone\_auth already exists but OpenNebula is boostraping the database. Check your database configuration in oned.conf.

---

<div class="post-metadata">

**Author:** ![tinova](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/tinova/32/25_2.png) [@tinova](https://forum.opennebula.io/u/tinova)\
**Post date:** [April 13, 2015, 10:21am UTC](https://forum.opennebula.io/t/4-12-1-vnc-capabilities-for-imported-vms-from-vcenter/584/8 "2015-04-13T10:21:32Z")

</div>

Please erase the contents of /var/lib/one/.one/ and try again.

---

<div class="post-metadata">

**Author:** ![vincenzo\_barbieri](https://avatars.discourse-cdn.com/v4/letter/v/8edcca/32.png) [@vincenzo\_barbieri](https://forum.opennebula.io/u/vincenzo_barbieri)\
**Post date:** [April 13, 2015, 10:35am UTC](https://forum.opennebula.io/t/4-12-1-vnc-capabilities-for-imported-vms-from-vcenter/584/9 "2015-04-13T10:35:39Z")

</div>

below the error  
Mon Apr 13 06:34:58 2015 [Z0][ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG]  
Mon Apr 13 06:34:58 2015 [Z0][ONE][I]: Support for xmlrpc-c \> 1.31: yes  
Mon Apr 13 06:34:58 2015 [Z0][ONE][I]: Checking database version.  
Mon Apr 13 06:34:58 2015 [Z0][ONE][I]: oned is using version 4.11.80 for local\_db\_versioning  
Mon Apr 13 06:34:58 2015 [Z0][ONE][I]: oned is using version 4.11.80 for db\_versioning  
Mon Apr 13 06:34:58 2015 [Z0][ACL][I]: Starting ACL Manager…  
Mon Apr 13 06:34:58 2015 [Z0][ACL][I]: ACL Manager started.  
Mon Apr 13 06:34:58 2015 [Z0][ONE][E]: Could not open file: /var/lib/one/.one/one\_auth

---

<div class="post-metadata">

**Author:** ![tinova](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/tinova/32/25_2.png) [@tinova](https://forum.opennebula.io/u/tinova)\
**Post date:** [April 13, 2015, 12:51pm UTC](https://forum.opennebula.io/t/4-12-1-vnc-capabilities-for-imported-vms-from-vcenter/584/10 "2015-04-13T12:51:35Z")

</div>

Apologies, forgot to mention to erase both:

/var/lib/one/one.db  
/var/lib/one/.one/\*

and try again

---

<div class="post-metadata">

**Author:** ![vincenzo\_barbieri](https://avatars.discourse-cdn.com/v4/letter/v/8edcca/32.png) [@vincenzo\_barbieri](https://forum.opennebula.io/u/vincenzo_barbieri)\
**Post date:** [April 13, 2015, 1:44pm UTC](https://forum.opennebula.io/t/4-12-1-vnc-capabilities-for-imported-vms-from-vcenter/584/11 "2015-04-13T13:44:57Z")

</div>

ok now working , but I do not see the possibility of controlling the vm via vnc. I need to enable something?

---

<div class="post-metadata">

**Author:** ![tinova](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/tinova/32/25_2.png) [@tinova](https://forum.opennebula.io/u/tinova)\
**Post date:** [April 13, 2015, 2:46pm UTC](https://forum.opennebula.io/t/4-12-1-vnc-capabilities-for-imported-vms-from-vcenter/584/12 "2015-04-13T14:46:51Z")

</div>

The vCenter VM needs to have enabled the VNC in the .vmx file:

remoteDisplay.vnc.enabled = “TRUE”  
remoteDisplay.vnc.password = “password”  
remoteDisplay.vnc.port = “59xx”

---

<div class="post-metadata">

**Author:** ![vincenzo\_barbieri](https://avatars.discourse-cdn.com/v4/letter/v/8edcca/32.png) [@vincenzo\_barbieri](https://forum.opennebula.io/u/vincenzo_barbieri)\
**Post date:** [April 13, 2015, 2:58pm UTC](https://forum.opennebula.io/t/4-12-1-vnc-capabilities-for-imported-vms-from-vcenter/584/13 "2015-04-13T14:58:40Z")

</div>

Hi

for each VM?

Thanks

---

<div class="post-metadata">

**Author:** ![tinova](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/tinova/32/25_2.png) [@tinova](https://forum.opennebula.io/u/tinova)\
**Post date:** [April 13, 2015, 3:00pm UTC](https://forum.opennebula.io/t/4-12-1-vnc-capabilities-for-imported-vms-from-vcenter/584/14 "2015-04-13T15:00:46Z")

</div>

Yes, you need that for each VM that needs VNC access, before importing it to OpenNebula
