[EXT] Re: VNC or RDP in Weston

Keskinarkaus, Teemu teemu.keskinarkaus at crosscontrol.com
Thu Nov 30 05:31:21 UTC 2017


Hi,

> -----Original Message-----
> From: wayland-devel [mailto:wayland-devel-bounces at lists.freedesktop.org] On
> Behalf Of Keskinarkaus, Teemu
>
> Any news about the RDP setup-instructions?
I made some progress here.

With these commands it tries to start the rdp-backend Weston.

winpr-makecert -rdp
export XDG_RUNTIME_DIR=/run/display
weston --backend=rdp-backend.so --rdp-tls-cert=$device.crt --rdp-tls-key=$device.key --width=1280 --height=800 --socket=wayland-1

----
[05:13:34.940] Starting with no config file.
[05:13:34.941] Output repaint window is 7 ms maximum.
[05:13:34.950] Loading module '/usr/lib/weston/rdp-backend.so'
[05:13:35.072] using FreeRDP version 1.2.5
[05:13:35.072] TLS support activated
[05:13:35:616] [1452:1452] [INFO][com.freerdp.core.listener] - Listening on 0.0.0.0:3389
[05:13:35.081] Compositor capabilities:
               arbitrary surface rotation: yes
               screen capture uses y-flip: yes
               presentation clock: CLOCK_MONOTONIC_RAW, id 4
[05:13:35.082] Loading module '/usr/lib/weston/desktop-shell.so'
[05:13:35.082] launching '/usr/libexec/weston-keyboard'
[05:13:35.084] launching '/usr/libexec/weston-desktop-shell'
[05:13:35.127] Error: /usr/libexec/weston-desktop-shell apparently cannot run at all.
               Quitting...[05:13:35.127] input_method disconnected, respawning...
[05:13:35.127] launching '/usr/libexec/weston-keyboard'
Failed to process Wayland connection: Broken pipe
failed to create display: Broken pipe
----

What I understood the Weston-desktop-shell is something that Weston starts automatically and it cannot be started manually. I was wondering that does it try to create another desktop for some reason and not use the existing one? I did try start the Weston-desktop-shell manually and got expected(?) error: permission to bind desktop_shell denied.

Is there still something I'm missing from RDP setup or what might be the problem? Weston is running fine on desktop.

-Teemu


________________________________

Actuant Corporation Email Notice

This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and/or CONFIDENTIAL.
This email is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this email is not an intended recipient, you have received this email in error and any review, dissemination, distribution or copying is strictly prohibited.
If you have received this email in error, please notify the sender immediately by return mail and permanently delete the copy you received.

Thank you.


More information about the wayland-devel mailing list