Bug 1044209 - remote-viewer not invoked from "xdg-open console.vv" command
Summary: remote-viewer not invoked from "xdg-open console.vv" command
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-viewer
Version: 20
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: 2013-12-17 22:16 UTC by Aram Agajanian
Modified: 2014-03-11 04:01 UTC (History)
4 users (show)

Fixed In Version: virt-viewer-0.6.0-1.fc20
Clone Of:
: 1063238 1063239 (view as bug list)
Environment:
Last Closed: 2014-03-11 04:01:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Aram Agajanian 2013-12-17 22:16:30 UTC
Description of problem:

I have noticed that remote-viewer isn't getting automatically run when I try to bring up a virtual desktop from the RHEV User Portal with the Epiphany web browser.  Instead, the downloaded vv file is opened in gedit.

I have found that when I run the following command, the console.vv file gets opened in gedit instead of remote-viewer.

xdg-open console.vv


Version-Release number of selected component (if applicable):
virt-viewer-0.5.7-1.fc20.x86_64


How reproducible:  
Happens every time.


Steps to Reproduce:
1.  Download a console.vv file from the RHEV User Portal by attempting to open a SPICE console in Native Mode.
2.  Run the command "xdg-open console.vv" on the file that was just downloaded.


Actual results:
The console.vv file is opened with gedit.


Expected results:
The console.vv file should be opened with remote-viewer.

Comment 1 Aram Agajanian 2013-12-17 23:04:39 UTC
As was suggested on IRC, I ran the following command and the problem went away.

su -c "update-mime-database /usr/share/mime"

Comment 2 Christophe Fergeau 2013-12-18 10:18:03 UTC
Sent patch upstream 
https://www.redhat.com/archives/virt-tools-list/2013-December/msg00036.html

Comment 3 Fedora Update System 2014-02-26 12:55:07 UTC
virt-viewer-0.6.0-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/virt-viewer-0.6.0-1.fc20

Comment 4 Fedora Update System 2014-02-28 18:34:06 UTC
Package virt-viewer-0.6.0-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing virt-viewer-0.6.0-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-3202/virt-viewer-0.6.0-1.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-03-11 04:01:43 UTC
virt-viewer-0.6.0-1.fc20 has been pushed to the Fedora 20 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.