Bug 1040926

Summary: RFE: kioskmode option for virt-viewer
Product: Red Hat Enterprise Linux 7 Reporter: Marc-Andre Lureau <marcandre.lureau>
Component: virt-viewerAssignee: Virt Viewer Maint <virt-viewer-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: acathrow, cfergeau, cwei, dallan, dblechte, lagarcia, lcui, lmiksik, marcandre.lureau, mjenner, mzhan, pvdbleek, rleander, tzheng
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: virt-viewer-0.5.7-6.el7 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 872723 Environment:
Last Closed: 2014-06-13 11:25:30 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:
Bug Depends On: 872723    
Bug Blocks: 806907, 835616, 960054    

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.