Skip to content

Instantly share code, notes, and snippets.

@lduboeuf
Created March 29, 2018 19:34
Show Gist options
  • Save lduboeuf/31beb231ca9e5defda88609fc3dd99dd to your computer and use it in GitHub Desktop.
Save lduboeuf/31beb231ca9e5defda88609fc3dd99dd to your computer and use it in GitHub Desktop.
#on device
weston --backend=rdp-backend.so --rdp-tls-cert=/home/ldub/c
erts/oneplus2.crt --rdp-tls-key=/home/ldub/certs/oneplus2.key --socket=wayland-1
#on computer
xfreerdp /v:172.16.42.1 /sec:tls /size:50%
@lduboeuf
Copy link
Author

screen sharing:
"super+r" -> output a capture.wcap
décoder:
wcap-decode capture.wcap --yuv4mpeg2 > capture.y4m
ffmpeg -i capture.y4m -target ntsc-dvd output.mpg

@lduboeuf
Copy link
Author

lduboeuf commented May 14, 2018

pour pouvoir afficher une app x depuis un terminal weston (activation de xwayland):
weston --backend=rdp-backend.so --rdp-tls-cert=mycrt.crt --r
dp-tls-key=mypublic.key --socket=wayland-1 --width=540 --height=600 -c /etc/xdg/
weston/weston.ini.default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment