diff --git a/centos/kasmvncserver.spec b/centos/kasmvncserver.spec index 1e66fd5..2a57bec 100644 --- a/centos/kasmvncserver.spec +++ b/centos/kasmvncserver.spec @@ -62,8 +62,10 @@ cp $SRC/man/man1/Xvnc.1 $DESTDIR/usr/share/man/man1/; cp $SRC/share/man/man1/vncserver.1 $DST_MAN; cp $SRC/share/man/man1/vncconfig.1 $DST_MAN; cp $SRC/share/man/man1/vncpasswd.1 $DST_MAN; +cp $SRC/share/man/man1/kasmxpoxy.1 $DST_MAN; cd $DST_MAN && ln -s vncpasswd.1 kasmvncpasswd.1; + %files /usr/bin/* /usr/share/man/man1/* diff --git a/unix/kasmxproxy/CMakeLists.txt b/unix/kasmxproxy/CMakeLists.txt index 7deecc4..bafb8e1 100644 --- a/unix/kasmxproxy/CMakeLists.txt +++ b/unix/kasmxproxy/CMakeLists.txt @@ -8,3 +8,4 @@ target_link_libraries(kasmxproxy ${X11_LIBRARIES} ${X11_XTest_LIB} ${X11_Xrandr_ ${X11_Xcursor_LIB} ${X11_Xfixes_LIB}) install(TARGETS kasmxproxy DESTINATION ${BIN_DIR}) +install(FILES kasmxproxy.man DESTINATION ${MAN_DIR}/man1 RENAME kasmxproxy.1) diff --git a/unix/kasmxproxy/kasmxproxy.man b/unix/kasmxproxy/kasmxproxy.man new file mode 100644 index 0000000..205892d --- /dev/null +++ b/unix/kasmxproxy/kasmxproxy.man @@ -0,0 +1,18 @@ +.TH kasmxproxy 1 "" "KasmVNC" "Virtual Network Computing" +.SH NAME +kasmxproxy \- proxy an existing X11 display to a KasmVNC display +.SH SYNOPSIS +.B kasmxproxy +.RB [ \-a \-\-app\-display +.IR source display, default :0 ] +.RB [ \-v \-\-vnc\-display +.IR destination display, default :1 ] +.RB [ \-f \-\-fps +.IR FPS, default 30 ] +.RB [ \-r \-\-resize +.IR Enable resizing, default disabled. WARNING: DO NOT ENABLE IF PHYSICAL DISPLAY IS ATTACHED ] +.br +.BI "kasmxproxy -a :1 -v :10 -r" +.SH DESCRIPTION +.B kasmxproxy +is used to proxy an x display, usually attached to a physical GPU, to KasmVNC display. This is usually used in the context of providing GPU acceleration to a KasmVNC session.