180 likes | 203 Views
Learn how to set up a VCL session for collaborative programming in Ruby on Rails. Follow step-by-step instructions on reservation, connection, and using VNC viewer for efficient remote teamwork.
E N D
Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013
Select duration (how much time you would like for the session) Then click on “Create Reservation”.
When your machine is ready, click “Connect” You must do this within 15 minutes, or your request will time out.
Connect to it in a new terminal window If you’ve never connected to this particular VCL host before, you will get a warning message. Answer “yes”. Then log into the VCL host with your Unity ID and password.
The .login script automatically brings up a VNC viewer. Connect to the viewer by putting the IP address in a VNC connection window. Or, you can connect via a Web browser, on port 5801.
Set a VNC password If this is the first time that you have used VNC, you will need to set a VNC password via the vncpasswd command. If you have used VNC before, your old password still applies (unless you change it).
Then open your VNC viewer Viewers we recommend— • Tight VNC for Windows 7 • Real VNC for Windows XP • Chicken of the VNC for Macintosh On Tight VNC, make sure Display is set to 1, your password is typed into the box provided, and “Allow other clients to connect” is checked.
With Real VNC, the process is similar Type the server IP address in the box, followed by the port number (1). Then click on “Options”. The Viewer Options pane will then appear. Click on “Misc.”
With Real VNC, the process is similar Select “Shared connection” … so when you connect, the other user is not disconnected. Then type the VNC password in the box that pops up. On Tight VNC, “shared session” is the default, so you don’t need to change any settings.
Then you will see a Linux desktop RubyMine opens at startup.
Select a workspace with the browser, or create a new one Then you can work remotely with your partner. Either of you can use the keyboard or mouse.
How ’bout your partner? If you are connecting to a VCL session, but not setting it up, you need to … get the IP address and the VNC password from your partner; bring up a VNC viewer and connect; then type the VNC password whenrequested to do so.
Audio … Oh, almost forgot—for audio you can use Skype or the telephone.