Adding "--" to a command within xinit?

Solution 1:

You could try:

xinit /bin/sh -c "exec /usr/bin/xfreerdp -a 16 -u '' -x m -z --disable-wallpaper --disable-full-window-drag --disable-menu-animations --disable-theming --plugin rdpsnd --plugin rdpdr --data disk:Devices:/media/root -- 10.0.0.197" -- :1 vt2