Thanks Bill and Steve

If I understand correctly your answers, the -inetd argument of Xvnc
causes this one to always ignore the :XX display number argument but
find the next available one. I can understand the rationale, since this
is intended to serve many users.

But I think it would be much better that Xvnc tries to use the given
display number and only if in use find the next available one. Wouldn't
this be an enhancement ?

In my case, the display number is a fixed configuration parameter of the
Apache Jserv server, and there is only one X client for all the server
(I assume a servlet), not one X client for each real user. I had the
idea to use inetd in order to have it relaunch the vnc server in case
Xvnc terminated for any reason, and thus to hope the application will
continue to work. So I would have to use the :2 display number, but I
cannot guarantee it will always be this one ...

Marc

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] De
la part de Steve Palocz Envoyi : vendredi 30 ao{t 2002 04:59 @ :
[EMAIL PROTECTED] Objet : RE: Display number with inetd


This was solved on the mailing list last year.
I can't remember off hand what it was, but it was due to identifying the
start display and if in use add one to it. And yes, you will have to
change the Oracle display number in order to use it. The real question
is how many ppl are going to be using it at one time.

Steve

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of William Hooper
Sent: Thursday, August 29, 2002 7:39 PM
To: [EMAIL PROTECTED]
Subject: Re: Display number with inetd

----- Original Message -----
From: "Marc Mazas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 29, 2002 3:58 AM
Subject: Display number with inetd


> Hi
> I'm on Solaris 8, with VNC 3.3.3R2 (Solaris 2.5 bundle).
> I've an application (ERP Oracle Applications through Apache JServ)
that
> need to access the vnc server through a specific display number (as it
> is a fixed parameter, so I choosed 99). When I launch the vnc server 
> through the command line, I get it ok (ie the display is <host>:99 for

> X clients, like vncviewer). But when I launch it through inetd (added 
> a new service in /etc/services, added a new entry in /etc/inetd.conf 
> with 'Xvnc :99 -inetd -rfbport 5899 .' as arguments, like the ones 
> produced by the vncserver perl script), I get the vnc server ok, can 
> work with it, but the display is <host>:2, not what I want.
> Does anybody have an explanation and/or a solution ?
> TIA
>
> Marc MAZAS

If I understand correctly using VNC via inetd causes a new display to be
generated per connection.  The details of VNC don't change and it still
uses one port per user.  I assume you are trying to make it so multiple
users can use the Oracle Applications.  Unless they share a display
number I don't think it is possible.
--
William Hooper

Hey, this isn't my tagline ! Who put it here ?
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED] http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED] http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to