gdm, xinetd, Xvnc

John Gruber John.Gruber "at" e-hps.com
Wed Dec 10 19:33:01 2003


Hello,

I just setup a Redhat Linux ES (same config as 9.0) server.  I installed
the vncserver rpm that came with the distro.
(vnc-server-4.0-0.beta4.1.1).

I added the following configuration entries:

/etc/services

vnc10 	5910/tcp

/etc/xinetd/vnc

service vnc10
{
	socket-type	= stream
	protocol	= tcp
	wait		= no
	user		= nobody
	server	= /usr/bin/Xvnc
	server_args	= :43 -inetd -once -query localhost
-SecurityType None -geometry 1024x768 -depth 16
	type		= UNLISTED
	port		= 5910
}

/etc/X11/gdm/gdm.conf

set the following:

[xdmcp]
Enable=true

[servers]
0=Standard
1=Standard
2=Standard
3=Standard
4=Standard

When I fired up the vncviewer and got the GDM login screen I thought I
was done.  BUT NO!

It server seems to only want to take one connection.  If I tear down the
connection, another machine can get in, but my desire was to allow 5
connections to this host with GDM.  I did not believe this was an
problem with Xvnc as much as it is a problem with GDM. I see entries in
/var/log/secure showing xinetd taking the connection and then closing
it.  

Similar setup works on Suse9 with kdm...hmm.. Can anyone help??



Thanks John Gruber