gdmをログイン画面に使用したVNCサーバの設定
inetdを利用したVNCサーバの起動
/etc/servicesに以下の記述を追加
vnc-800x600x8 5950/tcp vnc-800x600x16 5951/tcp vnc-1024x768x8 5952/tcp vnc-1024x768x16 5953/tcp
/etc/inetd.confに以下の記述を追加
vnc-800x600x8 stream tcp nowait nobody /usr/bin/Xvnc \ Xvnc -inetd -query localhost -once -geometry 800x600 \ -depth 8 -cc 3 -SecurityTypes None vnc-800x600x16 stream tcp nowait nobody /usr/bin/Xvnc \ Xvnc -inetd -query localhost -once -geometry 800x600 \ -depth 16 -SecurityTypes None vnc-1024x768x8 stream tcp nowait nobody /usr/bin/Xvnc \ Xvnc -inetd -query localhost -once -geometry 1024x768 \ -depth 8 -cc 3 -SecurityTypes None vnc-1024x768x16 stream tcp nowait nobody /usr/bin/Xvnc \ Xvnc -inetd -query localhost -once -geometry 1024x768 \ -depth 16 -SecurityTypes None
xinetdの場合はこんな感じで/etc/xinetd.d/vncを作成
service vnc-1024x768x16
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/bin/Xvnc
server_args = -inetd -query localhost -once -geometry 1024x768 -depth 16 -SecurityTypes None
log_on_failure += USERID
}
XDMCPの有効化
/etc/X11/gdm/gdm.confを編集してXDMCPを有効に
[xdmcp] #Enable=false Enable=true
以下の記述でGreeterの見栄えが良くなる
[daemon] #RemoteGreeter=/usr/bin/gdmlogin RemoteGreeter=/usr/bin/gdmgreeter
キーワード:
参照:[FrontPage]