Skip to Main Content

Department of Computer Science

Technical Services and Support

Windows Remote Desktop

Accessing CS Linux Machines With Microsoft Remote Desktop

Created 2015-08-26 
Modified  2020-03-18 by Hanz Makmur

Another way to connect to CS Linux machines is via Microsoft Remote Desktop client.  Remote Desktop clients exists on many platforms. Below is instruction on how to access it via Windows, MacOS and Linux.

Table Contents

  1. Connecting to Windows Remote Desktop  from WindowsOS
  2. Connecting to Windows Remote Desktop  from MacOSX
  3. Connecting to Windows Remote Desktop  from LinuxOS

 

A. Connecting to Windows Remote Desktop  from WindowsOS

Windows Remote Desktop client is normally preinstalled on all Windows OS. If you can’t find it, please install  Remote Desktop clients first.

To use Remote Desktop on your PC,

  1. In the Search box on the taskbar, type Remote Desktop Connection and select Remote Desktop Connection.
  2. In the Remote Desktop Connection app, type the name of the system you want to connect, example ilab.cs.rutgers.edu and select button.
  3. If you have machine that resides inside private or internal Rutgers Network, you need to utilize VPN service or Remote Desktop Protocol Gateway Service. OIT recommends the later for better performance.  Please follow their instructionsNote: To login to the gateway, you need to enter  your username as: rad\your_netidThe word ‘rad\‘ is important. Also please remember to enter netid password not CS Linux password.

  4. A connection will be made and a Login window shown below will open. Enter your NetId in the username field and your CS Linux password and click button
  5. On a successful connection, you will see  Linux Desktop.

B. Connecting to Windows Remote Desktop  from MacOSX

If you are using MacOSX, Remote Desktop clients needs to be installed first as it does not come preinstalled on the system. You can download Microsoft Remote Desktop client from the Mac App Store.

Setting up Remote Desktop client

Once installed,  you need to set it up  as follow:

  1. In the Connection Center window, click , and then select Add PC and enter as shown below,
  2. Skip to step 6 if you are connecting to publicly accessible machine, for example, CS iLab or faculty machines.
  3. If your machine is on a private network or not accessible from outside RUNet, for example, CS research or developer machines, you should add a remote desktop gateway by selecting Add Gateway menu.
  4. In the Add a Gateway window, enter as shown below
  5. In the User account field, select Add User Account and enter as follow,
    Note: make sure to replace your_netid with your actual NetID and enter your actual NetID password. When done, click on the button
  6. Click on the Display. This is where you can adjust your screen size. In this example we use . You can resize this to your liking. Once done, click button to list it in the Saved Desktop groups.

Using Mac Remote Desktop Client

To connect to ilab.cs.rutgers.edu desktop you just created, just click it of the list of Saved Desktop group.  A login window as shown below will open.

Enter your NetId in the username field and your CS Linux password and click Continue. On a successful login,  you will see a Linux Desktop.

Note: If you have machine that resides inside private or internal Rutgers Network, you need to utilize VPN service or Remote Desktop Protocol Gateway Service. OIT recommends the later for better performance.  Please follow their instructions. To login to the gateway, you need to enter  your username as: rad\your_netidThe word ‘rad\‘ is important. Also please remember to enter netid password not CS Linux password.

C. Connecting to Windows Remote Desktop  from LinuxOS

The best way to connect to iLab machines using  is to use Remote Desktop Clients on Linux. There are plenty of RDP clients on Linux like Krdc, Remmina, FreeRDP and rdesktop (no longer updated). For this document, we will focus only on a program called: FreeRDP which is commonly installed on most Linux machines.

Installing FreeRDP

If you are using your own Linux computer, you can install FreeRDP as follow:

To install rdesktop on RHEL/CentOS Linux, open a terminal and enter:

sudo yum install freerdp

To install rdesktop on Debian/Ubuntu Linux, open a terminal and enter:

sudo apt-get install freerdp-x11

Using FreeRDP

To connect, simply enter from a terminal

on Centos7:

xfreerdp ilab.cs.rutgers.edu

on Ubuntu 18.04:

xfreerdp /v:ilab.cs.rutgers.edu

which will open a window below.

To login, Enter your NetID in the Username field and your CS Linux password in the password field.  On a successful connection, you will see a Linux Desktop.