Skip to content

Instantly share code, notes, and snippets.

@leon-anavi
Last active July 25, 2023 09:28
Show Gist options
  • Save leon-anavi/e2de57ea5fd344cf818834ace0d6d513 to your computer and use it in GitHub Desktop.
Save leon-anavi/e2de57ea5fd344cf818834ace0d6d513 to your computer and use it in GitHub Desktop.
rockchip-rk3399-vnc
root@rock-pi-4b:~# /usr/bin/weston --backend=vnc-backend.so --shell=fullscreen-shell.so --vnc-tls-cert=/etc/freerdp/keys/vnc.crt --vnc-tls-key=/etc/freerdp/keys/vnc.key
Date: 2023-07-25 UTC
[09:27:32.553] weston 12.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 12.0.1
[09:27:32.553] Command line: /usr/bin/weston --backend=vnc-backend.so --shell=fullscreen-shell.so --vnc-tls-cert=/etc/freerdp/keys/vnc.crt --vnc-tls-key=/etc/freerdp/keys/vnc.key
[09:27:32.553] OS: Linux, 6.1.38-yocto-standard, #1 SMP PREEMPT Thu Jul 6 18:52:54 UTC 2023, aarch64
[09:27:32.554] Flight recorder: enabled
[09:27:32.554] Using config file '/etc/xdg/weston/weston.ini'
[09:27:32.554] Output repaint window is 7 ms maximum.
[09:27:32.554] Loading module '/usr/lib/libweston-12/vnc-backend.so'
[09:27:32.568] Initializing VNC backend
[09:27:32.568] Using Pixman renderer
[09:27:32.599] TLS support activated
[09:27:32.599] Registered plugin API 'weston_vnc_output_api_v1' of size 8
[09:27:32.599] Color manager: no-op
[09:27:32.599] vnc_backend_output_configure.. Done
[09:27:32.599] Output 'vnc' attempts EOTF mode: SDR
[09:27:32.599] Output 'vnc' using color profile: built-in default sRGB SDR profile
[09:27:32.599] Output 'vnc' enabled with head(s) vnc
[09:27:32.599] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: no
cursor planes: no
arbitrary resolutions: yes
view mask clipping: yes
explicit sync: no
color operations: no
presentation clock: CLOCK_MONOTONIC_RAW, id 4
presentation clock resolution: 0.000000001 s
[09:27:32.599] Loading module '/usr/lib/weston/fullscreen-shell.so'
[09:27:32.600] Loading module '/usr/lib/libweston-12/xwayland.so'
[09:27:32.622] Registered plugin API 'weston_xwayland_v1' of size 32
[09:27:32.622] Registered plugin API 'weston_xwayland_surface_v1' of size 16
[09:27:32.622] xserver listening on display :1
# configuration file for Weston
[core]
xwayland=true
#modules=xwayland.so,cms-colord.so
#shell=desktop-shell.so
#gbm-format=xrgb2101010
require-input=false
modules=screen-share.so
#[shell]
#background-image=/usr/share/backgrounds/gnome/Aqua.jpg
#background-color=0xff002244
#background-type=tile
#clock-format=minutes
#panel-color=0x90ff0000
#locking=true
#animation=zoom
#startup-animation=fade
#binding-modifier=ctrl
#num-workspaces=6
#cursor-theme=whiteglass
#cursor-size=24
#lockscreen-icon=/usr/share/icons/gnome/256x256/actions/lock.png
#lockscreen=/usr/share/backgrounds/gnome/Garden.jpg
#homescreen=/usr/share/backgrounds/gnome/Blinds.jpg
#animation=fade
#[launcher]
#icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
#path=/usr/bin/gnome-terminal
#[launcher]
#icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
#path=/usr/bin/weston-terminal
#[launcher]
#icon=/usr/share/icons/hicolor/24x24/apps/google-chrome.png
#path=/usr/bin/google-chrome
#[launcher]
#icon=/usr/share/icons/gnome/24x24/apps/arts.png
#path=/build/weston-0lEgCh/weston-1.11.0/weston-flower
#[input-method]
#path=/usr/libexec/weston-keyboard
#[output]
#name=LVDS1
#mode=1680x1050
#transform=90
#icc_profile=/usr/share/color/icc/colord/Bluish.icc
#[output]
#name=VGA1
#mode=173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
#transform=flipped
#[output]
#name=X1
#mode=1024x768
#transform=flipped-90
#[libinput]
#enable_tap=true
#[touchpad]
#constant_accel_factor = 50
#min_accel_factor = 0.16
#max_accel_factor = 1.0
[screen-share]
#command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/etc/freerdp/keys/server.crt --rdp-tls-key=/etc/freerdp/keys/server.key
command=/usr/bin/weston --backend=vnc-backend.so --shell=fullscreen-shell.so --vnc-tls-cert=/etc/freerdp/keys/vnc.crt --vnc-tls-key=/etc/freerdp/keys/vnc.key
start-on-startup=true
#[xwayland]
#path=/usr/bin/Xwayland
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment