ubuntu 10.04でVNC

vnc4serverとxinetdをインストール。

apt-get install vnc4server xinetd

rootでxinetdの設定。
パスワードファイルの作成。
vncpasswd /etc/passwd_vnc(必要?)

/etc/xinetd.d/xvncを新規に作成。

service xvnc
{
        disable = no
        socket_type = stream
        wait = no
        user = nobody
        port = 5900
        server = /usr/bin/Xvnc
        server_args = -inetd -geometry 1024x768 -depth 24 -query localhost -once  securitytypes=none
}

vi /etc/servicesの最後に
xvnc 5900/tcp
を追加。

/etc/gdm/gdm.schemaの変更
security/DisallowTCP
false

xdmcp/Enable
true

/etc/gdm/custom.confを新規作成。

# GDM configuration storage

[daemon]
RemoteGreeter=/usr/lib/gdm/gdm-simple-greeter

[security]
DisallowTCP=false
AllowRemoteRoot=false

[xdmcp]
Enable=true
DisplaysPerHost=2

[greeter]

[chooser]

[debug]

最後に
# /etc/init.d/xinetd restart
# /etc/init.d/gdm restart

ubuntu 10.04でVNC” に1件のコメントがあります

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です