Anyone who can help,

I have been trying to get VNC working with inetd the last few days and I
am having issues.  We having been using VNC by SSHing in and starting
the vncserver without any problem but we are getting collisions with
session number and I would like to use the inetd to stop that (I am
admin to 23 users).  I am able to open session through VNC with some
options but not all.

when I try to use below by typing hostname:3 in VNC

johnvnc stream tcp wait jmalian /usr/bin/Xvnc Xvnc -inetd -query
127.0.0.1 -auth -once
passwordFile=/net/mfgnet-fs2/vol/vol2/ict/jmalian/.vnc/passwd -cc 3
-geometry 1265x960

I get nothing.  By nothing I mean I get no message from VNC stating
anything and no windows open.
when I try to use below by typing hostname:5 in VNC

chuckvnc stream tcp nowait ccasale /usr/bin/Xvnc Xvnc -inetd -query
127.0.0.1  -cc 3 -geometry 1265x960

The VNC session opens and I get my CDE login like normal.  The problem
here is the VNC window is labeled ccasale's x11 desktop (hostname:1).
If I close the VNC window and try to reopen the same session by entering
hostname:5 in VNC I get the CDE login again and ccasale's x11 desktop
(hostname:2).  This is where the main problem is.  I want to be able to
when I close the window log back into the same session.  I can do this
when I start the vncserver manually.  I also noticed on the server (the
HPUX machine) that before I open the session through the PC there are no
processes running.  When I start the session with the PC I get the
following

#  ps -aef | grep vnc
 ccasale  9280  6987  0 13:50:56 ?         0:05 Xvnc -inetd -query
127.0.0.1 -cc 3 -geometry 1265x960

When I close the VNC window (click on the X in the top right corner) and
look on the server there are no processes running again.

I hope this is enough information ( and not to much) to get some help
with my problem.  I am highly frustrated at this point and would much
appreciate any help.  As a side not once I get the session problem fixed
I would love some pointers on how to get the security issue fixed.  I
can not get it working so that the VNC asks for a password before
opening the CDE login.


etc/services
johnvnc     5903/tcp                 # VNC for John
chuckvnc    5905/tcp                 # VNC for Chuck
donvnc      5906/tcp                 # VNC for Don


etc/inetd.conf
#johnvnc stream tcp wait jmalian /usr/bin/Xvnc Xvnc -inetd -query
127.0.0.1 -auth -once
passwordFile=/net/mfgnet-fs2/vol/vol2/ict/jmalian/.vnc/pa
sswd -cc 3 -geometry 1265x960
#chuckvnc stream tcp nowait ccasale /usr/bin/Xvnc Xvnc -inetd -query
127.0.0.1  -cc 3 -geometry 1265x960
#donvnc stream tcp wait dole /usr/bin/Xvnc Xvnc -inetd -query 127.0.0.1
-cc 3 -geometry 1265x960
#5900 stream tcp nowait nobody /usr/bin/Xvnc Xvnc -inetd -query
127.0.0.1 -once
#5960 stream tcp wait mdipaola /usr/bin/Xvnc Xvnc -inetd -query
127.0.0.1 -once
passwordFile=/net/mfgnet-fs2/vol/vol2/ict/jmalian/.vnc/passwd
#5955 stream tcp wait ccasale /usr/bin/Xvnc Xvnc -inetd -query 127.0.0.1
-once passwordFile=/net/mfgnet-fs2/vol/vol2/ict/ccasale/.vnc/passwd
#5950 stream tcp nowait nobody /usr/local/bin/Xvnc Xvnc -inetd -query
127.0.0.1 -once securitytypes=none


Notes:

HPUX rev -- 3070 05.21pb 0103 UX
PC VNC -- Windows XP with tightVNC

Thanks for taking a look and lending a hand.

MD
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to