question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[spice] add native remote-viewer (virt-viewer) support

See original GitHub issue

Author Name: kvaps kvaps (kvaps kvaps) Original Redmine Issue: 5231, https://dev.opennebula.org/issues/5231 Original Date: 2017-07-12


Remote-viewer this is part of virt-viewer. It is native software for connecting via spice protocol. And it is really beautiful: It is support multiple monitors, securing, usb passtrough and have very good speed. It can be used for VNC too.

It is already done by oVirt and Proxmox, Both uses spiceproxy for proxyng spice connections outside of network (it is simpe configured squid) https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Installation_Guide/chap-Proxies.html

I want to have the support in the OpenNebula too. The main think is the next:

  • Create vm with spice support
  • Go to the sunstone, and click “connect to the vm”
  • The folowing file will be downloaded:

console.vv (example)

[virt-viewer]
type=spice
host=10.34.63.223
port=5905
proxy=http://10.36.20.1:3128
password=Ak9XhlMF/A3W
tls-port=5906
fullscreen=1
title=wxp-apt-53011:%d - Press SHIFT+F12 to Release Cursor
enable-smartcard=0
enable-usb-autoshare=1
delete-this-file=1
usb-filter=-1,60186,10000,256,1|-1,1118,245,-1,1|-1,1133,2245,-1,1|-1,1133,2242,5,1|8,-1,-1,-1,1|7,-1,-1,-1,1|-1,-1,-1,-1,0
tls-ciphers=DEFAULT
host-subject=O=rhev.lab.eng.brq.redhat.com,CN=10.34.63.223
ca=-----BEGIN CERTIFICATE-----\nMIIEMDCCAxigAwIBAgICEAAwDQYJKoZIhvcNAQEFBQAwajELMAkGA1UEBhMCVVMxJDAiBgNVBAoT\nG3JoZXYubGFiLmVuZy5icnEucmVkaGF0LmNvbTE1MDMGA1UEAxMsamItcmhldm0zNC5yaGV2Lmxh\nYi5lbmcuYnJxLnJlZGhhdC5jb20uNDgyNDUwIhcRMTQwMzAzMTYwMzQyKzAwMDAXDTI0MDMwMTE2\nMDM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7+4wJgou1Z\n2l7O0u1meCjw+GugmBAe++nBJO8p3EoJJxqZc9K6gZ99vXZWjJ54pbEktUIezyFLE8L10Ux+Zzoj\nFf4dE0/q5BCbeK1uKLKOoqxcaO9Y0PA9FL1TPyhHNVk2zaFCosrvclmZI6SVvA0QpvA=\n-----END CERTIFICATE-----\n
toggle-fullscreen=shift+f11
release-cursor=shift+f12
secure-attention=ctrl+alt+end
secure-channels=main;inputs;cursor;playback;record;display;usbredir;smartcard

  • After you openned this file via remote-viewer it will be connected to the vm

More about syntax here: https://github.com/SPICE/virt-viewer/blob/master/man/remote-viewer.pod

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
sbbarragancommented, May 4, 2020

PRs to merge:

  • one: #4626
  • docs: OpenNebula/docs/pull/1095
  • development: OpenNebula/development/pull/946
2reactions
baby-gnucommented, Sep 20, 2019

We are still interested in this feature 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Request #5231: [spice] add native remote-viewer (virt-viewer ...
I want to have the support in the OpenNebula too. The main think is the next: - Create vm with spice support -...
Read more >
Download - Spice-Space.org
virt -viewer Windows installer - can be downloaded from virt-manager ... SPICE protocol client that makes use of the LGPL licensed native libspice...
Read more >
4.5. Configuring Console Options Red Hat Virtualization 4.2
Red Hat Virtualization currently supports the following connection protocols: ... To open a console to a virtual machine using SPICE, use Remote Viewer....
Read more >
4.5. Configuring Console Options
Red Hat Virtualization currently supports the following connection protocols: ... To open a console to a virtual machine using SPICE, use Remote Viewer....
Read more >
Console Client Resources | oVirt
This way make use of locally installed remote-viewer application. You can install the application using your package manager (yum/dnf install virt-viewer) or ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found