リモートデスクトップの見直し
何日かリモートデスクトップをトライしたけれどどれもうまくいかず、Vinoを試すも重くて使い物にならないため、x11vncを使用する。
インストール
$ sudo apt-get install x11vnc xinetd
/etc/xinetd.d/x11vncを以下の内容で作成
service x11vnc
{
type = UNLISTED
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/x11vnc
server_args = -inetd -o /var/log/x11vnc.log -display :0 -forever -bg -rfbauth /etc/vncpasswd -shared -enablehttpproxy -forever -nolookup -auth /var/run/lightdm/root/:0
port = 5900
flags = IPv6
}
x11vncのパスワード設定
$ sudo x11vnc -storepasswd /etc/vncpasswd
Enter VNC password:
Verify password:
Write password to /etc/vncpasswd? [y]/n y
Password written to: /etc/vncpasswd
xinetd を再起動
$ sudo service xinetd restart
Windows側のVNCクライアントで接続し、リモートデスクトップ完了。
vnc4serverやtightvncみたいに別プロセスでデスクトップを作るのではなく、完全にリモート状態。これでいいのかはわからない。