Try it without '-query localhost -once'. TurboVNC has a different lineage than RealVNC and thus doesn't support the same set of command-line arguments.
man -M /opt/TurboVNC/man vncserver and man -M /opt/TurboVNC/man Xvnc will give you information about what command-line arguments are supported. If your goal is simply to start TurboVNC servers at boot time, using TurboVNC's built-in init script (see /etc/init.d/tvncserver and /etc/sysconfig/tvncservers) may be a better way to go about it. On 4/18/12 5:32 AM, mich...@mayer.cx wrote: > Hi all, > > > > I am trying to run turbovnc via xinetd to spawn a X11 session on demand. > This works well when using the default RHEL vnc server (Xvnc Free > Edition 4.1.2) but not if run with TurboVNC. I am on 1.0.90 (20120309) > and using simple arguments > > > > -inetd -query localhost -once -geometry 640x480 -depth 16 > > > > which work for the RHEL vnc server quite nicely. TurboVNC however > refuses to start. > > > > If I am doing a strace of the Xvnc process when started manually, I can > see that shortly after getting a pid assigned it stops with > > > > getppid() = 17035 > socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4 > setsockopt(4, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0 > sendto(4, "\0\1\0\2\0\1\0", 7, 0, {sa_family=AF_INET, > sin_port=htons(177), sin_addr=inet_addr("127.0.0.1")}, 16) = 7 > stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0 > write(2, "18/04/2012 12:26:03 Xvnc version turbo1.0.90\n", 45) = 45 > stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0 > write(2, "18/04/2012 12:26:03 Copyright (C) 1999-2012 The VirtualGL > Project and many others\n", 82) = 82 > stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0 > write(2, "18/04/2012 12:26:03 See http://www.virtualgl.org for more > information\n", 70) = 70 > stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0 > write(2, "18/04/2012 12:26:03 Desktop name 'x11' (prepost:19)\n", 52) = 52 > stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0 > write(2, "18/04/2012 12:26:03 Protocol versions supported: 3.3, 3.7, > 3.8, 3.7t, 3.8t\n", 75) = 75 > fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 > setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = -1 ENOTSOCK (Socket > operation on non-socket) > stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0 > write(2, "18/04/2012 12:26:03 ", 20) = 20 > write(2, "setsockopt: Socket operation on non-socket\n", 43) = 43 > exit_group(1) = ? > > Did anyone experience similar things and/or is anyone using TurboVNC > successfully with -inetd option ? > > > > Many thanks, > > > > Michael. > > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > > > > _______________________________________________ > VirtualGL-Users mailing list > VirtualGL-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtualgl-users ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ VirtualGL-Users mailing list VirtualGL-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtualgl-users