# VNC and SPICE screen doesn't work

**URL:** <https://forum.opennebula.io/t/vnc-and-spice-screen-doesnt-work/8813>\
**Category:** Product Support\
**Created:** [September 9, 2020, 6:59am UTC](https://forum.opennebula.io/t/vnc-and-spice-screen-doesnt-work/8813 "2020-09-09T06:59:10Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dmitriy\_Rogozinskiy](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dmitriy_rogozinskiy/32/6677_2.png) [@Dmitriy\_Rogozinskiy](https://forum.opennebula.io/u/Dmitriy_Rogozinskiy)\
**Post date:** [September 9, 2020, 6:59am UTC](https://forum.opennebula.io/t/vnc-and-spice-screen-doesnt-work/8813/1 "2020-09-09T06:59:10Z")

</div>

I am trying to install Windows Server on OpenNebula 5.12.0.1  
I will do everything as written in the manual [[https://support.opennebula.pro/hc/en-us/articles/360042898271-How-to-Build-an-Image-for-Windows-Virtual-Machines](https://support.opennebula.pro/hc/en-us/articles/360042898271-How-to-Build-an-Image-for-Windows-Virtual-Machines)] (How to Build an Image for Windows Virtual Machines)

If I connect to the Windows Server screen via VNC protocol, then I see a black and white screen with a low resolution.If I connect to the Windows Server screen through the SPICE protocol, then I see the screen with normal resolution and in color, but the “Ctrl-Alt-Del” button is missing. As a result, I will not be able to enter the operating system.

 ![2020-09-08_18-39-45](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/a/a8c7ae79047fe2f292b39a98ee2cc1935e7ceff4.png) ![2020-09-08_18-42-54](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/7/7707c734697e5cbb53f49d9105b9071646969829.jpeg)

User template

HYPERVISOR = “kvm”  
INPUTS\_ORDER = “”  
LOGO = “images/logos/windows8.png”  
MEMORY\_UNIT\_COST = “MB”

Template

AUTOMATIC\_DS\_REQUIREMENTS = “(“CLUSTERS/ID” @\> 0)”  
AUTOMATIC\_NIC\_REQUIREMENTS = “(“CLUSTERS/ID” @\> 0)”  
AUTOMATIC\_REQUIREMENTS = “(CLUSTER\_ID = 0) & !(PUBLIC\_CLOUD = YES) & !(PIN\_POLICY = PINNED)”  
CONTEXT = [  
CONTEXT = “true”,  
DISK\_ID = “4”,  
ETH0\_CONTEXT\_FORCE\_IPV4 = “”,  
ETH0\_DNS = “8.8.8.8”,  
ETH0\_EXTERNAL = “”,  
ETH0\_GATEWAY = “192.168.122.1”,  
ETH0\_GATEWAY6 = “”,  
ETH0\_IP = “192.168.122.12”,  
ETH0\_IP6 = “”,  
ETH0\_IP6\_PREFIX\_LENGTH = “”,  
ETH0\_IP6\_ULA = “”,  
ETH0\_MAC = “02:00:c0:a8:7a:0c”,  
ETH0\_MASK = “255.255.255.0”,  
ETH0\_METRIC = “”,  
ETH0\_METRIC6 = “”,  
ETH0\_MTU = “1500”,  
ETH0\_NETWORK = “192.168.122.0”,  
ETH0\_SEARCH\_DOMAIN = “”,  
ETH0\_VLAN\_ID = “”,  
ETH0\_VROUTER\_IP = “”,  
ETH0\_VROUTER\_IP6 = “”,  
ETH0\_VROUTER\_MANAGEMENT = “”,  
IMAGE = “Context”,  
NETWORK = “YES”,  
SSH\_PUBLIC\_KEY = “”,  
TARGET = “hdd” ]  
CPU = “1”  
DISK = [  
ALLOW\_ORPHANS = “NO”,  
CLONE = “NO”,  
CLONE\_TARGET = “SYSTEM”,  
CLUSTER\_ID = “0”,  
DATASTORE = “DS\_IMAGES”,  
DATASTORE\_ID = “103”,  
DEV\_PREFIX = “vd”,  
DISK\_ID = “0”,  
DISK\_SNAPSHOT\_TOTAL\_SIZE = “0”,  
DISK\_TYPE = “FILE”,  
IMAGE = “Windows Server 2019 080920”,  
IMAGE\_ID = “19”,  
IMAGE\_STATE = “8”,  
IMAGE\_UNAME = “oneadmin”,  
LN\_TARGET = “NONE”,  
ORDER = “1”,  
ORIGINAL\_SIZE = “25600”,  
PERSISTENT = “YES”,  
READONLY = “NO”,  
SAVE = “YES”,  
SIZE = “25600”,  
SOURCE = “/var/lib/one//datastores/103/e045e998dfcbac83ecd9b09279e720cd”,  
TARGET = “vda”,  
TM\_MAD = “shared”,  
TYPE = “FILE” ]  
DISK = [  
ALLOW\_ORPHANS = “NO”,  
CLONE = “NO”,  
CLONE\_TARGET = “SYSTEM”,  
CLUSTER\_ID = “0”,  
DATASTORE = “DS\_IMAGES”,  
DATASTORE\_ID = “103”,  
DEV\_PREFIX = “hd”,  
DISK\_ID = “1”,  
DISK\_SNAPSHOT\_TOTAL\_SIZE = “0”,  
DISK\_TYPE = “FILE”,  
IMAGE = “Windows Server 2019 ISO”,  
IMAGE\_ID = “16”,  
IMAGE\_STATE = “2”,  
IMAGE\_UNAME = “oneadmin”,  
LN\_TARGET = “NONE”,  
ORDER = “2”,  
ORIGINAL\_SIZE = “5129”,  
READONLY = “YES”,  
SAVE = “NO”,  
SIZE = “5129”,  
SOURCE = “/var/lib/one//datastores/103/c2e583665c37c65b0c9669a295453626”,  
TARGET = “hda”,  
TM\_MAD = “shared”,  
TYPE = “CDROM” ]  
DISK = [  
ALLOW\_ORPHANS = “NO”,  
CLONE = “NO”,  
CLONE\_TARGET = “SYSTEM”,  
CLUSTER\_ID = “0”,  
DATASTORE = “DS\_IMAGES”,  
DATASTORE\_ID = “103”,  
DEV\_PREFIX = “hd”,  
DISK\_ID = “2”,  
DISK\_SNAPSHOT\_TOTAL\_SIZE = “0”,  
DISK\_TYPE = “FILE”,  
IMAGE = “Windows VirtIO Drivers 0.1.185 ISO”,  
IMAGE\_ID = “18”,  
IMAGE\_STATE = “2”,  
IMAGE\_UNAME = “oneadmin”,  
LN\_TARGET = “NONE”,  
ORIGINAL\_SIZE = “394”,  
READONLY = “YES”,  
SAVE = “NO”,  
SIZE = “394”,  
SOURCE = “/var/lib/one//datastores/103/da7b61d2fa9d3c5a2cd3be0e919d1366”,  
TARGET = “hdb”,  
TM\_MAD = “shared”,  
TYPE = “CDROM” ]  
DISK = [  
ALLOW\_ORPHANS = “NO”,  
CLONE = “NO”,  
CLONE\_TARGET = “SYSTEM”,  
CLUSTER\_ID = “0”,  
DATASTORE = “DS\_IMAGES”,  
DATASTORE\_ID = “103”,  
DEV\_PREFIX = “hd”,  
DISK\_ID = “3”,  
DISK\_SNAPSHOT\_TOTAL\_SIZE = “0”,  
DISK\_TYPE = “FILE”,  
DRIVER = “raw”,  
IMAGE = “ONE Windows Context ISO”,  
IMAGE\_ID = “17”,  
IMAGE\_STATE = “2”,  
IMAGE\_UNAME = “oneadmin”,  
LN\_TARGET = “NONE”,  
ORIGINAL\_SIZE = “1”,  
READONLY = “YES”,  
SAVE = “NO”,  
SIZE = “1”,  
SOURCE = “/var/lib/one//datastores/103/ed613c26d2144b0479bae1b24facf0f3”,  
TARGET = “hdc”,  
TM\_MAD = “shared”,  
TYPE = “CDROM” ]  
GRAPHICS = [  
LISTEN = “0.0.0.0”,  
PORT = “5933”,  
TYPE = “SPICE” ]  
INPUT = [  
BUS = “usb”,  
TYPE = “tablet” ]  
MEMORY = “8192”  
NIC = [  
AR\_ID = “1”,  
BRIDGE = “virbr0”,  
BRIDGE\_TYPE = “linux”,  
CLUSTER\_ID = “0”,  
IP = “192.168.122.12”,  
MAC = “02:00:c0:a8:7a:0c”,  
MODEL = “virtio”,  
NAME = “NIC0”,  
NETWORK = “Private”,  
NETWORK\_ID = “8”,  
NETWORK\_UNAME = “oneadmin”,  
NIC\_ID = “0”,  
SECURITY\_GROUPS = “0”,  
TARGET = “one-33-0”,  
VN\_MAD = “bridge” ]  
NIC\_DEFAULT = [  
MODEL = “virtio” ]  
OS = [  
BOOT = “disk0,disk1” ]  
SECURITY\_GROUP\_RULE = [  
PROTOCOL = “ALL”,  
RULE\_TYPE = “OUTBOUND”,  
SECURITY\_GROUP\_ID = “0”,  
SECURITY\_GROUP\_NAME = “default” ]  
SECURITY\_GROUP\_RULE = [  
PROTOCOL = “ALL”,  
RULE\_TYPE = “INBOUND”,  
SECURITY\_GROUP\_ID = “0”,  
SECURITY\_GROUP\_NAME = “default” ]  
TEMPLATE\_ID = “10”  
TM\_MAD\_SYSTEM = “shared”  
VCPU = “4”  
VMID = “33”

* * *

Versions of the related components and OS (frontend, hypervisors, VMs):  
OS: Ubuntu 20.04 LTS (kvm nodes + sunstone) OpenNebula 5.12.0.1

Expected results:You need to either adjust the VNC screen for normal resolution, or configure sending Ctrl-Alt-Del through the SPICE screen

---

<div class="post-metadata">

**Author:** ![Dmitriy\_Rogozinskiy](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dmitriy_rogozinskiy/32/6677_2.png) [@Dmitriy\_Rogozinskiy](https://forum.opennebula.io/u/Dmitriy_Rogozinskiy)\
**Post date:** [September 9, 2020, 11:28am UTC](https://forum.opennebula.io/t/vnc-and-spice-screen-doesnt-work/8813/2 "2020-09-09T11:28:19Z")

</div>

on text linux VM & X11 gnome GUI on Centos VM - show OK over VNC.

 ![2020-09-09_15-21-27](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/2/2ee58acae101b856ae66414cc06b678596b91899.png)

---

<div class="post-metadata">

**Author:** ![Dmitriy\_Rogozinskiy](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dmitriy_rogozinskiy/32/6677_2.png) [@Dmitriy\_Rogozinskiy](https://forum.opennebula.io/u/Dmitriy_Rogozinskiy)\
**Post date:** [September 9, 2020, 11:28am UTC](https://forum.opennebula.io/t/vnc-and-spice-screen-doesnt-work/8813/3 "2020-09-09T11:28:35Z")

</div>

![2020-09-09_15-03-16](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/f/fb7919694157afdce07c259c4e187f5669f15ded.png)

If I connect using the Remote viewer, the situation is the same with one difference - I can send Ctrl-Alt-Del with Remote viewer on SPICE connection.Therefore, the problem is at the KVM host level.

---

<div class="post-metadata">

**Author:** ![mmancini](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/mmancini/32/6468_2.png) [@mmancini](https://forum.opennebula.io/u/mmancini)\
**Post date:** [September 9, 2020, 2:40pm UTC](https://forum.opennebula.io/t/vnc-and-spice-screen-doesnt-work/8813/4 "2020-09-09T14:40:37Z")

</div>

Hi @Dmitriy_Rogozinskiy,

1. the black/white screen issue could be related to that particular host. Does it happen on other hosts as well?

2. adding “Ctrl-Alt-Delete” button to Spice and Guacamole is under evaluation; an issue has been opened ([https://github.com/OpenNebula/one/issues/5071](https://github.com/OpenNebula/one/issues/5071))

Best  
Marco

---

<div class="post-metadata">

**Author:** ![Dmitriy\_Rogozinskiy](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dmitriy_rogozinskiy/32/6677_2.png) [@Dmitriy\_Rogozinskiy](https://forum.opennebula.io/u/Dmitriy_Rogozinskiy)\
**Post date:** [September 10, 2020, 6:53am UTC](https://forum.opennebula.io/t/vnc-and-spice-screen-doesnt-work/8813/5 "2020-09-10T06:53:24Z")

</div>

> [@mmancini](#):
>
> the black/white screen issue could be related to that particular host. Does it happen on other hosts as well?

This problem is present on all hosts.  
But this is not surprising because all hosts were installed the same way.  
This issue is not related to opennebula  
I tried to connect through Remote viewer (URL vnc://node02:5900 spice://node01:5901) directly - the result is the same (see 2-3 post)

---

<div class="post-metadata">

**Author:** ![Dmitriy\_Rogozinskiy](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dmitriy_rogozinskiy/32/6677_2.png) [@Dmitriy\_Rogozinskiy](https://forum.opennebula.io/u/Dmitriy_Rogozinskiy)\
**Post date:** [September 10, 2020, 6:53am UTC](https://forum.opennebula.io/t/vnc-and-spice-screen-doesnt-work/8813/6 "2020-09-10T06:53:27Z")

</div>

KVM hosts OS: “ **Ubuntu 20.04.1 LTS** ”  
VERSION=“20.04.1 LTS (Focal Fossa)”  
They installed like [http://docs.opennebula.io/5.12/deployment/node\_installation/kvm\_node\_installation.html#installing-on-debian-ubuntu](http://docs.opennebula.io/5.12/deployment/node_installation/kvm_node_installation.html#installing-on-debian-ubuntu)

---

<div class="post-metadata">

**Author:** ![Dmitriy\_Rogozinskiy](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dmitriy_rogozinskiy/32/6677_2.png) [@Dmitriy\_Rogozinskiy](https://forum.opennebula.io/u/Dmitriy_Rogozinskiy)\
**Post date:** [September 10, 2020, 6:53am UTC](https://forum.opennebula.io/t/vnc-and-spice-screen-doesnt-work/8813/7 "2020-09-10T06:53:34Z")

</div>

> [@mmancini](#):
>
> adding “Ctrl-Alt-Delete” button to Spice and Guacamole is under evaluation; an issue has been opened

Will it only be available to Enterprise users?

---

<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:** [September 10, 2020, 9:00am UTC](https://forum.opennebula.io/t/vnc-and-spice-screen-doesnt-work/8813/8 "2020-09-10T09:00:11Z")

</div>

It will be present in both Community and Enterprise Edition. There is no extra functionality in the Enterprise Edition, all the functionality is available in the Community Edition.

---

<div class="post-metadata">

**Author:** ![Dmitriy\_Rogozinskiy](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dmitriy_rogozinskiy/32/6677_2.png) [@Dmitriy\_Rogozinskiy](https://forum.opennebula.io/u/Dmitriy_Rogozinskiy)\
**Post date:** [September 10, 2020, 9:06am UTC](https://forum.opennebula.io/t/vnc-and-spice-screen-doesnt-work/8813/9 "2020-09-10T09:06:44Z")

</div>

> [@tinova](#):
>
> There is no extra functionality in the Enterprise Edition, all the functionality is available in the Community Edition

It seems that minor releases are available for updating only in the Enterprise version. It’s good if this is not the case.

---

<div class="post-metadata">

**Author:** ![amarti](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/amarti/32/6290_2.png) [@amarti](https://forum.opennebula.io/u/amarti)\
**Post date:** [September 10, 2020, 10:02am UTC](https://forum.opennebula.io/t/vnc-and-spice-screen-doesnt-work/8813/10 "2020-09-10T10:02:54Z")

</div>

Updates for the CE (i.e. [https://opennebula.io/ce-patch-release-v-5-12-0-1-is-available/](https://opennebula.io/ce-patch-release-v-5-12-0-1-is-available/)) don’t come out so often as those for the EE, that’s true, but in any case we’ll synchronize both versions at the end of each maintenance cycle: [https://github.com/OpenNebula/one/wiki/Release-Policy#synchronization-between-community-and-enterprise](https://github.com/OpenNebula/one/wiki/Release-Policy#synchronization-between-community-and-enterprise)

---

<div class="post-metadata">

**Author:** ![Dmitriy\_Rogozinskiy](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dmitriy_rogozinskiy/32/6677_2.png) [@Dmitriy\_Rogozinskiy](https://forum.opennebula.io/u/Dmitriy_Rogozinskiy)\
**Post date:** [September 11, 2020, 10:52am UTC](https://forum.opennebula.io/t/vnc-and-spice-screen-doesnt-work/8813/11 "2020-09-11T10:52:07Z")

</div>

Does anyone know a solution for black and white screen? I just found out that with a direct connection via VNC, the screen is the same black and white. Then I don’t know where to look for the reason. I’m not a Linux virtualization guru. Users on forums only talk about VirtualBox inside Linux
