LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-03-2004, 10:00 PM   #1
andymadigan
Member
 
Registered: Aug 2004
Location: Rochester, NY
Distribution: Debian Sid
Posts: 59

Rep: Reputation: 15
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
 
Old 08-03-2004, 10:04 PM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
suggestion

You have to set the vnc password before the server becomes accessible. Was this done?
 
Old 08-03-2004, 10:07 PM   #3
andymadigan
Member
 
Registered: Aug 2004
Location: Rochester, NY
Distribution: Debian Sid
Posts: 59

Original Poster
Rep: Reputation: 15
yes

yes, I ran vncpasswd before doing any of this, but --securitytypes=none is supposed to disable password checking.
 
Old 08-04-2004, 11:35 AM   #4
andymadigan
Member
 
Registered: Aug 2004
Location: Rochester, NY
Distribution: Debian Sid
Posts: 59

Original Poster
Rep: Reputation: 15
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?
 
Old 02-21-2006, 04:18 PM   #5
pjbgravely
Member
 
Registered: Mar 2004
Location: USA
Distribution: Aptosid, Ubuntu server, DSL
Posts: 53

Rep: Reputation: 16
Yes vnc4server
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
start VNC through xinetd in RH9 UltraSoul Linux - Networking 0 07-28-2005 02:12 PM
RealVNC on sid, can't connect to server started by xinetd andymadigan Debian 1 08-05-2004 05:32 PM
X with no desktop when VNC Server started from user account jboo Linux - General 1 02-04-2004 02:40 PM
unable to connect to server thru vnc... marvc Linux - Software 0 05-25-2003 06:24 PM
Need Help With Getting ProFTPd Started via XINETD John_Saunders Linux - Software 4 07-23-2002 10:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration