From: Kumar, S. <shr...@hp...> - 2011-02-07 04:50:12
|
Hi Cristi, It's been a while, and I haven't heard from you on this. Did you get around to solving this problem ? If you need more help, then let me know. Regards -- Shree -----Original Message----- From: Kumar, Shree Sent: Thursday, January 27, 2011 10:40 AM To: viz...@li... Subject: Re: [vizstack-users] Configuring VizStack - using TurboVNC - Problem Hi Cristi, This is indeed possible to do by modifying viz-tvnc (it's written in Python). There are issues to consider. First, you need to figure out the port number to use on the master public IP address. Your end users could execute the viz-tvnc script in any order, and each would use a port on the master IP. Their usage of ports must not clash, and you need to ensure this. How will you ensure this ? If every user is allowed only one session, then this becomes easy. For each user, you can predetermine a port number to be used for forwarding for that user. This approach is simple to implement, and has the benefit of avoiding the race condition mentioned below. If you allow one user only one session, then this is the way to go ! Second, sessions could be started and killed. Setting up port forwarding should not cause race conditions in the script. What's your view on these issues ? Cheers -- Shree -----Original Message----- From: Cristi Mocan [mailto:Cri...@ne...] Sent: Wednesday, January 26, 2011 4:42 PM To: viz...@li... Subject: Re: [vizstack-users] Configuring VizStack - using TurboVNC - Problem Hi Shree, Related to your answer, I have to say that I need the second way - Port forwarding. I have used port forwarding like in your example: ssh -N -L <Master Public IP Address>:5901:192.168.0.2:5901 192.168.0.2 So, after I have started viz-tvnc on the master node and see the command line interface in the terminal ("A desktop has been started for you at node2:1 ...." - I started another terminal on the master node and ran this ssh command with <Master Public IP Address>:5901. After entering the password, I could connect remotely using the TurboVNC Viewer. Can you help me with this issue in order to set this ssh command in viz-tvnc (Python) file. Is there any possibility to have this port forwarding resolved dynamically in viz-tvnc ? For now I have just one user. Thank you in advance ! Regards, Cristi ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------ 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 |