SUSE Linux Enterprise Plus FAQ

システム管理に関するFAQ-37

Q.

VNC (YaST メニューにある「リモート管理」) で使用するポート番号を変更することができますか?

A.

SUSE Linux Enterprise の VNC(リモート管理)はポート番号として 5901 を使用します。 VNC の設定ファイル(/etc/xinetd.d/vnc)を変更することで、使用するポート番号を変更することが可能です。

以下は使用するポート番号を 5901 から 5900 に変更する設定例となります。

[設定例]

1) /etc/xinetd.d/vnc ファイルの次の箇所を修正します

---
service vnc1
{
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/X11R6/bin/Xvnc
server_args = :42 -inetd -once -query localhost -geometry 1024x768 -depth 16
type = UNLISTED
port = 5901 <--------------- 修正箇所

}
---

修正前:port = 5901
修正後:port = 5900

2) 設定変更後、xinetd サービスの再起動を行います。

# /etc/init.d/xinetd restart


前のページへ戻る

ページトップへ戻る

サイオステクノロジー株式会社

CopyrightcSIOS Technology, Inc. All Rights Reserved

プライバシーマーク