Bug 798185 - RFE: Allow direct guest access with spice-xpi
Summary: RFE: Allow direct guest access with spice-xpi
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-viewer
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-28 09:10 UTC by Marko Myllynen
Modified: 2012-05-26 08:04 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-26 08:04:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Desktop entry (121 bytes, text/plain)
2012-03-15 09:16 UTC, Peter Hatina
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.