FrontPage > OTHER > リモート操作 > VNC > VNCオプション
※Windows版のVNCサーバは除く
X-Window環境で、「vncserver」を起動させると
バックグラウンドで「X-Server」も起動します。
基本的には、X-Serverのオプションとなります。
※「~/.vnc/xstartup」にて使用するWM(Window Manager)なども設定可。
参考ページ : (xjman) Manpage of XSERVER
<デフォルト起動> $ vncserver [パラメータ]
<1024x768> -geometry 1024x768 <1280x1024> -geometry 1280x1024 <テスト> 実行可 -geometry 1024x1280
-depth 8
-depth 16
-depth 24
-cc [数値] <Pseudo Color設定> -cc 3
<デフォルト起動> $ vncviewer [host]:[ディスプレイ番号] [パラメータ]
-display [host]:[ディスプレイ番号].[スクリーン番号] (例) -display :0.0
-FullScreen
-ViewOnly
-passwd [パスワードファイル] (例) -passwd ~/.vnc/passwd]
-SendClipboard
$ vncserver --help usage: vncserver [:<number>] [-name <desktop-name>] [-depth <depth>] [-geometry <width>x<height>] [-pixelformat rgbNNN|bgrNNN] <Xvnc-options>... vncserver -kill <X-display>
$ vncviewer --help VNC viewer for X version 4.0 - built Feb 21 2008 11:32:35 Copyright (C) 2002-2004 RealVNC Ltd. See http://www.realvnc.com for information on VNC. usage: vncviewer [parameters] [host:displayNum] [parameters] vncviewer [parameters] -listen [port] [parameters] Parameters can be turned on with -<param> or off with -<param>=0 Parameters which take a value can be specified as -<param> <value> Other valid forms are <param>=<value> -<param>=<value> --<param>=<value> Parameter names are case-insensitive. The parameters are: name - The X window name (default=) MenuKey - The key which brings up the popup menu (default=F8) DebugDelay - Milliseconds to display inverted pixel data - a debugging feature (default=0) via - Gateway to tunnel via (default=) display - The X display (default=) geometry - X geometry specification (default=) listen - Listen for connections from VNC servers (default=0) SendPrimary - Send the primary selection and cut buffer to the server as well as the clipboard selection (default=1) SendClipboard - Send clipboard changes to the server (default=1) AcceptClipboard - Accept clipboard changes from the server (default=1) Shared - Don't disconnect other viewers upon connection - share the desktop instead (default=0) ViewOnly - Don't send any mouse or keyboard events to the server (default=0) FullScreen - Full screen mode (default=0) PreferredEncoding - Preferred encoding to use (ZRLE, hextile or raw) - implies AutoSelect=0 (default=) LowColourLevel - Colour level to use on slow connections. 0 = Very Low (8 colours), 1 = Low (64 colours), 2 = Medium (256 colours) (default=1) FullColor - Alias for FullColour FullColour - Use full colour - otherwise low colour level is used until AutoSelect decides the link is fast enough (default=0) AutoSelect - Auto select pixel format and encoding (default=1) DotWhenNoCursor - Show the dot cursor when the server sends an invisible cursor (default=1) UseLocalCursor - Render the mouse cursor locally (default=1) passwd - Alias for PasswordFile PasswordFile - Password file for VNC authentication (default=) WMDecorationHeight - Height of window manager decoration around a window (default=24) WMDecorationWidth - Width of window manager decoration around a window (default=6) PointerEventInterval - Time in milliseconds to rate-limit successive pointer events (default=0) Log - Specifies which log output should be directed to which target logger, and the level of output to log. Format is <log>:<target>:<level>[, ...]. (default=) ZlibLevel - Zlib compression level (default=-1)
$ vncpasswd --help usage: vncpasswd [file]