こんばんは、田中です。
MK278さん From: "KM" <mk278@xxxxxxxxxxx> message wrote.
やっぱり勘違いしていますね・・汗。
説明の仕方が悪かったのかな?
> service vnc-800x600x24
> {
> socket_type = stream
> protocol = tcp
> port = 5950
> wait = no
> user = nobody
> server = /usr/local/vnc/Xvnc
> server_args = -inetd -query localhost -once -geometry
> 800x600 -depth 24 -nevershared -ac /usr/bin/X11/xset q
> }
> # end
> # description: This vnc server serves 800x600x8 VNC sessions
> service vnc-800x600x24
> {
> socket_type = stream
> protocol = tcp
> port = 5951
> wait = no
> user = nobody
> server = /usr/local/vnc/Xvnc
> server_args = -inetd -query localhost -once -geometry
> 800x600 -depth 24 -nevershared -ac /usr/bin/X11/xset q
> }
> # end
は、vncの設定です。
xinetd.confの設定は次のようになるんじゃないですか?
service vnc
{
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/local/vnc/Xvnc
}
これとは別にvnc.confの設定を書く必要があるだけのことだと思いますよ。
つまり、前にSRAの畠山さんや私が示した設定は、vnc.confの設定です。
これで旨くいかない場合には、xinetd経由での起動は諦めたほうが良いと思います。
なぜ?xinetd経由でvncを使うのか?目的が良くわかりませんが・・
#・・・どうして、小難しいことをしたがるのかしら?
-------------------------------------------------------------
Katsuharu Tanaka mailto : user-tanaka@xxxxxxxxxxxxxxx
PGP FP = C5BE D80F 6DF2 FDB1 2C76 0D24 288E 4D98 766B 344E
----- Original Message -----
From: "KM" <mk278@xxxxxxxxxxx>
To: <linux-users@xxxxxxxxxxx>
Sent: Thursday, December 23, 2004 12:32 AM
Subject: [linux-users:104135] Re: vncサーバをxinetd経由で起動させるには?
> MK278です。
> 皆様、有難うございます。
>
>
> >> 本家MLからの引用ですが、server_argsが足らないのではないでしょうか?
> >> http://www.realvnc.com/pipermail/vnc-list/2001-August/024738.html
> > 日本語の解説なら(私のとこですが)、
> > http://www.sra.co.jp/people/akira/vnc/usage/as-x-terminal.html
> > をどうぞ。
> 有難うございます。
>
> # cat /etc/xinetd.d/vncserser
> service vnc-800x600x24
> {
> socket_type = stream
> protocol = tcp
> port = 5950
> wait = no
> user = nobody
> server = /usr/local/vnc/Xvnc
> server_args = -inetd -query localhost -once -geometry
> 800x600 -depth 24 -nevershared -ac /usr/bin/X11/xset q
> }
> # end
> # description: This vnc server serves 800x600x8 VNC sessions
> service vnc-800x600x24
> {
> socket_type = stream
> protocol = tcp
> port = 5951
> wait = no
> user = nobody
> server = /usr/local/vnc/Xvnc
> server_args = -inetd -query localhost -once -geometry
> 800x600 -depth 24 -nevershared -ac /usr/bin/X11/xset q
> }
> # end
>
> として
>
> # service xinetd restart
>
> でアクセスしてみたのですが相変わらずでした。
> 何か勘違いしてますでしょうか?
>
>
>
References:
- [linux-users:104110] RE: vncサーバをxinetd経由で起動させるには?鈴木孝征 Suzuki Takamasa
- [linux-users:104114] RE: vncサーバをxinetd経由で起動させるには?KM
- [linux-users:104116] RE: vncサーバをxinetd経由で起動させるには?Katsuharu Tanaka
- [linux-users:104131] Re: vncサーバをxinetd経由で起動させるには?Akira Hatakeyama
- [linux-users:104135] Re: vncサーバをxinetd経由で起動させるには?KM
- Prev by Subject: [linux-users:104135] Re: vncサーバをxinetd経由で起動させるには?
- Next by Subject: [linux-users:104137] Re: vncサーバをxinetd経由で起動させるには?
- Previous by thread: [linux-users:104135] Re: vncサーバをxinetd経由で起動させるには?
- Next by thread: [linux-users:104137] Re: vncサーバをxinetd経由で起動させるには?
- Indexes:[Main][Thread]