Lt XVNC Manual wäre der inetd.conf Eintrag :
Ich habe in der xinetd.d/vnc folgendes eingetragen:In the wait mode, when the first connection comes in, inetd gives the listening socket to Xvnc. This means that for a given TCP port, there is only ever one Xvnc at a time. Further viewer connections to the same port are accepted by the same Xvnc in the normal way. Even when the original connection is broken, the Xvnc will continue to run. If this is used with the XDMCP options -query and -once, the Xvnc and associated X clients will die when the user logs out of the X session in the normal way. It is important to use a VNC password in this case. A typical entry in inetd.conf might be:
5951 stream tcp wait james /usr/local/bin/Xvnc Xvnc -inetd -query localhost -once passwordFile=/home/james/.vnc/passwd
In fact typically, you would have one entry for each user who uses VNC regularly, each of whom has their own dedicated TCP port which they use. In this example, when user "james" connects to :51, he enters his VNC password, then gets the XDM login screen where he logs in in the normal way. However, unlike the previous example, if he disconnects, the session remains persistent, and when he reconnects he will get the same session back again. When he logs out of the X session, the Xvnc will die, but of course a new one will be created automatically the next time he connects.
socket_type = stream
protocol = tcp
wait = yes
user = dino
server = /usr/X11R6/bin/Xvnc
server_args = :42 -inetd - query localhost -once passwordFile=/home/dino/.vnc/passwd
type = UNLISTED
port = 5912
Wenn ich wait = yes auf wait = no stelle bekomme ich einen Connect, aber die Session ist dann wieder tot wenn der Viewer disconnecet. Mit wait = yes beomme ich keinen connect. Der Viewer schliesst sich ohne Kommentar.
Jede Idee ist willkommen .. Danke im Voraus =)