- To connect to campus resources, you are required to use the campus VPN. Instructions on how to connect to the campus VPN can be found here
You can access the computers in the lab from your own computer using a virtual machine client called X2Go.
If you are using a Mac, before you install anything else, you will need to install XQuartz if it is not already installed.
Download the X2Go Client. Once you have installed the software,
- Launch The program
- Create a new connection.
- On the session tab, give your session a name.
- It can be whatever you want.
- You will need to change 2 things before you can connect:
- In the Server box
- Host:
remote.cs.binghamton.edu
- Login
- SSH Port: 22
- In the Session Type box
- select XFCE in the dropdown
Hit the okay button and click on the Fuzzy Animal (seal, fox, bear, ??). You will be asked for a password.
This is your LDAP password that was emailed to you at the beginning of the semester. This is NOT your Bmail password
If you need to reset your password, you can do so here
It may take a little time to connect. Please be patient. Once you are connected to the machine, it will be exactly as though you were working in the lab.
Unless you have some experience with Linux or command line text editors, I recommend using a simple program called gedit
to work on your Python code. To use gedit:
- Open a terminal
- Navigate (
cd
) to your project directory
- Type
gedit <filename>
- replace '<filename'> with the file you would like to edit
- hint You can open all files in a folder with
gedit *
- Keyboard Shortcuts: Learn and utilize keyboard shortcuts to improve your productivity. For example, use Ctrl + S to save, Ctrl + C to copy, Ctrl + V to paste, and Ctrl + F to find text.
- Syntax Highlighting: Gedit supports syntax highlighting for various programming languages. Make sure to select the correct language mode for your code to enhance readability.
- Multiple Tabs: Use multiple tabs to work on multiple files simultaneously. You can open a new tab by pressing Ctrl + T or right-clicking a file and selecting "Open in New Tab."
- Line Numbers: Display line numbers for easier code navigation and debugging. Enable line numbers in the "View" menu by selecting "Show Line Numbers."
- Auto Indentation: Gedit can automatically indent code for you. Make sure to configure the desired indentation settings in "Preferences" > "Editor."
- Make sure you select
replace tabs with spaces
to make your Python code as compatible as possible.
- Full-Screen Mode: Maximize your coding space by entering full-screen mode. Toggle full-screen mode by pressing F11 or by selecting "View" > "Fullscreen."