Access to Linux VM
A Linux virtual machines (VM) in the DRE can only be accessed via another VM within the workspace. By default, Linux VMs have no connection to the outside world, so cannot be ssh'ed into like a Windows VM. Hence, the default way to access Linux machines is by using an existing Windows VM that exists in the same workspace as stepping stone.
Before attempting access to a Linux machine, make sure it is started (via the portal).
The steps below apply to a DRE-provisioned Linux machine. If you have deployed your own image, or a non-standard image, these may not apply.
The default Linux Image (currently CentOS) uses SSH or X2Go protocols to connect to. It has a script to automount the workspace fileshare under /mnt/workspace and it is configured to use the DRE-fileserver as a source for Yum-packages. This image is domain-joined, which means you use the same username (email-address) and password as you use on the Windows machines.
How to access a Windows VM can be found here. It doesn't matter which Windows VM within a workspace you use to approach your Linux VM, because all machines within a workspace can access each other freely.
Once inside the Windows VM, you need a program to connect to the Linux VM. We have made two commonly used tools available for this purpose: Putty (an SSH client for terminal access to your Linux machine) and X2Go Client (a GUI interface for your Linux machine). If these programs are not installed, you can install them using the 'Install DRE Programs' icon in your start menu.
Connecting via Putty
To connect via Putty, all you need to do is start Putty and enter the IP-address of the Linux virtual machine, then hit 'open'. This IP-address is listed in the portal (see screenshot above).
You will be asked for your credentials. Fill in the email address you use to log into the DRE, and your VM password.
If you have an admin role in the workspace, you also have Sudo rights. Non-admin users do not. If you wish to grant other users sudo rights, use visudo.
Conecting via X2Go
Note: X2Go client is unfortunately not 100% compatible with server 2016, and will give an error concering audio not working. You can ignore this warning and optionally disable audio to remove the warning.
In X2Go client, create a new session. For Host, fill in the IP-address of the Linux machine (the box with dws###srv2 in screenshot). Set Session Type to XFCE. You can leave everything else at default. Save the session by clicking on OK. Now you can connect to your Linux machine's graphical environment.