Bug 1040926 - RFE: kioskmode option for virt-viewer
Summary: RFE: kioskmode option for virt-viewer
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-viewer
Version: 7.0
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Virt Viewer Maint
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 872723
Blocks: 806907 835616 960054
TreeView+ depends on / blocked
 
Reported: 2013-12-12 10:44 UTC by Marc-Andre Lureau
Modified: 2018-11-29 19:47 UTC (History)
14 users (show)

Fixed In Version: virt-viewer-0.5.7-6.el7
Doc Type: Enhancement
Doc Text:
Clone Of: 872723
Environment:
Last Closed: 2014-06-13 11:25:30 UTC
Target Upstream Version:


Attachments (Terms of Use)

Comment 1 Marc-Andre Lureau 2013-12-12 10:46:39 UTC
support is in upstream git

Comment 5 tingting zheng 2014-02-07 06:22:54 UTC
Verified the bug with:
virt-viewer-0.5.7-6.el7.x86_64

Steps:
1.Check virt-viewer manual,options about --kiosk have been added.
# man virt-viewer
       -k, --kiosk
           Start in kiosk mode. In this mode, the application will start in fullscreen with minimal UI. It will
           prevent the user from quitting or performing any interaction outside of usage of the remote desktop
           session.

           Note that it can't offer a complete secure solution by itself. Your kiosk system must have
           additional configuration and security settings to lock down the OS. In particular, you must
           configure or disable the window manager, limit the session capabilities, use some restart/watchdog
           mechanism, disable VT switching etc.

       --kiosk-quit <never|on-disconnect>
           By default, when kiosk mode is enabled, virt-viewer will remain open when the connection to the
           remote server is terminated. By setting kiosk-quit option to "on-disconnect" value, virt-viewer will
           quit instead. Please note that --reconnect takes precedence over this option, and will attempt to do
           a reconnection before it quits.

2.Test -k and --kiosk option.
# virt-viewer rhel6.5 -k 
# virt-viewer rhel6.5 --kiosk

Guest will be opened in fullscreen with minimal UI.

3.Test --kiosk-quit option.
3.1 Test --kiosk-quit never or default mode.
# virt-viewer rhel6.5 -k 
# virt-viewer rhel6.5 --kiosk --kiosk-quit never

When destroy the guest named rhel6.5,virt-viewer will keep and never quit.

3.2 Test --kiosk-quit on-disconnect mode.
# virt-viewer rhel6.5 --kiosk --kiosk-quit on-disconnect

When destroy the guest named rhel6.5,virt-viewer will quit.

3.3 Test --kiosk-quit with --reconnect option.
# virt-viewer rhel6.5 --kiosk --kiosk-quit on-disconnect --reconnect

When destroy the guest named rhel6.5,virt-viewer will not quit and wait for the guest to restart,so --reconnect takes precedence over --kiosk-quit.

4.Repeat step 2 and step 3 with remote-viewer,it works well.

Refer to the above comments,move the bug to VERIFIED.

Comment 6 Ludek Smid 2014-06-13 11:25:30 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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