screen-share: Allow fullscreen shell command to be configured
authorAndrew Wedgbury <andrew.wedgbury@realvnc.com>
Fri, 2 May 2014 09:01:18 +0000 (10:01 +0100)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 25 Jun 2014 16:05:39 +0000 (09:05 -0700)
commitdfd9d0de9637ab2be44885b6a5a7b379dce097ed
tree49cf731017273086b46ffd0bc343897a3b737d6d
parent8202d72054575bea0cd20cb252c119cac6b12561
screen-share: Allow fullscreen shell command to be configured

I've updated this based on comments, simplifying the command handling.

Currently the screen-share module uses a hard-coded command to start the
fullscreen shell server. This patch causes the module to read the command from
the weston config file (from the "command" key in the "screen-share" section).
The default value remains the same (i.e. to run weston with the RDP backend and
fullscreen shell), but is now located in the weston config file.

As well as allowing the arguments to the fullscreen shell server to be changed,
this also permits an alternative fullscreen shell server to be used if required,
without needing to recompile. Since the command is run as the user running
weston, this should not pose any additional security risk.

Signed-off-by: Andrew Wedgbury <andrew.wedgbury@realvnc.com>
src/screen-share.c
weston.ini.in