One more time, StartingVNC at boot in linux

Jeff Vincent JVINCENT "at" novell.com
Mon, 14 Jan 2002 21:25:12 +0000


Do you get the infamous grey screen or just an "unable to connect"
error?

>>> david.colliver "at" revilloc.com 01/14/02 10:45AM >>>
Hi,

I have done all the modifications, except as I am on RH6.2, I cannot do
3 or
5b. However, all others are done.

When I go from the VNC Viewer, I try to connect to port 63 (5963),
1280x1024x16, but I go no further. No error, no password box, nothing.
Do I
not need to run the password script as someone first?

Your help is still appreciated.

Regards.
Dave Colliver.

----- Original Message -----
From: "Janyne Kizer" <janyne_kizer "at" ncsu.edu>
To: <vnc-list "at" uk.research.att.com>
Sent: Monday, January 14, 2002 5:18 PM
Subject: Re: One more time, StartingVNC at boot in linux


> Jeff Vincent wrote:
> >
> > Attached are the entries I use.  One file for services, one to use
with
> > inetd and one to use with xinetd.  All are just the basics.  I
also
> > attached a rudementary installation description I have started for
> > installing.  Eventually it may be more useful.
> >
> > Hope it helps.
> > 1) Install VNC
> >         a) if installed to directory other than /usr/local/bin,
edit the
vnc paths in
> >            the 'vncserver.*' file.
>
> Installed via RPM on RH 7.2 CD
>
> >
> > 2) edit 'xdm-config' and comment out the line '!
DisplayManager.requestPort: 0' (should be the last line)
> >         a) RedHat 7.1,7.2 - '/etc/X11/xdm/xdm-config'
> >
> > 3) edit 'kdmrc' and enable XDMCP on port 177 (if kde is new
enough)
> >         a) RedHat 7.2 - '/etc/kde/kdm/kdmrc'
> >
> > 3) edit Xaccess and uncomment the line '*               #any host
can
get a login window'
> >         a) RedHat 7.1,7.2 -' /etc/X11/xdm/Xaccess'
>
> Done!  I know that XDMCP is working because it is allowing X
connections
> from thin clients (diskless NCDs)
>
> >
> > 4) append contents of 'services.inetd' to 'services'
> >         a) Linux - '/etc/services'
>
> I did not receive this file, however this is what my /etc/services
looks
> like:
>
> vnc-640x480x8   5950/tcp                        # vnc server IP
> vnc-800x600x8   5951/tcp                        # vnc server IP
> vnc-800x600x16  5952/tcp                        # vnc server IP
>
> >
> > 5) Update inetd configuration for the services to enable (based on
/etc/services)
> >         a) inetd - append contents of 'vncserver.inetd' to
'/etc/inetd.conf'
> >         b) xinetd - copy 'vncserver.xinetd' to '/etc/xinetd.d' (RH
7.2)
>
> I did not recieve this file, however this is what my
> /etc/xinetd.d/vnc-640x480x8 file looks like
>
> service vnc-640x480x8
> {
>         disable                 = no
>         socket_type             = stream
>         protocol                = tcp
>         wait                    = no
>         user                    = root
>         server                  = /usr/bin/Xvnc
>         server_args             = -inetd -broadcast -once -geometry
> 640x480 -depth 8
>         log_on_success          += USERID
>         log_on_failure          += USERID
> }
>
> >
> > 6) reboot (or restart inetd/xinetd and xdm or equivalent)
> >         a) xdm
> >                 i) TODO: how to restart the xdm without rebooting?
> >         b) xinet
> >                 i) RedHat 7.1/7.2 - '/etc/init.d/xinet restart'
>
> When I do this xinit restart command I get some errors:
>
> _XSERVTransSocketINETCreateListener: ...SocketCreateListener()
failed
> _XSERVTransMakeAllCOTSServerListeners: server already running
>
> Fatal server error:
> Cannot establish any listening sockets - Make sure an X server isn't
> already run
> ning
>
> When reporting a problem related to a server crash, please send
> the full server output, not just the last messages.
> This can be found in the log file "/var/log/XFree86.0.log".
> Please report problems to xfree86 "at" xfree86.org.
>
> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
> giving up.
> xinit:  unable to connect to X server
> xinit:  No such process (errno 3):  Server error.
>
> These errors seem to occur whether the vnc files are in the
> /etc/xinetd.d direcotry or not :-(
> --
>
> Janyne Kizer
> CNE-3, CNE-4, CNE-5
> Systems Programmer Administrator I
> NC State University, College of Agriculture & Life Sciences
> Extension and Administrative Technology Services
> Phone: (919) 515-3609
>
---------------------------------------------------------------------
> To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
> 'unsubscribe vnc-list' in the message BODY
> See also: http://www.uk.research.att.com/vnc/intouch.html 
>
---------------------------------------------------------------------
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To download your own free RevilloC mailserver, visit
http://www.revilloc.com/mailserver 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------------------------------------------------
To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html 
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------