I've setup several VNC services to run on xinetd, they're supposed to connect to XDMCP on localhost so that they use GDM. However, when I try to connect to a server started by xinetd, I get this
Code:
andymadigan@andydeb:~$ xvncviewer localhost:1
VNC viewer version 3.3.7 - built Jul 18 2003 16:45:54
Copyright (C) 2002-2003 RealVNC Ltd.
Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
See http://www.realvnc.com for information on VNC.
ReadFromRFBServer: rdr::EndOfStream
but when I issue the command vncserver :10 -query 127.0.0.1, can connect to it, any ideas?
Note: Here are my lines in /etc/inetd.conf:
Code:
tsclient640 stream tcp nowait nobody /usr/bin/Xvnc Xvnc -inetd :1 -query 127.0.0.1 -geometry 640x480 -depth 8 -securitytypes=none
tsclient800 stream tcp nowait nobody /usr/bin/Xvnc Xvnc -inetd :2 -query 127.0.0.1 -geometry 800x600 -depth 16 -securitytypes=none
tsclient1024 stream tcp nowait nobody /usr/bin/Xvnc Xvnc -inetd :3 -query 127.0.0.1 -geometry 1024x768 -depth 24 -securitytypes=none
radmin800 stream tcp nowait nobody /usr/bin/Xvnc Xvnc -inetd :4 -query 127.0.0.1 -geometry 800x600 -depth 16 -securitytypes=none
radmin1024 stream tcp nowait nobody /usr/bin/Xvnc Xvnc -inetd :5 -query 127.0.0.1 -geometry 1024x768 -depth 24 -securitytypes=none
and /etc/services
Code:
tsclient640 5901/tcp
tsclient800 5902/tcp
tsclient1024 5903/tcp
radmin800 5904/tcp
radmin1024 5905/tcp