Thanks.
Couple of quick questions...
I can see that you are running Xvnc via the Xvncinetd script, but then you talk
about creating an Xvncinet script, not an Xvncinetd script.... I assume that's
just a typo?
What do you think was the problem running directly from inetd, perms and
ownership on Xvnc, limitations on invoking Xvnc from inetd or problems with Xvnc
connection timing out before the client opened? I have been continually plagued
with the latter in tryng to do any extensive scripting via X and wonder if thats
the only issue?
Also, from your comment I assume a connection to the webserver on your host at
port 5950 produces no results? What do you get.... Its clear to me that the
browser is connecting to the listening port as the browser let me know it was
having problems with the font server.... so I assume the issue is classpath
related or some such...... any ideas????
maurat gerard wrote:
> Hello,
>
> I suppose that you loose the http port with -inetd option!
>
> I had the similar problem on sun solaris 2.6 with CDE as window manager.
>
> Now it works, why?
> I had several inetd process (strange) and only one of them was activate.
> Each time, i do "kill -1 <bad PID number of inetd process>"
> Perhaps, you're in the same case
>
> my config:
> 1-Add line in /etc/services file
> #X vnc
> vnc 5950/tcp
>
> 2-Add line in /etc/inetd.conf file
> #X vnc
> vnc stream tcp nowait nobody /usr/local/bin/Xvncinetd
> Xvncinetd
> 1280x1024 24
>
> 3-Create script Xvncinet on /usr/local/bin directory:
> #!/bin/sh
> Xvnc -inetd -query localhost -once -geometry $1 -depth $2 -desktop "VNCserver
> sur
> $HOST" -fp tcp/localhost:7100
>
> 4-change owner and group
> su -c "chown root.root /usr/local/bin/Xvnc"
>
> 5-add SGID on the binary file (Xvnc)
> su -c "chmod g+s /usr/local/bin/Xvnc"
>
> 6-do:
> ps -ef |grep inetd
> kill -1 <PID de inetd>
>
> best regards
>
> Girard
>
> Marc Grober a icrit :
>
> > Have a similar problem with aix 4.3.3 (CDE)
> > Everything works fine if I run vncserver from the command line
> > running as inetd I get grey screen if I run broadcast and I get loading and
> the
> > everything disappears if I do -query localhost
> > running xdm seems to make no diff
> > The windows that does pop up suggests that the seesion is being run by
> > nobody.... I suppose thats because vnc is pulling the window title from the
> > inetd line as opposed to pulling it from dtlogin.......
> > trying the web access again it works if I run vncserver from the command
> line
> > but it fails from the web server (first it just gave me a font server error
> > until I turned up fs, now it gives me a netscape server 3! error nd a
> document
> > contains no data error)
> >
> > Does anyone really have this all figured out on a CDE unix server
> >
> > Lee Allen wrote:
> >
> > > VNC is working but nothing is causing an application (X client) or window
> > > manager to start.
> > > You need to set up xdm.
> > >
> > > I am also running RH 6.2 with VNC via inetd.
> > >
> > > -Lee Allen
> > >
> > > ----- Original Message -----
> > > From: Ken Steven <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Friday, May 04, 2001 2:00 AM
> > > Subject: inetd - Seems to be one of the most popular questions.
> > >
> > > > Hi all.
> > > >
> > > > Just installed VNC on RH 6.2.
> > > >
> > > > When I run vncserver everything works fine.
> > > > Running it from inetd however, well, that is another story.
> > > >
> > > > I have searched the archives and looked at every single
> > > > post about the subject - and followed all of the advice -
> > > > but still cannot get it to work.
> > > > All I get is the usually documented grey screen and X cursor.
> > > >
> > > > Why should it be that running from the command line
> > > > all goes well yet from inetd it just don't?
> > > >
> > > > here we go:
> > > > /etc/services
> > > > vnc-640x480x8 5950/tcp
> > > > vnc-800x600x8 5951/tcp
> > > > vnc-800x600x16 5952/tcp
> > > >
> > > > /etc/inetd
> > > > vnc-640x480x8 stream tcp nowait nobody /usr/local/bin/Xvnc
> > > > Xvnc -inetd -broadcast -once -geometry 640x480 -depth 8
> > > > vnc-800x600x8 stream tcp nowait root /usr/local/bin/Xvnc
> > > > Xvnc -inetd -broadcast -once -geometry 800x600x8 -depth 8
> > > > vnc-800x600x16 stream tcp nowait nobody /usr/local/bin/Xvnc
> > > > Xvnc -inetd -broadcast -once -geometry 800x600 -depth 16
> > > >
> > > > I've tried it from different username but all meet with the same
> success
> > > (or
> > > > lack of it I should say).
> > > > I have tried running it from ~/.vnc/xvncinetd with all of the options
> and
> > > as
> > > > basic as I can make it.
> > > > It definately reads the file as it produces whatever I put after
> Desktop
> > > in
> > > > the blue bar yet it still
> > > > fails to do anything else.
> > > >
> > > > Any pointers would most definately be helpful.
> > > >
> > > >
> > > > Cheers
> > > >
> > > > Ken
> > > > ---------------------------------------------------------------------
> > > > 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
> > > ---------------------------------------------------------------------
> > ---------------------------------------------------------------------
> > 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
> ---------------------------------------------------------------------
---------------------------------------------------------------------
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
---------------------------------------------------------------------