Difference between revisions of "Weston"

From postmarketOS
Jump to: navigation, search
m (wikify)
Line 31: Line 31:
On host:
On host:
* <code>xfreerdp /v: /sec:tls</code>
* <code>xfreerdp /v: /sec:tls</code>
== Guide ==
Follow the [https://wiki.postmarketos.org/wiki/Display Display] guide to change and fix display related issues.

Revision as of 10:16, 13 March 2019

Name Weston

Weston is the reference implementation of a Wayland compositor.


  • pmbootstrap init
  • User interface: weston

This will package weston libraries as well as demos for your device, see weston* commands.

Weston is started at shell autologin init time by /etc/profile.d/start_weston.sh script

RDP (Remote Desktop Protocol)


  • apk add weston-backend-rdp
  • apk add openssl

Create a Self-Signed SSL Certificate:

  • sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout mypublic.key -out mycrt.crt

Start weston with RDP backend:

  • weston --backend=rdp-backend.so --rdp-tls-cert=/path/to/mycrt.crt --rdp-tls-key=/path/to/mypublic.key --socket=wayland-1 --width=540 --height=600

On host:

  • xfreerdp /v: /sec:tls


Follow the Display guide to change and fix display related issues.