From fcc715e1e9973f4f6a09f9b6a08e6a85b7d8cf43 Mon Sep 17 00:00:00 2001 From: LUG Board Date: Fri, 24 May 2024 03:00:22 -0700 Subject: [PATCH] Add RDP guide --- content/wiki/rdp.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 content/wiki/rdp.md diff --git a/content/wiki/rdp.md b/content/wiki/rdp.md new file mode 100644 index 0000000..1e3d2a5 --- /dev/null +++ b/content/wiki/rdp.md @@ -0,0 +1,45 @@ +--- +title: RDP guide +date: 2024-05-24 +author: David Z +--- + +Many classes require using the UCLA SEASNet Remote Desktop. For example 115C requires you +to use Cadence (yuck). Microsoft's Remote Desktop Protocol is proprietary, but there are +open source clients which can connect to it. Here are three ways of connecting which work well. +Please note that you need to be on the UCLA VPN. + +## Using FreeRDP (Most reliable) +In order to use FreeRDP to connect, start by downloading the .rdp file from [here](https://rds.seaslab.seas.ucla.edu/RDWeb/Pages/en-US/Default.aspx) + +Then run the following command in terminal: +``` +xfreerdp .rdp /u: /p: /gd:rds.seaslab.seas.ucla.edu/RDWeb/Feed/webfeed.aspx /dynamic-resolution +``` +Do not put `seaslab\` before your username, otherwise you will not be able to log in. +## Using Remmina (More user-friendly) +Remmina is a more user-friendly way of connecting. It has nice features (like being able to fullscreen or resize the window). + +To use it, simply download the .rdp file and then enter in your username and password. Nothing else needs to be done. + +Sometimes, the rdp file will not work. This may be because the server domain changed. In order to get the correct domain, you +can use the previous method. Look for the line which looks like this: +``` +[02:39:22:381] [19509:19510] [WARN][com.freerdp.crypto] - CN = vmsrv07-rdsh01.seaslab.seas.ucla.edu +``` +In this case, we can see that the server domain is `vmsrv07-rdsh01.seaslab.seas.ucla.edu`, which is different from the +domain listed in the RDP file (`VMSRV08-RDCB02.SEASLAB.SEAS.UCLA.EDU` in my case). To fix this, right click in Remmina on the +connection, select Edit, then replace the domain under "Server" in the Basic tab. + +## Using SSH (Most direct way) +If you are using MobaXTerm, you might have noticed that Cadence actually lives on a RHEL server. You are basically +connecting to a Windows server, and then using an application on Windows (which implements SSH X forwarding) to connect back +to a Linux server. It's obvious that Windows is just a "middleman" and that you actually don't need it. + +You can take the RHEL server's address straight from MobaXterm (for me, it's `eeapps02.seas.ucla.edu`). Then, type the +following command: +``` +ssh -X @eeapps02.seas.ucla.edu +``` +And you're done! +