Guide – How To Start – Garry’s Mod Game Server on Ubuntu 18.04 LTS

Garry’s Mod is a physics sandbox. There aren’t any predefined aims or goals. We give you the tools and leave you to play.

This is a quick deployment and ready-to-run image.
Simple and rapid installation. Easy to maintain.

How to create and connect to Garry’s Mod Game Server on Ubuntu 18.04 LTS

  1. To start the server, you just need to start the VM through Azure Portal
  2. To configure the server, you should connect to the VM and call the game console. To connect, you need PuTTy application to connect via ssh. You can download it at the following link – Download.
  3. Run Putty, enter the VM address in the “Host” field, and click “Open” to connect.
  1. In the opened console it is necessary to enter a username and password that were specified while creating the virtual machine.
  2. Run the following commands, to open the game console:

> sudo su
> screen -r

To exit the console correctly, use the Ctrl + A key combination, then releasing only the A button, press D on the keyboard.

  1. To connect to the server, start the “Garry’s Mod” game on your PC, open the console with the “~” key on your keyboard, write connect %vm_adress% and press “Enter” to connect. For example: connect

Server update

If you were unable to connect to the server, you should update the server. To do this, connect to the VM through PuTTY and do the following:

  1. First of all, you must stop the server, you can do this using the following commands:

> sudo su (If you haven’t run this command before)

> systemctl stop garry

  1. Enter the following commands in sequence:


> login anonymous

> force_install_dir ./garrysmod

> app_update 4020 validate

> exit

> cd /home/steamuser

> chown -R steamuser:steamuser garrysmod

> systemctl start garry

Website Built with

Up ↑

%d bloggers like this: