VNC and SPICE screen doesn't work

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] (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.

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

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

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.

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)

Best
Marco

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)

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

Will it only be available to Enterprise users?

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.

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

Updates for the CE (i.e. 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

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