Bug 798185

Summary: RFE: Allow direct guest access with spice-xpi
Product: [Fedora] Fedora Reporter: Marko Myllynen <myllynen>
Component: virt-viewerAssignee: Daniel Berrangé <berrange>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: berrange, djuran, hdegoede, marcandre.lureau, phatina, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-26 08:04:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Desktop entry none

Description Marko Myllynen 2012-02-28 09:10:23 UTC
Description of problem:
A SPICE enabled libvirt guest can be accessed using spicec for example with:

spicec --host localhost --port 5900

It would be great if the spice-xpi plugin would allow accessing guests from a browser directly, for example with:

spice://localhost:5900/

or even (needing also some non-plugin changes):

http://localhost:5900/

Thanks.

Comment 1 Peter Hatina 2012-03-15 09:16:47 UTC
Created attachment 570221 [details]
Desktop entry

You can register custom scheme handler and since then, firefox can open spice://hostname:port by remote-viewer.

Steps, how to register:
1. copy remote-viewer.desktop to ~/.local/share/applications or /usr/share/applications
2. run update-desktop-database ~/.local/share/applications or /usr/share/applications

Comment 2 Marko Myllynen 2012-03-15 16:27:41 UTC
Thanks, it works! Now the obvious question is should virt-viewer or spice-xpi do this by default?

Comment 3 Marc-Andre Lureau 2012-03-15 16:44:45 UTC
(In reply to comment #2)
> Thanks, it works! Now the obvious question is should virt-viewer or spice-xpi
> do this by default?

that would be for virt-viewer in this case

Comment 4 Marko Myllynen 2012-03-15 16:53:21 UTC
> that would be for virt-viewer in this case

ok - reassigning to virt-viewer

Comment 5 Daniel Berrangé 2012-04-18 13:21:28 UTC
Thanks for the patch, included upstram

http://git.fedorahosted.org/git/?p=virt-viewer.git;a=commit;h=be3ce01096feaca7d3a51ed07cc35b5b2a87633d

Comment 6 Fedora Update System 2012-05-16 12:35:13 UTC
virt-viewer-0.5.3-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/virt-viewer-0.5.3-1.fc17

Comment 7 Fedora Update System 2012-05-26 08:04:31 UTC
virt-viewer-0.5.3-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.