Description of problem:Virt-viewer does not launch "full-screen" from virt-viewer cmd line.
The error is "Invalid full-screen argument:"
Version-Release number of selected component (if applicable):
RHEL-7.0-20120711.2
How reproducible:
100%
Steps to Reproduce:
1. Launch virt-viewer with the -f or --full-screen option.
2.
3.
Actual results:
"Invalid full-screen argument:"
Expected results:
virt-viewer launches a full-screen client
Additional info:
[root@dhcp-10-16-61-110 ~]# remote-viewer --help
Usage:
remote-viewer [OPTION...] URI - Remote viewer client
Help Options:
-h, --help Show help options
--help-all Show all help options
--help-gtk Show GTK+ Options
--help-gtk-vnc Show GTK-VNC Options
--help-spice Show Spice Options
Application Options:
-V, --version Display version information
-v, --verbose Display verbose information
-d, --direct Direct connection with no automatic tunnels
-z, --zoom=ZOOM Zoom level of window, in percentage
--debug Display debugging information
-f, --full-screen Open in full screen mode (=<auto-conf>)
--spice-controller Open connection using Spice controller communication
--display=DISPLAY X display to use
[root@dhcp-10-16-61-110 ~]# remote-viewer -f spice://localhost?port=5900
Invalid full-screen argument: spice://localhost?port=5900
Run 'virt-viewer --help' to see a full list of available command line options
[root@dhcp-10-16-61-110 ~]# remote-viewer --full-screen spice://localhost?port=5900
Invalid full-screen argument: spice://localhost?port=5900
Yes,if you put -f before spice://localhost?port=5900,there is error,there is bug 843103 on rhel6,which is not fixed.
Tried on rhel7,put -f behind spice://localhost?port=5900,it can be connected successfully.
Comment 4Christophe Fergeau
2014-01-24 17:49:26 UTC
Already fixed in RHEL7 builds (upstream commit was v0.5.7~56)
I have test this issue with:
virt-viewer-0.5.7-6.el7.x86_64
Both of below two scenario work well. No error message pop up
[root@localhost ~]# remote-viewer -f -- spice://localhost:5900
[root@localhost ~]# remote-viewer --full-screen=auto-conf spice://localhost:5900