Well, I guess I am talking to myself.  I figured it out doing what I thought I
had done, but apparently had not.

I stripped everything back to the basic configuration using root as the user.
My inetd.conf looked like:

vnc stream tcp nowait root /user/bin/Xvnc Xvnc -inetd -once -query localhost

This seemed to work.  I then found in the FAQ a note about only being able to
run as root that required the following change:

chmod 01777 /tmp/.X11-unix

I then changed root back to nobody and things are still good to go.

One other note.  I changed -query localhost to -broadcast and I started
attaching to random Linux/Unix/Solaris XDM boxes visible in the broadcast
radius.  Sort of freaked me out.  I had to change it back since I have no
interest in connecting to the other machines in a random fashion ;-).

I hope that there isn't anything else that I did in all my tinkering that
would be required in addition to what I explained above to get things
working.

BTW, I am using the 3.3.3 R2 version of VNC for Solaris 2.5+.  This stuff is
great!!!

Enjoy!

Jeff

>>> [EMAIL PROTECTED] 03/01/01 05:19PM >>>
Hi all,

Just stumbled across VNC and I am impressed and excited.  I am running the
VNC
server on Sun Solaris 8 and using the Windows viewer on Win2000 Pro Sp1.  I
am
now attempting to set it up as an inetd service daemon.  However, I am not
having any luck. I have searched the mailing list archive and web site, but I
am unable to find specific help with the configuration.

I am rusty on my Unix so forgive me if I am doing something obviously wrong
and additionally, I have not dealt with configuring Xservers.

I have the following in my files:

#######################################

#
#/etc/services:
#
vnc-1024x768x32 5950/tcp

#
#/etc/inetd.conf:
#I created a script with all the options to start Xvnc so as to not overload
the max arg length
#
vnc-1024x768x32 stream  tcp     nowait  nobody  /usr/bin/inetd.Xvnc
inetd.Xvnc

#
#/etc/inetd.Xvnc:
#

/usr/bin/Xvnc -inetd -broadcast -once -desktop dtwm -httpd /usr/vnc/classes
-auth /export/vncuser/.Xauthority -geometry 1024x768 -depth 32 -fp
/usr/X/lib/X11/fonts -co /usr/X/lib/X11

#######################################

I created a directory called /export/vncuser that has the files the VNC
created in my normal user directory.   I then made 'nobody' the owner of
everything there and below.

I reboot the Sun box and launch the viewer on my Win2000 machine.  I connect
to 'scarab:50' and nothing happens.  Previously, I created script to launch
Xvnc, I used the command line just as it was listed at
(http://www.dei.isep.ipp.pt/~andre/extern/ixvnc.htm).  I did not include the
-fp or -co options.  At that point instead of doing nothing, it got an
"Invalid Protocol" message on the viewer side.

Here are my specific questions.

-  I am a bit unclear as to what happens with NOBODY as the identity used and
how it gets the configuration files.  Maybe this is not an issue since the
PERL script seems to be pulling most the information out for me.  It does
appear to need the .Xauthority file which I put in the /export/vncuser
directory.

- As an inetd service, what files does it need access to?

- The -co option (color database) specifies the path to what files?  The
example path did not match what my system uses.

- Is there another option I should be specifying?

- How does it know what Desktop to launch or does it just launch the general
login screen?

- If there are web resources I have missed could someone point me there also?

Thanks for any info.
Hi all, Just stumbled across VNC and I am impressed and excited.  I am
running the VNC server on Sun Solaris 8 and using the Windows viewer on
Win2000 Pro Sp1.  I am now attempting to set it up as an inetd service
daemon.  However, I am not having any luck. I have searched the mailing
list archive and web site, but I am unable to find specific help with the
configuration. I am rusty on my Unix so forgive me if I am doing
something obviously wrong and additionally, I have not dealt with
configuring Xservers.   I have the following in my files:
####################################### ##/etc/services:#vnc-1024x768x32
5950/tcp ##/etc/inetd.conf:#I created a script with all the options to
start Xvnc so as to not overload the max arg length#vnc-1024x768x32
stream  tcp     nowait  nobody  /usr/bin/inetd.Xvnc inetd.Xvnc
##/etc/inetd.Xvnc:# /usr/bin/Xvnc
-inetd -broadcast -once -desktop dtwm -httpd /usr/vnc/classes -auth
/export/vncuser/.Xauthority -geometry 1024x768 -depth 32 -fp
/usr/X/lib/X11/fonts -co /usr/X/lib/X11
####################################### I
created a directory called /export/vncuser that has the files the VNC
created in my normal user directory.   I then made 'nobody' the owner of
everything there and below.   I reboot the Sun box and launch the viewer
on my Win2000 machine.  I connect to 'scarab:50' and nothing happens.
Previously, I created script to launch Xvnc, I used the command line just
as it was listed at (http://www.dei.isep.ipp.pt/~andre/extern/ixvnc.htm).
I did not include the -fp or -co options.  At that point instead of doing
nothing, it got an "Invalid Protocol" message on the viewer side. Here
are my specific questions. -  I am a bit unclear as to what happens with
NOBODY as the identity used and how it gets the configuration files.
Maybe this is not an issue since the PERL script seems to be pulling most
the information out for me.  It does appear to need the .Xauthority file
which I put in the /export/vncuser directory. - As an inetd service, what
files does it need access to? - The -co option (color database) specifies
the path to what files?  The example path did not match what my system
uses. - Is there another option I should be specifying? - How does it
know what Desktop to launch or does it just launch the general login
screen? - If there are web resources I have missed could someone point me
there also? Thanks for any info.
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
Well, I guess I am talking to myself.  I figured it out doing what I
thought I had done, but apparently had not. I stripped everything back to
the basic configuration using root as the user.  My inetd.conf looked
like: vnc stream tcp nowait root /user/bin/Xvnc Xvnc -inetd -once -query
localhost This seemed to work.  I then found in the FAQ a note about only
being able to run as root that required the following change: chmod 01777
/tmp/.X11-unix I then changed root back to nobody and things are still
good to go.   One other note.  I changed -query localhost to -broadcast
and I started attaching to random Linux/Unix/Solaris XDM boxes visible in
the broadcast radius.  Sort of freaked me out.  I had to change it back
since I have no interest in connecting to the other machines in a random
fashion ;-).   I hope that there isn't anything else that I did in all my
tinkering that would be required in addition to what I explained above to
get things working. BTW, I am using the 3.3.3 R2 version of VNC for
Solaris 2.5+.  This stuff is great!!! Enjoy! Jeff

>>> [EMAIL PROTECTED] 03/01/01 05:19PM >>>
Hi all,

Just stumbled across VNC and I am impressed and excited.  I am running
the VNC
server on Sun Solaris 8 and using the Windows viewer on Win2000 Pro Sp1. 
I am
now attempting to set it up as an inetd service daemon.  However, I am
not
having any luck. I have searched the mailing list archive and web site,
but I
am unable to find specific help with the configuration.

I am rusty on my Unix so forgive me if I am doing something obviously
wrong
and additionally, I have not dealt with configuring Xservers.

I have the following in my files:

#######################################

#
#/etc/services:
#
vnc-1024x768x32 5950/tcp

#
#/etc/inetd.conf:
#I created a script with all the options to start Xvnc so as to not
overload
the max arg length
#
vnc-1024x768x32 stream  tcp     nowait  nobody  /usr/bin/inetd.Xvnc
inetd.Xvnc

#
#/etc/inetd.Xvnc:
#

/usr/bin/Xvnc -inetd -broadcast -once -desktop dtwm -httpd
/usr/vnc/classes
-auth /export/vncuser/.Xauthority -geometry 1024x768 -depth 32 -fp
/usr/X/lib/X11/fonts -co /usr/X/lib/X11

#######################################

I created a directory called /export/vncuser that has the files the VNC
created in my normal user directory.   I then made 'nobody' the owner of
everything there and below.

I reboot the Sun box and launch the viewer on my Win2000 machine.  I
connect
to 'scarab:50' and nothing happens.  Previously, I created script to
launch
Xvnc, I used the command line just as it was listed at
(http://www.dei.isep.ipp.pt/~andre/extern/ixvnc.htm).  I did not include
the
-fp or -co options.  At that point instead of doing nothing, it got an
"Invalid Protocol" message on the viewer side.

Here are my specific questions.

-  I am a bit unclear as to what happens with NOBODY as the identity used
and
how it gets the configuration files.  Maybe this is not an issue since
the
PERL script seems to be pulling most the information out for me.  It does
appear to need the .Xauthority file which I put in the /export/vncuser
directory.

- As an inetd service, what files does it need access to?

- The -co option (color database) specifies the path to what files?  The
example path did not match what my system uses.

- Is there another option I should be specifying?

- How does it know what Desktop to launch or does it just launch the
general
login screen?

- If there are web resources I have missed could someone point me there
also?

Thanks for any info.
Hi all, Just stumbled across VNC and I am impressed and excited.  I am
running the VNC server on Sun Solaris 8 and using the Windows viewer on
Win2000 Pro Sp1.  I am now attempting to set it up as an inetd service
daemon.  However, I am not having any luck. I have searched the mailing
list archive and web site, but I am unable to find specific help with the
configuration. I am rusty on my Unix so forgive me if I am doing
something obviously wrong and additionally, I have not dealt with
configuring Xservers.   I have the following in my files:
####################################### ##/etc/services:#vnc-1024x768x32
5950/tcp ##/etc/inetd.conf:#I created a script with all the options to
start Xvnc so as to not overload the max arg length#vnc-1024x768x32
stream  tcp     nowait  nobody  /usr/bin/inetd.Xvnc inetd.Xvnc
##/etc/inetd.Xvnc:# /usr/bin/Xvnc
-inetd -broadcast -once -desktop dtwm -httpd /usr/vnc/classes -auth
/export/vncuser/.Xauthority -geometry 1024x768 -depth 32 -fp
/usr/X/lib/X11/fonts -co /usr/X/lib/X11
####################################### I
created a directory called /export/vncuser that has the files the VNC
created in my normal user directory.   I then made 'nobody' the owner of
everything there and below.   I reboot the Sun box and launch the viewer
on my Win2000 machine.  I connect to 'scarab:50' and nothing happens.
Previously, I created script to launch Xvnc, I used the command line just
as it was listed at (http://www.dei.isep.ipp.pt/~andre/extern/ixvnc.htm).
I did not include the -fp or -co options.  At that point instead of doing
nothing, it got an "Invalid Protocol" message on the viewer side. Here
are my specific questions. -  I am a bit unclear as to what happens with
NOBODY as the identity used and how it gets the configuration files.
Maybe this is not an issue since the PERL script seems to be pulling most
the information out for me.  It does appear to need the .Xauthority file
which I put in the /export/vncuser directory. - As an inetd service, what
files does it need access to? - The -co option (color database) specifies
the path to what files?  The example path did not match what my system
uses. - Is there another option I should be specifying? - How does it
know what Desktop to launch or does it just launch the general login
screen? - If there are web resources I have missed could someone point me
there also? Thanks for any info.
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to