Bug 1134653

Summary: xdg-open cannot open virt-viewer connection file with right application over ssh
Product: Red Hat Enterprise Linux 6 Reporter: CongDong <codong>
Component: xdg-utilsAssignee: Alexander Larsson <alexl>
Status: CLOSED NOTABUG QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.7CC: alexl, codong, desktop-qa-list, juzhou, lcui, mzhan, tpelka, tzheng
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1122447 Environment:
Last Closed: 2014-08-29 08:12:48 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: 1122447    
Bug Blocks:    

Comment 2 Alexander Larsson 2014-08-29 08:12:48 UTC
I'm not sure what is expected here. xdg-open is a shellscript that tries to figure out the currently running desktop and start the right tool that opens the file on said desktop. If you ssh into a machine then there is no running desktop, so it falls back to the generic handling which gives a different result than the gnome one.

If you want to use the gnome-specific default apps you can directly launch gvfs-open, or you can set the environment variables that the xdg-open shell script looks at so that it picks up whatever desktop environment you want.