related to #316
When using remote start, like:
xpra start ssh:HOST:port --start-child=xterm --exit-with-children
At the moment, start-child
and exit-with-children
are the only two flags being forwarded to the remote start command.
Here are some of the flags that we may want to forward to the server when using remote start. Not all flags are candidates, only those that affect the server in a way that cannot be changed are overridden afterwards.
These are the strongest candidates in descending order:
session-name
no-pulseaudio
socket-dir
mmap-group
/ no-mmap
readonly
enable-pings
clipboard-filter-file
encryption
system-tray
encoding
- (since we may provide a better default)
speaker-codec
and microphone-codec
, meh
clipboard
, notifications
, system-tray
, cursors
, bell
And whilst we're at it, maybe make the flag forwarding code generic?
Not important - will add if someone shouts.
I was looking for something easy to do... and this is not it!
The problems are:
r5943 implements forwarding for the options that make sense:
key=value
" options: session-name
, encoding
, socket-dir
and dpi
--XYZ
" explicitly enabled features: exit-with-children
, mmap-group
and readonly
-no-XYZ
" options: pulseaudio
, mmap
, system-tray
, clipboard
and bell
The code is generic enough that we can easily add more if needed, this will do for now.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/317