メインメニューを開く

差分

X11vnc/Debian9.9

1 バイト除去, 2019年7月26日 (金) 14:22
test@debian:~$ </syntaxhighlight>
= X11vncの起動 x11vncの起動 =
最小限のオプションで起動してみます。<br/>
以下のコマンドを実行します。
上記は、「ディスプレイ番号0(5900ポート)で『~/.vnc/passwd』に設定されたパスワード認証で起動」という意味です。<br/>
以下のようなメッセージが出て、カーソルが点滅して戻ってこなかったら起動しています(色々言われていますが…www)。<br/>
<syntaxhighlight lang="bashtext">24/06/2019 14:50:39 passing arg to libvncserver: -rfbauth
24/06/2019 14:50:39 passing arg to libvncserver: /home/test/.vnc/passwd
24/06/2019 14:50:39 x11vnc version: 0.9.13 lastmod: 2011-08-10 pid: 2472
あと…表示されているメッセージに基づいてオプションを設定していきます。
<syntaxhighlight lang="bashtext">24/06/2019 15:56:31 X DAMAGE available on display, using it for polling hints.
24/06/2019 15:56:31 To disable this behavior use: '-noxdamage'
24/06/2019 15:56:31
<syntaxhighlight lang="bash">x11vnc -display :0 -rfbauth ~/.vnc/passwd -forever -noxdamage</syntaxhighlight>
<syntaxhighlight lang="bashtext">24/06/2019 15:56:31 Wireframing: -wireframe mode is in effect for window moves.
24/06/2019 15:56:31 If this yields undesired behavior (poor response, painting
24/06/2019 15:56:31 errors, etc) it may be disabled:
まぁ、エラーが出ない限りは設定する必要はなさそうです。<br/>
<syntaxhighlight lang="bashtext">24/06/2019 16:03:24 XFIXES available on display, resetting cursor mode
24/06/2019 16:03:24 to: '-cursor most'.
24/06/2019 16:03:24 to disable this behavior use: '-cursor arrow'
無効にする場合は「-cursor arrow」か「-noxfixes」を設定するみたい。
<syntaxhighlight lang="bashtext">24/06/2019 16:03:24 Scroll Detection: -scrollcopyrect mode is in effect to
24/06/2019 16:03:24 use RECORD extension to try to detect scrolling windows
24/06/2019 16:03:24 (induced by either user keystroke or mouse input).
ただ…「定期的な再描画については『-fixscreen』を参照」とも言っているので、そちらをヘルプで参照したほうが良いかな?<br/>
<syntaxhighlight lang="bashtext">24/06/2019 16:03:24 XKEYBOARD: number of keysyms per keycode 10 is greater
24/06/2019 16:03:24 than 4 and 100 keysyms are mapped above 4.
24/06/2019 16:03:24 Automatically switching to -xkb mode.
って感じでしょうか?<br/>
もし「キーリピート(キーを押しっぱなしにしたときに連続して入力)」を有効にしたい場合は「-repeat」を設定してください。
 
= X11vncの自動起動設定 =