Accessing xstata 12 on the OIT 64 bit unix computing environment via Remote Xsession


OSX 10.5+

  1. Enable your unix account. I recommend /bin/bash as a shell, but if you have a different preference, go for it
  2. Enable your account's access to Princeton's 64 bit servers (nobel.princeton.edu) that host engineering, math and stat software
  3. Run Applications -> Utilities -> Terminal
  4. At the terminal prompt, type ssh -X netid@nobel.princeton.edu (the -X will ensure that the remote xsession window is exported to your display) (replace netid with your username)
  5. Log into sixtyfour with your password
  6. type /usr/licensed/bin/xstata & at the command prompt for nobel. It may take some amount of seconds for the xstata window to appear
  • Note: If you are running a new Mountain Lion install, you may get an error when running xstata that states "you need the X-Windows version of Stata." Starting with 10.8, OSX no longer comes with X11 pre-installed but is required for remote xsessions. You can fix this problem by downloading it here: http://xquartz.macosforge.org/

File Storage

Files are not stored directly on the server, they are stored on your H drive (also called "CFS Files".) Every Princeton user has an H drive with at least 5GB of space (this is also the network location of personal files stored on the Cluster computers.)

If you have some files on your computer that you would like on the server, you will have to copy them to your H drive.

Instructions on connecting to your H drive from your personal computer:

  1. Click on the Start Menu
  2. Depending on the version if Windows you are using, if you see a box that you can type in, type "\\files.princeton.edu\netid" where netid is your username. If you don't see a box, you may need to click "Run" to get a box, where you will type the same thing.
  3. You may have to wait a few seconds, or, for inexplicable reasons, minutes, for another box to pop up and prompt you to type in your Princeton credentials. Please be patient. Your username should be "princeton\netid" and the password should be your princeton password.
  4. If you are successful, a window will pop up with your H drive files. You can then drag files into the window so that you can access them from xstata.

Windows

  1. Enable your unix account. I recommend /bin/bash as a shell, but if you have a different preference, go for it
  2. Enable your account's access to Princeton's 64 bit servers (nobel.princeton.edu) that host engineering, math and stat software
  3. Download Xming and install it from an account on your computer that has administrator rights. Be sure to accept all the defaults (including the PuTTY install - you need that even if you already have it installed). At the end of the install, you will be asked if you want to run Xming -- uncheck the box and finish
  4. Go to the Start Menu, then XMing, and run XLaunch

    Copy the following dialogs, but be sure to change 'netid' to your netid (the part before the @ in your email address)

    Save the configuration to your desktop. Name it 'xstata.xlaunch' Then click Finish.
  5. Double click on the configuration file you just saved to your desktop and type your NetID password if you are prompted to do so. If everything works, a window with xstata should pop up. The default file location if you open or save will be your H drive.

File Storage

Files are not stored directly on the server, they are stored on your H drive (also called "CFS Files".) Every Princeton user has an H drive with at least 5GB of space (this is also the network location of personal files stored on the Cluster computers.)

If you have some files on your computer that you would like on the server, you will have to copy them to your H drive.

Instructions on connecting to your H drive from your personal computer are here: http://helpdesk.princeton.edu/kb/display.plx?ID=9268.

Remote xsession tips

  • If possible, try to have your computer connected via cable to the network as opposed to wireless. Remote xsessions are fairly network intensive.