Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
labs:remote_access [2023/01/04 19:27] – [Making a Connection] admin | labs:remote_access [2024/09/09 13:23] (current) – admin | ||
---|---|---|---|
Line 6: | Line 6: | ||
If you want to run graphical applications on the Linux machines but interact with them on your computer (you probably do!), you'll need to run an X server and set up X forwarding. | If you want to run graphical applications on the Linux machines but interact with them on your computer (you probably do!), you'll need to run an X server and set up X forwarding. | ||
+ | ===== From Off Campus ===== | ||
+ | |||
+ | Follow the instructions in " | ||
===== From Mac ===== | ===== From Mac ===== | ||
Line 17: | Line 20: | ||
- Start XQuartz before making an SSH connection. | - Start XQuartz before making an SSH connection. | ||
- | - In a terminal (Terminal or xterm), type the command \\ '' | + | - In a terminal (Terminal or xterm), type the command \\ '' |
- | * where '' | + | * where '' |
* The '' | * The '' | ||
* Answer " | * Answer " | ||
Line 24: | Line 27: | ||
* It can take longer than you'd expect to get a prompt back, but hang in there. | * It can take longer than you'd expect to get a prompt back, but hang in there. | ||
* You may get an error message about a .Xauthority file that you can safely ignore. | * You may get an error message about a .Xauthority file that you can safely ignore. | ||
- | - Try typing '' | + | - Try typing '' |
- | - Now, [[# | + | - Now, [[# |
If you have trouble using X forwarding, you may need to edit your ssh_config file (typically found at ''/ | If you have trouble using X forwarding, you may need to edit your ssh_config file (typically found at ''/ | ||
Line 41: | Line 44: | ||
- When I ran Xming, it didn't seem like anything happened, but if you click "Show Hidden Icons", | - When I ran Xming, it didn't seem like anything happened, but if you click "Show Hidden Icons", | ||
- Run and configure PuTTY: | - Run and configure PuTTY: | ||
- | - Enter '' | + | - Enter one of the lab machine names, e.g., '' |
- Enable X11: Click on the ' | - Enable X11: Click on the ' | ||
- Select the ' | - Select the ' | ||
- | - Click Open to connect to python.cs.wlu.edu | + | - Click Open to connect to the machine you specified above |
- Agree to any questions about trusting the host and accepting the security key. | - Agree to any questions about trusting the host and accepting the security key. | ||
- Enter your username and password for your W&L account. **Your password will not be displayed.** Keep typing! | - Enter your username and password for your W&L account. **Your password will not be displayed.** Keep typing! | ||
Line 67: | Line 70: | ||
* Click on " | * Click on " | ||
* Search for " | * Search for " | ||
- | * Enter a host name, such as '' | + | * Enter a host name, such as '' |
* Click " | * Click " | ||
* Then, enter your username when the prompt says "login as" | * Then, enter your username when the prompt says "login as" | ||
* Enter your CS department password when prompted | * Enter your CS department password when prompted | ||
* You are now on the Linux machine, and you can use it just like if you were on the machine in lab. | * You are now on the Linux machine, and you can use it just like if you were on the machine in lab. | ||
+ | |||
+ | ===== From Linux ===== | ||
+ | |||
+ | You should have ssh and an X server already. | ||
===== Using ssh on the Lab Machines ===== | ===== Using ssh on the Lab Machines ===== | ||
- | After logging into a " | + | From one lab machine, you can " |
If you're already on a lab machine, you can ssh to another machine, by typing | If you're already on a lab machine, you can ssh to another machine, by typing | ||
Line 82: | Line 89: | ||
The '' | The '' | ||
+ | |||
+ | If this is your first time logging in to a particular machine, you'll be prompted to confirm that you want to connect to the machine. | ||
+ | |||
+ | Enter your password. | ||
After you're on a machine in the lab, if you're doing something computationally intensive, you should check if someone else is on the machine using the command '' | After you're on a machine in the lab, if you're doing something computationally intensive, you should check if someone else is on the machine using the command '' | ||
- | ===== From Linux ===== | ||
- | You should have ssh and an X server already. | ||
===== Machine Names ===== | ===== Machine Names ===== | ||