# Note that you might have to run this command multiple times depending on
# how Xorg is configured.
#### Ensure the Xorg is correctly configured:
```console
```sh
# For more information on glxgears, see ftp://www.x.org/pub/X11R6.8.1/doc/glxgears.1.html.
$ glxgears
# If Xorg is configured correctly, you should see the following message
6. Upload the executable to your EC2 instance within `ml-agents` folder.
7. Change the permissions of the executable.
```console
```sh
```console
```sh
# Start the X Server, press Enter to come back to the command line
$ sudo /usr/bin/X :0 &
If you've built your Linux executable, but forget to copy over the corresponding <Executable_Name>_Data folder, you will see error message like the following:
```console
```sh
Set current directory to /home/ubuntu/ml-agents/ml-agents
Found path: /home/ubuntu/ml-agents/ml-agents/3dball_linux.x86_64
no boot config - using default values
When you execute:
```console
```sh
```console
```sh
X.Org X Server 1.18.4
...
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct 11 21:10:38 2018
And when you execute:
```console
```sh
```console
```sh
This means the NVIDIA's driver needs to be updated. Refer to [this section](Training-on-Amazon-Web-Service.md#update-and-setup-nvidia-driver) for more information.
This means the NVIDIA's driver needs to be updated. Refer to [this section](Training-on-Amazon-Web-Service.md#update-and-setup-nvidia-driver) for more information.