Connect to RDS from a self managed Ubuntu laptop

The working package of xfreerdp is available in a repository on our server in order to connect to it you need to connect to your associated VPZ over VPN.

 

Please follow the instructions in the post “Installing Cisco AnyConnect Client Linux” to install the VPN client.

 

Example to connect to mtec VPZ(substitute mtec with your associated VPZ):

Connect to: sslvpn.ethz.ch/mtec

Username: $Username@mtec.ethz.ch

Password: “Your VPN/WLAN password”

If you are not permitted to initialize a VPN connection into your VPZ or don’t know its name contact your IT support group.

 

Next up we want to add the repository to your apt installation.

Append the following line to /etc/apt/sources.list

deb http://id-s4d-s01.ethz.ch/repo/bionic/ bionic main

Execute the following command to add our public key:

wget -O – http://id-s4d-s01.ethz.ch/repo/bionic/conf/pub.gpg.key | sudo apt-key add –

 

To install and configure the package execute these commands:

sudo apt-get update

sudo apt-get install freerdp-nightly

sudo ln -s /opt/freerdp-nightly/bin/xfreerdp /usr/bin/xfreerdp

 

Now finally to connect(replace $nethz_username with your actual username):

/opt/freerdp-nightly/bin/xfreerdp -clipboard /g:rdsnx-gw.ethz.ch /v:rdsnx-cb.ethz.ch /d:d.ethz.ch /u:$nethz_username /dynamic-resolution /cert-ignore /load-balance-info:”tsv://MS Terminal Services Plugin.1.scientific_appli”