vnc-640x480x8   stream tcp nowait remote-desktop /usr/X11R6/bin Xvnc -inetd
-query localhost -once -geometry 640x480 -depth 8

I have tried various options but this is the basic line used in inetd.

-----Original Message-----
From: Akira Hatakeyama [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 10, 2004 9:49 PM
To: geofgibson
Cc: [EMAIL PROTECTED]
Subject: Re: invoking VNC from inetd is confounding me ...

Greetings

On Fri, Sep 10, 2004 at 03:39:40PM -0700, geofgibson wrote:
> I can connect every time when VNC is started from a command line, e.g.
> vncserver :1
> 
> I can even connect if I type something like this into the command line:
> Xvnc -broadcast -once -geometry 640x480 -depth 8.
> 
> But here's the kicker.  When I do this through inetd, I get the dread
> "connection closed unexpectedly" error.
> When I Telnet into the port while the demon is running, instead of getting
> the RFB and version number message I usually see, the message is "Press
any
> key to continue ." when Telnet connects.  Then, the Telnet connection gets
> dropped.

Show me your inetd/xinetd configuration. 

> My suspicion is that when the demon starts up the VNC server, the window
> manager (KDM) intercepts the connection and it is never completed.  

Connection from viewer passed to the inetd, and inetd invokes
Xvnc server (you need '-inetd' option for Xvnc).  Then, Xvnc
request XDM to manage Xvnc' X server, and everything goes well,
login window appears.

-- 
Akira Hatakeyama        E-Mail: [EMAIL PROTECTED]
   http://www.sra.co.jp/people/akira/index.html
chigasaki-minami, tsuzuki ward, yokohama, japan
_______________________________________________
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