wiki:TipAndDoc/network/vnc

Version 5 (modified by mitty, 13 years ago) (diff)

--

x11vnc

  • ~/.x11vncrc
    display :0 # This will do in most single user machine
    rfbauth .vnc/passwd # password file
    rfbport 5900 # Use this default port
    forever # Without this x11vnc will die after serving one connection.
    localhost # Only accept local connections. This makes your x11vnc secure along with SSH.
    
  • x11vnc -storepasswd で作られるパスワードファイルは先頭8文字しか見ない模様
    • -rw------- 1 mitty mitty 8 Feb 17 00:04 .vnc/passwd
  • ssh 越しにx11vnc serverの起動には成功せず(原理的に出来ない?)
    • sudo x11vncで起動すればよい
    • 「alias sudo='sudo -H '」している場合は、以下のようにする
      sudo x11vnc -rc ~/.x11vncrc
      
    • see also ssh
  • xfceの Settings -> Session and Startup の Application Autostart に 「/usr/bin/x11vnc」で登録すると良い

vnc with xinetd

Attachments (4)

Download all attachments as: .zip