Hi,
I leave you a step by step guide to run a free VPS in AWS for 12 months. This guide is to set up the Linux VPS Server to run Zorro and Metatrader and connect to it via Windows Remote Connection (RDP):

1. Create an account in AWS (https://aws.amazon.com)
2. Create an EC2 instance:
2.1. Select Ubuntu Server 16.04 (t2.micro, Free tier elegible)
2.2. Follow the AWS guide to connect to your Server via ssh (with PuTTy for example)
2.3. Go to EC2 Dashboard - Security Groups and edit the security group attached to the instance created in step 2.1, edit Inbound Rules and add the TCP port 3389 for RDP
3. Login to your server via ssh with PuTTY
4. Change the ubuntu's user password: sudo passwd ubuntu
5. Update the system: sudo apt update && sudo apt upgrade
6. Install the LXDE desktop:
sudo apt-get install lxde
sudo apt install lxsession-logout
sudo apt-get install language-selector-gnome
(If you want the full Lubuntu desktop: sudo apt install lubuntu-desktop)
(If you prefer XFCE desktop: sudo apt install xfce4)
(If you prefer Gnome 3 desktop: sudo apt-get install gnome-shell)
(If you prefer KDE desktop: sudo apt-get install kubuntu-desktop)
7. Install a Windows help chm file reader: sudo apt-get install xchm
8. Install XRDP to connect via "Remote Desktop" from Windows
sudo add-apt-repository ppa:hermlnx/xrdp
sudo apt-get update
sudo apt-get install xrdp
9. Install wine to run Windows apps:
sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
sudo apt-get update
sudo apt-get install --install-recommends winehq-stable
10. Open "Remote Desktop Connection" on Windows:
Computer: ec2-xxx-xxx-xxx-xxx.xxxxxxxxxxxxxxxx.amazonaws.com
11. Login:
user: ubuntu
password: the one you set in step 4
12. Open a terminal and check if the keyboard is in your language, if it is not your local language do this:
12.1. Edit this file with vi or nano: sudo nano /etc/xrdp/xrdp_keyboard.ini
12.2. Go to [default_rdp_layouts] and add in the first one your layout code (layouts codes here: https://github.com/eby/rdesktop/blob/master/doc/keymap-names.txt)
12.3. Go to [default_layouts_map] and in the first one add your language

Example for Spanish keyboard:
[default_rdp_layouts]
rdp_layout_es=0x0000040A

[default_layouts_map]
rdp_layout_es=es

13. Download and install Zorro and Metatrader via wine

UPDATE: if you get a message in wine saying that MT requires Windows 7 with Service Pack 1, run "winecfg" in the terminal and set the operative system to Windows 7 or Windows 10.

This guide is only to set up your environment, Zorro or Metatrader works under Linux but I have not tested how reliable it works.
Hope it helps.




Last edited by fran; 11/05/17 22:00.