1*4882a593SmuzhiyunFrom ce84087f50788d895b1335bcf1c9e6d3b47e7846 Mon Sep 17 00:00:00 2001 2*4882a593SmuzhiyunFrom: Philipp Zabel <p.zabel@pengutronix.de> 3*4882a593SmuzhiyunDate: Fri, 30 Sep 2022 12:04:15 +0200 4*4882a593SmuzhiyunSubject: [PATCH 85/93] man: add a man page for the VNC backend 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunAdd a new weston-vnc man page, based on the weston-rdp man page. 7*4882a593SmuzhiyunAlso add links in the main weston man page. 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunSigned-off-by: Philipp Zabel <p.zabel@pengutronix.de> 10*4882a593Smuzhiyun(cherry picked from commit ad936f1de89ab7306455785fc0f9ebcba2380e1d) 11*4882a593SmuzhiyunSigned-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> 12*4882a593Smuzhiyun--- 13*4882a593Smuzhiyun man/meson.build | 9 ++++++++ 14*4882a593Smuzhiyun man/weston-vnc.man | 57 ++++++++++++++++++++++++++++++++++++++++++++++ 15*4882a593Smuzhiyun man/weston.man | 12 ++++++++++ 16*4882a593Smuzhiyun 3 files changed, 78 insertions(+) 17*4882a593Smuzhiyun create mode 100644 man/weston-vnc.man 18*4882a593Smuzhiyun 19*4882a593Smuzhiyundiff --git a/man/meson.build b/man/meson.build 20*4882a593Smuzhiyunindex a2b8edc..5d3b8d8 100644 21*4882a593Smuzhiyun--- a/man/meson.build 22*4882a593Smuzhiyun+++ b/man/meson.build 23*4882a593Smuzhiyun@@ -53,3 +53,12 @@ if get_option('backend-rdp') 24*4882a593Smuzhiyun configuration: man_conf 25*4882a593Smuzhiyun ) 26*4882a593Smuzhiyun endif 27*4882a593Smuzhiyun+ 28*4882a593Smuzhiyun+if get_option('backend-vnc') 29*4882a593Smuzhiyun+ configure_file( 30*4882a593Smuzhiyun+ input: 'weston-vnc.man', 31*4882a593Smuzhiyun+ output: 'weston-vnc.7', 32*4882a593Smuzhiyun+ install_dir: join_paths(dir_man, 'man7'), 33*4882a593Smuzhiyun+ configuration: man_conf 34*4882a593Smuzhiyun+ ) 35*4882a593Smuzhiyun+endif 36*4882a593Smuzhiyundiff --git a/man/weston-vnc.man b/man/weston-vnc.man 37*4882a593Smuzhiyunnew file mode 100644 38*4882a593Smuzhiyunindex 0000000..6491097 39*4882a593Smuzhiyun--- /dev/null 40*4882a593Smuzhiyun+++ b/man/weston-vnc.man 41*4882a593Smuzhiyun@@ -0,0 +1,57 @@ 42*4882a593Smuzhiyun+.TH WESTON-RDP 7 "2017-12-14" "Weston @version@" 43*4882a593Smuzhiyun+.SH NAME 44*4882a593Smuzhiyun+weston-vnc \- the VNC backend for Weston 45*4882a593Smuzhiyun+.SH SYNOPSIS 46*4882a593Smuzhiyun+.B weston --backend=vnc-backend.so 47*4882a593Smuzhiyun+. 48*4882a593Smuzhiyun+.\" *************************************************************** 49*4882a593Smuzhiyun+.SH DESCRIPTION 50*4882a593Smuzhiyun+The VNC backend allows to run a 51*4882a593Smuzhiyun+.B weston 52*4882a593Smuzhiyun+environment without the need of specific graphic hardware, or input devices. Users can interact with 53*4882a593Smuzhiyun+.B weston 54*4882a593Smuzhiyun+only by connecting using the remote framebuffer protocol (RFB). 55*4882a593Smuzhiyun+ 56*4882a593Smuzhiyun+The VNC backend uses Neat VNC to implement the VNC part, it acts as a VNC server 57*4882a593Smuzhiyun+listening for incoming connections. It supports different encodings for encoding 58*4882a593Smuzhiyun+the graphical content, depending on what is supported by the VNC client. 59*4882a593Smuzhiyun+ 60*4882a593Smuzhiyun+The VNC backend is not multi-seat aware, so if a second client connects to the 61*4882a593Smuzhiyun+backend, the first client will be disconnected. 62*4882a593Smuzhiyun+ 63*4882a593Smuzhiyun+Note that authentication and encryption are not supported yet. Anyone with 64*4882a593Smuzhiyun+access to the port can get control of the desktop via the VNC output, and 65*4882a593Smuzhiyun+all data is transferred in plaintext. 66*4882a593Smuzhiyun+ 67*4882a593Smuzhiyun+.\" *************************************************************** 68*4882a593Smuzhiyun+.SH CONFIGURATION 69*4882a593Smuzhiyun+. 70*4882a593Smuzhiyun+The VNC backend uses the following entries from 71*4882a593Smuzhiyun+.BR weston.ini . 72*4882a593Smuzhiyun+.SS Section vnc 73*4882a593Smuzhiyun+.TP 74*4882a593Smuzhiyun+\fBrefresh-rate\fR=\fIrate\fR 75*4882a593Smuzhiyun+Specifies the desktop redraw rate in Hz. If unspecified, the default is 60Hz. Changing 76*4882a593Smuzhiyun+this may be useful if you have a faster than 60Hz display, or if you want to reduce updates to 77*4882a593Smuzhiyun+reduce network traffic. 78*4882a593Smuzhiyun+ 79*4882a593Smuzhiyun+.\" *************************************************************** 80*4882a593Smuzhiyun+.SH OPTIONS 81*4882a593Smuzhiyun+. 82*4882a593Smuzhiyun+When the VNC backend is loaded, 83*4882a593Smuzhiyun+.B weston 84*4882a593Smuzhiyun+will understand the following additional command line options. 85*4882a593Smuzhiyun+.TP 86*4882a593Smuzhiyun+.B \-\-width\fR=\fIwidth\fR 87*4882a593Smuzhiyun+The width of the framebuffer. It defaults to 640. 88*4882a593Smuzhiyun+.TP 89*4882a593Smuzhiyun+.B \-\-height\fR=\fIheight\fR 90*4882a593Smuzhiyun+The height of the framebuffer. It defaults to 480. 91*4882a593Smuzhiyun+.TP 92*4882a593Smuzhiyun+\fB\-\-port\fR=\fIport\fR 93*4882a593Smuzhiyun+The TCP port to listen on for connections. It defaults to 5900. 94*4882a593Smuzhiyun+ 95*4882a593Smuzhiyun+.\" *************************************************************** 96*4882a593Smuzhiyun+.SH "SEE ALSO" 97*4882a593Smuzhiyun+.BR weston (1) 98*4882a593Smuzhiyun+.\".BR weston.ini (5) 99*4882a593Smuzhiyundiff --git a/man/weston.man b/man/weston.man 100*4882a593Smuzhiyunindex 654c0da..0c6e5c5 100644 101*4882a593Smuzhiyun--- a/man/weston.man 102*4882a593Smuzhiyun+++ b/man/weston.man 103*4882a593Smuzhiyun@@ -45,6 +45,13 @@ to the desktop is done by using the RDP protocol. Each connecting 104*4882a593Smuzhiyun client has its own seat making it a cheap way to test multi-seat support. See 105*4882a593Smuzhiyun .BR weston-rdp (7), 106*4882a593Smuzhiyun if installed. 107*4882a593Smuzhiyun+.TP 108*4882a593Smuzhiyun+.I vnc-backend.so 109*4882a593Smuzhiyun+The VNC backend runs in memory without the need of graphical hardware. Access 110*4882a593Smuzhiyun+to the desktop is done by using the RFB protocol. Currently only one 111*4882a593Smuzhiyun+connecting client is supported. See 112*4882a593Smuzhiyun+.BR weston-vnc (7), 113*4882a593Smuzhiyun+if installed. 114*4882a593Smuzhiyun . 115*4882a593Smuzhiyun .\" *************************************************************** 116*4882a593Smuzhiyun .SH SHELLS 117*4882a593Smuzhiyun@@ -264,6 +271,10 @@ pixman library for software compsiting. 118*4882a593Smuzhiyun See 119*4882a593Smuzhiyun .BR weston-rdp (7). 120*4882a593Smuzhiyun . 121*4882a593Smuzhiyun+.SS VNC backend options: 122*4882a593Smuzhiyun+See 123*4882a593Smuzhiyun+.BR weston-vnc (7). 124*4882a593Smuzhiyun+. 125*4882a593Smuzhiyun . 126*4882a593Smuzhiyun .\" *************************************************************** 127*4882a593Smuzhiyun .SH FILES 128*4882a593Smuzhiyun@@ -367,4 +378,5 @@ weston 129*4882a593Smuzhiyun .BR weston-debug (1), 130*4882a593Smuzhiyun .BR weston-drm (7), 131*4882a593Smuzhiyun .BR weston-rdp (7), 132*4882a593Smuzhiyun+.BR weston-vnc (7), 133*4882a593Smuzhiyun .BR weston.ini (5) 134*4882a593Smuzhiyun-- 135*4882a593Smuzhiyun2.20.1 136*4882a593Smuzhiyun 137