LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   can't connect to VNC server started by xinetd (https://www.linuxquestions.org/questions/linux-networking-3/cant-connect-to-vnc-server-started-by-xinetd-213139/)

andymadigan 08-03-2004 10:00 PM

can't connect to VNC server started by xinetd
 
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


Thoreau 08-03-2004 10:04 PM

suggestion
 
You have to set the vnc password before the server becomes accessible. Was this done?

andymadigan 08-03-2004 10:07 PM

yes
 
yes, I ran vncpasswd before doing any of this, but --securitytypes=none is supposed to disable password checking.

andymadigan 08-04-2004 11:35 AM

update
 
tried removing --securitytypes, still no luck, does anybody know why this is happening, is there another way I can set this up? Has anybody found a debian package for RealVNC 4.0?

pjbgravely 02-21-2006 04:18 PM

Yes vnc4server


All times are GMT -5. The time now is 04:00 AM.