WESTON-RDP(7)
okay so bestie, this is the WESTON-RDP(7) manual page and the manual name is weston-vnc β the VNC backend for Weston. Buckle up, it's giving remote desktop but make it Weston. π
β¨ NAME β¨
weston-vncβ the VNC backend for Weston.
π¦ SYNOPSIS π¦
weston --backend=vnc
π DESCRIPTION π
The VNC backend lets you run a weston environment without needing specific graphic hardware or input devices. Users can interact with weston only by connecting using the remote framebuffer protocol (RFB). No cap.
The VNC backend uses Neat VNC to implement the VNC part. It acts as a VNC server listening for incoming connections. It supports different encodings for encoding the graphical content, depending on what is supported by the VNC client. Slay.
The VNC backend is not multi-seat aware, so if a second client connects to the backend, the first client will be disconnected. Sorry bestie, one main character at a time. π
The VNC client has to authenticate as the user running weston. This requires a PAM configuration file /etc/pam.d/weston-remote-access.
π CONFIGURATION π
The VNC backend uses the following entries from weston.ini.
π Section vnc π
refresh-rate=rateβ Specifies the desktop redraw rate in Hz. If unspecified, the default is60Hz. Changing this may be useful if you have a faster than60Hzdisplay, or if you want to reduce updates to reduce network traffic.tls-key=fileβ The file containing the key for doing TLS security. To have TLS security you also need to ship a file containing a certificate.tls-cert=fileβ The file containing the certificate for doing TLS security. To have TLS security you also need to ship a key file.
πΈ Section output πΈ
name=vncβ The namevncis used to identify the VNC output.mode=widthxheightβ Specifies the (initial) size for the output.resizeable=booleanβ Specifies whether the VNC client is allowed to resize the output.
π₯ OPTIONS π₯
When the VNC backend is loaded, weston will understand the following additional command line options. Periodt.
--address=addressβ The IP address on which the VNC backend will listen for VNC connections. By default it listens on0.0.0.0.--width=widthβ The width of the framebuffer. It defaults to640.--height=heightβ The height of the framebuffer. It defaults to480.--port=portβ The TCP port to listen on for connections. It defaults to5900.--vnc-tls-key=fileβ The file containing the key for doing TLS security. To have TLS security you also need to ship a file containing a certificate.--vnc-tls-cert=fileβ The file containing the certificate for doing TLS security. To have TLS security you also need to ship a key file.--disable-transport-layer-securityβ Disable Transport Layer Security. If specified, VNC will be enabled with password-only authentication. This option is not recommended, as it creates security risk. Girl, do not unless you know what you're doing.
π Generating cryptographic material for the VNC backend π
You can generate a key and certificate file to use with TLS security using typical openssl invocations:
$ openssl genrsa -out tls.key 2048
Generating RSA private key, 2048 bit long modulus
[...]
$ openssl req -new -key tls.key -out tls.csr
[...]
$ openssl x509 -req -days 365 -signkey tls.key -in tls.csr -out tls.crt
[...]
You will get the tls.key and tls.crt files to use with the VNC backend.
π SEE ALSO π
π That's the whole page, bestie. This gem is WESTON-RDP(7), from Weston 16.0.0, dated 2017-12-14. slay and stay safe out there. π
β¨
π¦ where this page comes from
- ubuntu stonking: weston 16.0.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms