The script always passes -httpd by default. Not sure why it isn't passing that argument on your old machine, but the issue is that -httpd needs to be followed by a directory. Can you do some further diagnosis and determine why the directory argument is blank?
I am not in front of the computer right now, but this has a familiar ring to it. It may have already been fixed in subversion. > On Sep 19, 2014, at 12:10 AM, Paul McIntosh <[email protected]> wrote: > > Thanks - I followed that line of thought but I think I found a different > issue... > > As I have installed it in /usr/local/turbovnc/1.2.1/ the /etc stuff also > ended up there instead of /etc... > > I fixed that by copying turbovncserver-auth.conf turbovncserver.conf to /etc > > But it still failed so I used the following command to determine what was > going on in the good (Centos 5) and bad (Centos 6) case... > > strace -f -o vncserver.log vncserver :1 > > The good case got through the following... > > execve("/usr/local/turbovnc/1.2.1/bin/Xvnc", > ["/usr/local/turbovnc/1.2.1/bin/Xv", ":1", "-desktop", "MASSIVE", "-auth", > "/home/paulmc/.Xauthority", "-dontdisconnect", "-geometry", "1900x918", > "-depth", "24", "-rfbwait", "120000", "-otpauth", "-pamauth", "-rfbport", > ...], [/* 72 vars */]) = 0 > > The bad case failed at... > > execve("/usr/local/turbovnc/1.2.1/bin/Xvnc", > ["/usr/local/turbovnc/1.2.1/bin/Xv"..., ":1", "-desktop", "TurboVNC: labrat:1 > (paulmc)", "-httpd", "-auth", "/home/paulmc/.Xauthority", "-dontdisconnect", > "-geometry", "1240x900", "-depth", "24", "-rfbwait", "120000", "-rfbauth", > "/home/paulmc/.vnc/passwd", ...], [/* 40 vars */] <unfinished ...> > > One difference is the "-httpd" option. So I set the following in > turbovncserver.conf and it now works . > > $enableHTTP = 0; > > > [paulmc@labrat ~]$ vncserver :1 > > Desktop 'TurboVNC: labrat:1 (paulmc)' started on display labrat:1 > > Starting applications specified in /home/paulmc/.vnc/xstartup.turbovnc > Log file is /home/paulmc/.vnc/labrat:1.log > > > I think there might be a bug in Xvnc parsing command options if -http is > given? > > Cheers, > > Paul > > > ----- Original Message ----- > From: "DRC" <[email protected]> > To: "TurboVNC Users" <[email protected]> > Sent: Friday, 19 September, 2014 3:29:46 PM > Subject: Re: [TurboVNC-Users] Issues getting this to work on Centos 6.5 > > I use TurboVNC on CentOS 6.5 on a daily basis. From the error you're getting, > it seems like you might be trying to use a non-TurboVNC vncserver script with > TurboVNC's Xvnc. > >> On Sep 18, 2014, at 11:18 PM, Paul McIntosh <[email protected]> wrote: >> >> We are upgrading everything on our cluster to Centos 6.5 (from 5) and I am >> in the process of getting TurboVNC 1.2.1 to work. >> >> I have built it on a test machine which has GeForce GTX 460 x 2 >> >> I can run the system TigerVNC without error, however when I try TurboVNC I >> get the following: >> >> [paulmc@labrat ~]$ vncserver :1 >> >> WARNING: The first attempt to start Xvnc failed, possibly because the >> vncserver >> script was not able to figure out an appropriate X11 font path for this >> system >> or because the font path you specified with the -fp argument was not valid. >> Attempting to restart Xvnc using the X Font Server (xfs) ... >> Could not start Xvnc. >> >> Unrecognized option: /home/paulmc/.Xauthority >> use: X [:<display>] [option] >> -a # mouse acceleration (pixels) >> ... >> >> >> I have also built TurboVNC the same way on Centos 5 and it works fine. >> >> Anyone worked around this issue before? >> >> Cheers, >> >> Paul >> -- >> Dr Paul McIntosh >> Senior HPC Consultant, Technical Lead, >> Multi-modal Australian ScienceS Imaging and Visualisation Environment >> (www.massive.org.au) >> Monash University, Ph: 9902 0439 Mob: 0434 524935 >> >> ------------------------------------------------------------------------------ >> Slashdot TV. Video for Nerds. Stuff that Matters. >> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk >> _______________________________________________ >> TurboVNC-Users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/turbovnc-users > > ------------------------------------------------------------------------------ > Slashdot TV. Video for Nerds. Stuff that Matters. > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk > _______________________________________________ > TurboVNC-Users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/turbovnc-users > > -- > Dr Paul McIntosh > Senior HPC Consultant, Technical Lead, > Multi-modal Australian ScienceS Imaging and Visualisation Environment > (www.massive.org.au) > Monash University, Ph: 9902 0439 Mob: 0434 524935 > > ------------------------------------------------------------------------------ > Slashdot TV. Video for Nerds. Stuff that Matters. > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk > _______________________________________________ > TurboVNC-Users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/turbovnc-users ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ TurboVNC-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/turbovnc-users
