Bug 1063238
| Summary: | remote-viewer not invoked from "xdg-open console.vv" command | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Christophe Fergeau <cfergeau> |
| Component: | virt-viewer | Assignee: | Christophe Fergeau <cfergeau> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.6 | CC: | agajania, berrange, cfergeau, codong, dblechte, dyuan, lcui, marcandre.lureau, mzhan, rbalakri, tzheng, zsong |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | virt-viewer-0.6.0-7.el6 | Doc Type: | Bug Fix |
| Doc Text: |
Cause:
Install virt-viewer and attempt to open a SPICE console in Native Mode.
Consequence:
The client is not associated with the file MIME type.
Fix:
Rebuild mime type database during installation.
Result:
The client is associated with the file MIME type and the session can be opened with remote-viewer easily.
|
Story Points: | --- |
| Clone Of: | 1044209 | Environment: | |
| Last Closed: | 2014-10-14 06:30:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1110630 | ||
| Bug Blocks: | |||
|
Description
Christophe Fergeau
2014-02-10 10:46:48 UTC
I test with virt-viewer-0.6.0-5.el6.x86_64 Steps: 1. Install a spice guest on rhevm 2. Click "Console" button and download the console.vv file for the guest 3. # xdg-open console.vv Result: I have two Desktop environment on my machine, gnome and kde When I log in kde desktop, console.vv can be opend with remote-viewer, but when I log in gnome desktop, the vv file is opened by gedit. The result seems not to be the expected. Christophe, can you take a look? thanks What is the output of xdg-mime query filetype console.vv ? (if you are running this through ssh, set GNOME_DESKTOP_SESSION_ID=this-is-deprecated in your environment before running this command) If this returns application/x-virt-viewer I think what is missing is the call to update-desktop-database added in https://git.fedorahosted.org/cgit/virt-viewer.git/commit/?id=be3ce01096feaca7d3a51ed07cc35b5b2a87633d If the 'xdg-mime query filetype console.vv' test returned application-x-virt-viewer but 'xdg-open console.vv' is still not working, can you try running as root update-desktop-database -q /usr/share/applications and then try again to run 'xdg-open console.vv'? Steps: 1. # xdg-mime query filetype console.vv application/x-virt-viewer 2. # xdg-open console.vv Still open with gedit 3. # update-desktop-database -q /usr/share/applications 4. # xdg-open console.vv Open the vv file with remote-viewer. This is expected. Thanks for the additional testing, this should be fixed with the next virt-viewer build. *** Bug 1110630 has been marked as a duplicate of this bug. *** Verify with virt-viewer-0.6.0-7.el6.x86_64 Steps: 1. Download the vv file for the guest on rhevm 2. # xdg-mime query filetype console.vv 3. # xdg-open console.vv Result: Step2, application/x-virt-viewer Step3, Open the vv file with remote-viewer. Also tested with KDE destop. As the result, VERIFIED *** Bug 1110630 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1379.html |