http://www.realvnc.com/download.html よりダウンロード(2003/06現在の最新版は3.3.7です)
[xxxxxx@localhost xxxxxx]$ vncserver :1 (1はディスプレイNo. port番号は580nになる) You will require a password to access your desktops. Password: Verify: New 'X' desktop is localhost.localdomain:1 Creating default startup script /home/xxxxxx/.vnc/xstartup Starting applications specified in /home/xxxxxx/.vnc/xstartup Log file is /home/xxxxxx/.vnc/localhost.localdomain:1.log
vncserver -kill :1 (1はディスプレイNo)
内容:
service vnc { disable = no flags = REUSE socket_type = stream wait = no user = xxxxxx <- サービスを起動するUNIXのユーザID server = /usr/bin/Xvnc server_args = -inetd -query 192.168.10.3 -once -geometry 1024x768 -depth 16 log_on_success += DURATION USERID log_on_failure += USERID }
ここで
server_args = -inetd -query 192.168.10.3 -once -geometry 1024x768 -depth 16
の 192.168.10.3 はVNCServerを起動するノードです。
/etc/services に
vnc 5901/tcp
を追加(vncは/etc/xinetd.d/vncのファイル名)
[xdmcp] Enable=true (↑GUI(ログイン)からできる。) これだけではだめな場合 [security] KillInitClients=false
とした。
最後に再起動すればOK!
この記事は
現在のアクセス:20518