18
Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

Embed Size (px)

Citation preview

Page 1: Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

Using VCL for Distributed Pair ProgrammingCSC/ECE 517, Spring 2013

Page 2: Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

First, bring up VCL (vcl.ncsu.edu)

Page 3: Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

Select “Make a Reservation”

Page 4: Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

Scroll the dropdown to “Ruby on Rails”

Page 5: 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”.

Page 6: Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

You will get a confirmation screen

Page 7: Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

When your machine is ready, click “Connect”

You must do this within 15 minutes, or your request will time out.

Page 8: Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

You will be told the IP address of your VCL host

Page 9: Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

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.

Page 10: Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

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.

Page 11: Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

Set a VNC passwordIf 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).

Page 12: Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

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.

Page 13: Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

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.”

Page 14: Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

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.

Page 15: Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

Then you will see a Linux desktop

RubyMine opens at startup.

Page 16: Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

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.

Page 17: Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

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 when

requested to do so.

Page 18: Using VCL for Distributed Pair Programming CSC/ECE 517, Spring 2013

Audio …Oh, almost forgot—for audio

you can use Skype

or the telephone.