I was looking around for a way to get gdm to work with vnc and the -inetd
option but I couldn't find anybody who had done it.  Eventually I got it to
work ant thought you might like to hear my solution.

The problem seems to be that the xdmcp is turned off by default in gdm. 
Turning this on seems to do the trick.

The xdmcp section of my gdm.conf file looks like this: (note the Enable=1
and HonorIndirect=1 they used to be 0)


[xdmcp]
Enable=1
HonorIndirect=1
MaxPending=4
MaxPendingIndirect=4
MaxSessions=16
MaxWait=30
MaxWaitIndirect=30
Port=177


My /etc/services has these lines:

vnc-800x600x16  5950/tcp
vnc-1024x768x8  5951/tcp
vnc-1024x768x24 5952/tcp


My /etc/inetd.conf has these lines:


vnc-800x600x16  stream  tcp nowait nobody /usr/bin/Xvnc Xvnc -inetd
-broadcast -once -geometry 800x600
vnc-1024x768x8  stream  tcp nowait nobody /usr/bin/Xvnc Xvnc -inetd
-broadcast -once -geometry 1024x768 -depth 8
vnc-1024x768x24 stream  tcp nowait nobody /usr/bin/Xvnc Xvnc -inetd
-broadcast -once -geometry 1024x768 -depth 16

And it now works.

HTH.

PS Can anyone tell me why I get technicolor icons if I use a depth higher
than 8.  I support 16 and 24 bit color on both client and server sides.

pps I am thinking of either writing a Gnome harness for vnc that
uses ssh and scp and clipboard transfer or I may just contribute
to the existing one.  If anyone has any ideas I'd like to hear them.

-Govind Salinas


-----------------------------------------------
FREE! The World's Best Email Address @email.com
Reserve your name now at http://www.email.com
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to