Re: Can you have Linux start multiple user's servers on boot?

2001-11-16 Thread Scott J. Sherratt

Question ... I have done this in RHL 7.2:

   If you have an RPM-based system, use the Red Hat Linux 7.2 vnc
package. It comes with an initscript that reads
/etc/sysconfig/vncservers. Put the names in there (like the example).

and put in a line VNCSERVERS="1:scott"

However, every time I reboot, vncserver starts up and creates a new entry 
in /tmp/.X11-unix  X0 X1 X2 X3 etc. and I have to connect remotely using 
the latest number  i.e. vnc to 192.168.1.100:3.  Are the Xn's supposed to 
be cleaned up somehow ?  How is this done ?

Scott J. Sherratt  --  Morgan Hill, California
[EMAIL PROTECTED] Fax: (208)246-5250
-
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
-



Re: Success was Re: VNC Server setup on Linux

2002-01-18 Thread Scott J. Sherratt

Sorry for the newbie questions, but I am having trouble with your VNC setup 
procedure & need some clarification:

http://www.sourcecodecorner.com/articles/vnc/linux.asp#vncserver.inetd

I am running Red Hat 7.2, gdm

##
Step 6:
6) 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 (not available in my RH6.2)
and
The file below is vncserver.inetd. This should be added to the end of 
/etc/inetd.conf. Please note the path. In this
  document the path is /usr/local/bin/Xvnc. This will 
need to be modified based on your own system.
##

- Do I need to do both (a) and (b) ?  I have no /etc/inetd.conf file to 
append anything to...

Step  "Our last file is for Redhat 7.2"  (almost missed this one)

##
This should be copied to the end of /etc/xinet.d. Again, modify the paths 
to suit your
  system. This is the vncserver.xinetd.
##

/etc/xinet.d is a directory, not a file.  Do I place this as a file 
/etc/xinet.d/vncserver.xinetd ?

Scott J. Sherratt  --  Morgan Hill, California
[EMAIL PROTECTED] Fax: (208)246-5250
-
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
-