[virt-tools-list] [PATCH virt-viewer 00/12] kiosk mode

Marc-André Lureau marcandre.lureau at gmail.com
Mon Jul 15 19:36:07 UTC 2013


Hi,

This patch series implement a simple kiosk mode for virt-viewer, using
the -k command line option.

It will open virt-viewer on all client monitors in fullscreen, and
won't provide any UI but the remote display or a blank window with
some status. It becomes almost impossible to move out or quit. USB
redirection is disabled in this mode too.

Since window managers have various behaviours that are hard to prevent
(win+client, alt+drag, bindings), it is designed to run with X11
Option "DontVTSwitch" "true", without WM, for example this way:
$ pkill yourwm ; virt-viewer -k ... ; yourwm &

See also rfe:
https://bugzilla.redhat.com/show_bug.cgi?id=872723



Marc-André Lureau (12):
  Remove dead function
  kiosk: add app kiosk option, pass it down to window
  kiosk: open a window on each client monitor
  kiosk: use less verbose window/display status
  kiosk: disable session auto usb share
  kiosk: ref_sink the toolbar
  kiosk: teach a window to become kiosk-mode
  kiosk: don't quit on disconnection
  kiosk: prevent app to quit or window to hide
  kiosk: don't open extra monitors
  kiosk: explicit resize window to fullscreen size
  kiosk: update man page

 man/remote-viewer.pod     | 13 +++++++++
 man/virt-viewer.pod       | 13 +++++++++
 src/remote-viewer-main.c  |  7 +++--
 src/remote-viewer.c       |  9 ++++--
 src/remote-viewer.h       |  5 ++--
 src/virt-viewer-app.c     | 73 +++++++++++++++++++++++++++++++++++++++++++----
 src/virt-viewer-main.c    |  5 +++-
 src/virt-viewer-session.c |  7 -----
 src/virt-viewer-window.c  | 39 +++++++++++++++++++++----
 src/virt-viewer-window.h  |  1 +
 src/virt-viewer.c         |  4 ++-
 src/virt-viewer.h         |  3 +-
 12 files changed, 153 insertions(+), 26 deletions(-)

-- 
1.8.3.rc1.49.g8d97506




More information about the virt-tools-list mailing list