From: Kumar, S. <shr...@hp...> - 2011-01-21 10:25:55
|
Hi Cristi, I feel we are closed to solving this. What's the current permission on ~/.vnc ? My advice is that you fix the permissions on the ~/.vnc directory. E.g., on my system, ~/.vnc has permissions drwx------ 2 shree shree 4096 Jan 21 12:34 .vnc Regards -- Shree -----Original Message----- From: Cristi Mocan [mailto:Cri...@ne...] Sent: Friday, January 21, 2011 3:47 PM To: viz...@li... Subject: Re: [vizstack-users] Configuring VizStack - TurboVNC server failed to start - Problem From: Kumar, Shree <shreekumar@hp...> - 2011-01-21 05:10 Hi Cristi, Bad guess! Ok - so now we have to look deeper. Thanks for the additional information. >>>>>> Hi Shree ! Thank you for the replies. VizStack runs a daemon on port 50000 by default. The scripts from the other nodes connect to this daemon. Please ensure that your virtual machine is not blocking this connection. If this port is being blocked, then open it and then retry the viz-tvnc script. >>>>>>> The port is not blocked. Next, try running /opt/vizstack/sbin/vs-test-gpus. This should return successfully. >>>>>>> Test PASSED If all these do not fix the problem, then make a copy of /opt/vizstack/bin/viz-tvnc. Edit the file. Locate the line tvncProc = sched.run(cmd, errFile = open("/dev/null","w")) And edit it to see the error messages tvncProc = sched.run(cmd) Run the edited copy of viz-tvnc. You will see error messages. Pass them on to me to have a look. >>>>>>> After I did the step above I found the problem ! Good Point ! >>>>>>> >>>>>>> >viz-tvnc >>>>>>> >Starting Desktop with resolution 1280x1024 >>>>>>> >vs-vncserver: Wrong type or access mode of /home/cristi/.vnc. >>>>>>> >TurboVNC server failed to start. >>>>>>> >>>>>>> So, the proble came from this vs-vncserver file: line 237-238 >>>>>>> >>>>>>> if (!-d _ || !-o _ || ($vncUserDirUnderTmp && ($mode & 0777) != 0700)) { die "$prog: Wrong type or access mode of $vncUserDir.\n"; } >>>>>>> What I should do in order to fix this attributes-rights... >>>>>>> What is your advice ? >>>>>>> When I tried to run a standalone config directly on the node, it >>>>>>> returns the same message (of course). >>>>>>> >>>>>>> Thank you in advance ! >>>>>>> >>>>>>>Cheers, >>>>>>>Cristi Regards -- Shree ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ vizstack-users mailing list viz...@li... https://lists.sourceforge.net/lists/listinfo/vizstack-users |