403
回編集
(ページの作成:「= 概要 = 次の表のとおりである。 {| class="wikitable" |VNCサーバ |TigerVNC |}」) |
(→概要) |
||
|TigerVNC
|}
= 設定 =
必要に応じて、次のファイルに、以下の設定を行う。
~/.vnc/xstartup
<nowiki>
#!/bin/sh
exec startlxde-pi
</nowiki>
== 仮想スクリーン ==
=== サーバ ===
<nowiki>
$ tigervncserver -geometry 1280x1024 -alwaysshared -dpi 96 -localhost :1
</nowiki>
=== クライアント ===
<nowiki>
$ ssh -Y SERVER xtigervncviewer -SecurityTypes VncAuth -passwd /home/USER/.vnc/passwd :1
</nowiki>
== 物理ディスプレイ ==
=== サーバ ===
<nowiki>
$ x0vncserver -display :0 -passwordfile ~/.vnc/passwd
</nowiki>
=== クライアント ===
<nowiki>
$ ssh -Y SERVER xtigervncviewer -SecurityTypes VncAuth -passwd /home/USER/.vnc/passwd :0
</nowiki>
== LightDM ==
* /etc/lightdm/lightdm.conf
<nowiki>
[VNCServer]
enabled=true
command=Xvnc -rfbauth /etc/vncpasswd
listen-address=localhost
depth=24
</nowiki>
<nowiki>
$ sudo tigervncpasswd /etc/vncpasswd
$ sudo systemctl restart lightdm
</nowiki>
|