Got it!  The key for me was 1) my misunderstanding of the
/etc/services file function and 2) the location of the error logs

The basic problem was one of my server arguments had 'wrapped' to a
new line and was being read as its own parameter instead of a server
arg.  And of course that 'parameter' doesn't exist thus service fails
to load.

Told ya it was a newbie mistake.  What burns me up is I have built and
administered Beowulf clusters, but its been so many years I have lost
ALL my skills.

On Wed, 30 Mar 2005 09:14:04 -0800, Collins, Kevin (MindWorks)
[Contractor] <[EMAIL PROTECTED]> wrote:
> On further investigation, it turns out I already had a service called
> "vnc" running on 5950 - obviously, I started working on this before and
> forgot about it :)
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Collins, Kevin (MindWorks) [Contractor]
> Sent: Wednesday, March 30, 2005 7:49 AM
> To: Stephen Hinton
> Cc: vnc-list@realvnc.com
> Subject: RE: Newbie server Question
> 
> Ok - I have been thinking about setting up "on demand" VNC for a while
> and yesterday I started working on it after replying to your email. So
> far I do not have it working all the way - I am seeing a black screen
> with a big X and never get to the XDMCP login screen.
> 
> However, I did make past where you are, but I also used a couple of
> different online docs. In my case, when restarting xinetd I see this
> message in /var/log/messages:
> 
> Mar 29 15:03:21 cpafisxw xinetd[592]: bind failed (Address already in
> use (errno = 98)). service = vnc-640x480x8
> 
> Which in my case is port 5950...
> 
> Try restarting/reloading xinetd and see if you have a similar message
> for 5951. I have tried using lsof to identify what is using that port
> and found nothing, but each time I restart xinetd I see the same error.
> 
> If anyone has tips for resolving the "black screen with X" problem, I'm
> all ears. I did not need to change any GDM settings because the machine
> in question already supports XDMCP logins from any server.
> 
> Kevin
> 
> -----Original Message-----
> From: Stephen Hinton [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 29, 2005 9:25 PM
> To: Collins, Kevin (MindWorks) [Contractor]
> Cc: vnc-list@realvnc.com
> Subject: Re: Newbie server Question
> 
> ok
> chkconfig --list showed vncservers as 'on'
> iptables -L showed
> ACCEPT tcp -- anywhere anywhere state new tcp dpt:vnc-norm
> 
> which is the name i gave to the port in /etc/services
> 
> I did check that the name in services and the vncservers file match
> exactly.
> 
> However, i still do not see a listening port for 5951 when i do a
> netstat -tl
> 
> On Tue, 29 Mar 2005 08:12:15 -0800, Collins, Kevin (MindWorks)
> [Contractor] <[EMAIL PROTECTED]> wrote:
> > There is no direct relationship between /etc/services and what
> services
> > are running (or listening). Try running:
> >
> > # chkconfig --list
> >
> > The last bit of info will show all the services xinetd is controlling
> > and the status of each. Also, do you have any firewall configured? Try
> > running:
> >
> > # ipchains -L
> >
> > And
> >
> > # iptables -L
> >
> > And post the results.
> >
> > Also, make sure the names you specified in /etc/services exactly match
> > the names you specified on each "service" line in
> > /etc/xinetd.d/vncservers (according to the doc).
> >
> > I have not run VNC this way, but these things might help you pinpoint
> an
> > error in configuration.
> >
> > Kevin
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of Stephen Hinton
> > Sent: Monday, March 28, 2005 8:39 PM
> > To: vnc-list@realvnc.com
> > Subject: Newbie server Question
> >
> > Ok,
> >    I am trying to get VNC to run as an on-demand service because I
> > would ultimately like to remove the monitor and keyboard from my
> > server and administer it remotely in entirety.  However, I'm not savvy
> > enough yet to be confident I can do that without my GUI crutches.  I
> > am running into a very simple problem that is probably more linux
> > related than VNC related, but I still need help.  I'm running Fedora.
> > I can get VNC operational on a 'per-user' basis using the nice GUI
> > 'desktop sharing' interfaces.  However, I cannot find any GUI setup
> > that will allow VNC to run 'on-demand' to provide a remote login
> > screen, etc.  So I found and followed the very nice, very explicit
> > "VNC on UNIX-like systems - step by step guide." that are found
> > reproduced on several websites
> > (http://www.mythic-beasts.com/~hobb/main/index.php?pagename=VncOnLinux
> > ).  However, I cannot for the life of me get Xvnc to 'listen' on a
> > port.  Which obviously prevents anything else from working as far as
> > vnc goes.  I have created the entries in /etc/services, I have created
> > the corresponding vncservers file in /etc/xinetd.d/ .  I have enabled
> > XDMCP (which should be beside the point).  I restarted xinetd.  When I
> > do a 'netstat -tl' i do NOT see any service listening on my 595x
> > ports.  It should be listed as listening even if no one is connected
> > right?  In fact, I would think it would be listening just from the
> > entry in the /etc/services file even if I screwed up the server
> > settings in xinetd.  But then again I am a noob.  So someone tell me
> > what obvious mistake I am making here.
> > _______________________________________________
> > VNC-List mailing list
> > VNC-List@realvnc.com
> > To remove yourself from the list visit:
> > http://www.realvnc.com/mailman/listinfo/vnc-list
> _______________________________________________
> VNC-List mailing list
> VNC-List@realvnc.com
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to