Install X2Go Client on Your Local Computer (one-time only)
Install the X2Go Client which provides remote desktop to access CFD Direct from the Cloud. X2Go is available for Linux, macOS MS Windows. X2Go Installation Instructions is the reference page for installation. More specifically, the installation instructions for different platforms are:
- Linux: Ubuntu/Debian/Raspian/Fedora
- Linux: RedHat
- MS Windows
- macOS — Note: requires the installation of Xquartz , as follows:
- Go to the Xquartz website, select the latest download and install.
- Start XQuartz.
- Check “Allow connections from network clients” and “Authenticate connections”.
- Shut down and Restart XQuartz.
Start the X2Go Client Application
- Launch the X2Go client software, e.g. from an application launcher or, for Linux, entering the following in a terminal
Configuring a New Session
- From the Session menu, select New Session
- In the Session panel (see image below), set the:
- Session Name: your choice, e.g. OpenFOAM
- Host IP address: the public IP address of the instance in the form
- Login user name:
- RSA/DSA Key: the key file used for SSH connection to the instance
- Session Type: MATE
- In the Media panel, uncheck sound and printing support — it is not necessary and can cause connection problems.
- (Optional) In the Input/Output panel, customise the screen size suitable for your current monitor, e.g. Width 1920, Height 1200 for a large desktop monitor, Width 1280, Height 720 for a laptop.
- Click OK to save the session settings.
Running the Session
- Wait until the instance has fully launched in the AWS console before attempting to connect; it is sensible to wait until the Status Checks are complete.
- From the Client window, click on the OpenFOAM session panel as shown below:
- A window may appear confirming you wish to continue to connect to an unauthorized host. Select Yes to continue.
- The host desktop will appear as shown below. Open a terminal from the menu Menu → System Tools → MATE Terminal and start using OpenFOAM through the remote desktop.