libvncserver 라이브러리에서 제공되는 기본 옵션이 존재한다.
# ./vncserver -help -rfbport port TCP port for RFB protocol -rfbportv6 port TCP6 port for RFB protocol -rfbwait time max time in ms to wait for RFB client -rfbauth passwd-file use authentication on RFB protocol (use 'storepasswd' to create a password file) -rfbversion 3.x Set the version of the RFB we choose to advertise -permitfiletransfer permit file transfer support -passwd plain-password use authentication (use plain-password as password, USE AT YOUR RISK) -deferupdate time time in ms to defer updates (default 40) -deferptrupdate time time in ms to defer pointer updates (default none) -desktop name VNC desktop name (default "LibVNCServer") -alwaysshared always treat new clients as shared -nevershared never treat new clients as shared -dontdisconnect don't disconnect existing clients when a new non-shared connection comes in (refuse new connection instead) -sslkeyfile path set path to private key file for encrypted WebSockets connections -sslcertfile path set path to certificate file for encrypted WebSockets connections -httpdir dir-path enable http server using dir-path home -httpport portnum use portnum for http connection -httpportv6 portnum use portnum for IPv6 http connection -enablehttpproxy enable http proxy support -progressive height enable progressive updating for slow links -listen ipaddr listen for connections only on network interface with addr ipaddr. '-listen localhost' and hostname work too. -listenv6 ipv6addr listen for IPv6 connections only on network interface with addr ipv6addr. '-listen localhost' and hostname work too. |
http 자체는 disable 하는게 없다.
줄 9: 00084 if (strcmp(argv[i], "-help") == 0) { 줄 12: 00087 } else if (strcmp(argv[i], "-rfbport") == 0) { /* -rfbport port */ 줄 19: 00094 } else if (strcmp(argv[i], "-rfbportv6") == 0) { /* -rfbportv6 port */ 줄 26: 00101 } else if (strcmp(argv[i], "-rfbwait") == 0) { /* -rfbwait ms */ 줄 32: 00107 } else if (strcmp(argv[i], "-rfbauth") == 0) { /* -rfbauth passwd-file */ 줄 39: 00114 } else if (strcmp(argv[i], "-permitfiletransfer") == 0) { /* -permitfiletransfer */ 줄 41: 00116 } else if (strcmp(argv[i], "-rfbversion") == 0) { /* -rfbversion 3.6 */ 줄 47: 00122 } else if (strcmp(argv[i], "-passwd") == 0) { /* -passwd password */ 줄 57: 00132 } else if (strcmp(argv[i], "-deferupdate") == 0) { /* -deferupdate milliseconds */ 줄 63: 00138 } else if (strcmp(argv[i], "-deferptrupdate") == 0) { /* -deferptrupdate milliseconds */ 줄 69: 00144 } else if (strcmp(argv[i], "-desktop") == 0) { /* -desktop desktop-name */ 줄 75: 00150 } else if (strcmp(argv[i], "-alwaysshared") == 0) { 줄 77: 00152 } else if (strcmp(argv[i], "-nevershared") == 0) { 줄 79: 00154 } else if (strcmp(argv[i], "-dontdisconnect") == 0) { 줄 81: 00156 } else if (strcmp(argv[i], "-httpdir") == 0) { /* -httpdir directory-path */ 줄 87: 00162 } else if (strcmp(argv[i], "-httpport") == 0) { /* -httpport portnum */ 줄 94: 00169 } else if (strcmp(argv[i], "-httpportv6") == 0) { /* -httpportv6 portnum */ 줄 101: 00176 } else if (strcmp(argv[i], "-enablehttpproxy") == 0) { 줄 103: 00178 } else if (strcmp(argv[i], "-progressive") == 0) { /* -httpport portnum */ 줄 109: 00184 } else if (strcmp(argv[i], "-listen") == 0) { /* -listen ipaddr */ 줄 118: 00193 } else if (strcmp(argv[i], "-listenv6") == 0) { /* -listenv6 ipv6addr */ 줄 126: 00201 } else if (strcmp(argv[i], "-sslkeyfile") == 0) { /* -sslkeyfile sslkeyfile */ 줄 132: 00207 } else if (strcmp(argv[i], "-sslcertfile") == 0) { /* -sslcertfile sslcertfile */ |
[링크 : https://libvncserver.sourceforge.net/doc/html/cargs_8c_source.html]
'프로그램 사용 > VNC' 카테고리의 다른 글
libvncserver without password (0) | 2022.11.08 |
---|---|
libvncserver 종료 절차 (0) | 2022.11.01 |
libvncserver 로그인 (0) | 2022.09.26 |
libvncserver 접속 끊어짐 문제 (0) | 2022.08.16 |
libvncserver websocket example (0) | 2022.08.12 |