Weston RDP access

From Tizen Wiki
Jump to: navigation, search

The purpose of this page is to explain how to install and use the RDP Compositor for Weston / Wayland, in order to be able to remotely access the graphical user interface of a Tizen device.

Remote Destkop Protocol (RDP) is a network protocol dedicated to graphical remote access ; FreeRDP is its implementation available in Tizen Common, which is used by Weston.


As root, issue the following command :

zypper install weston-rdp

Usage : Tizen device

First create a TLS certificate/key couple with :

winpr-makecert -rdp

It will drop 2 files in the current directory : $device.crt, $device.key.

Then start the RDP compositor with :

export XDG_RUNTIME_DIR=/run/display
weston --backend=rdp-backend.so --rdp-tls-cert=$device.crt --rdp-tls-key=$device.key
--width=1024 --height=768 --socket=wayland-1

Usage : Client device

You can then connect from a device running :

  • Linux/Wayland : with wlfreerdp, provided in the Tizen Wayland freerdp package
  • Linux/X11 : with xfreerdp, provided in the Tizen X11 freerdp package (OpenSUSE binaries available here)
  • MS Windows : with wfreerdp, buildable from here (binaries available here)

Typical connection command line is :

xfreerdp /v:$device /sec:tls /size:1024x768