You need to run VNC as a service. I suggest searching the VNC archives, as
this has been discussed before. Otherwise try the following (this works on
Solaris; don't know about other unix flavours.) :

Add this to your /etc/inetd.conf

# VNC
vnc-640x480x8   stream  tcp     nowait  root    /vncpath/Xvnc   Xvnc
-inetd -query servername -once -geometry 640x480 -depth 8
vnc-800x600x8   stream  tcp     nowait  root    /vncpath/Xvnc   Xvnc
-inetd -query servername -once -geometry 800x600 -depth 8
vnc-800x600x16  stream  tcp     nowait  root    /vncpath/Xvnc   Xvnc
-inetd -query servername -once -geometry 800x600 -depth 16
vnc-1024x768x16 stream  tcp     nowait  root    /vncpath/Xvnc   Xvnc
-inetd -query servername -once -geometry 1024x768 -depth 16

and this to your /etc/services

vnc-640x480x8   5950/tcp
vnc-800x600x8   5951/tcp
vnc-800x600x16  5952/tcp
vnc-1024x768x16 5953/tcp

then restart. Each user should get their own session, and log on
individually.


-----Original Message-----
From: Jesse Duke [mailto:[EMAIL PROTECTED]]
Sent: 08 February 2002 16:25
To: [EMAIL PROTECTED]
Subject: How to make VNC users log in as non-root


I'm having a bit of a problem.  VNC users always log
in as root on the Unix server.  How can this be fixed?
 Will changing the owner of the VNC executable do it?

Also, how can you set up VNC so that only a certain IP
range is allowed?

Also, is it possilble to set up VNC so that each new
login uses a different terminal?  I've asked this
question before, but couldn't figure out how to do it.

Many thanks for all of the help.

Jesse Duke
[EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
---------------------------------------------------------------------
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
---------------------------------------------------------------------
---------------------------------------------------------------------
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
---------------------------------------------------------------------

Reply via email to