Install XRDP(used to connect via Remote Desktop Connection):
sudo apt install xrdp
Install Slim:
sudo apt install slim
Configure XRDP to use Xfce (Ubuntu Desktop Environment):
- Edit the XRDP configuration file:
sudo nano /etc/xrdp/xrdp.ini
- Find the section [Xrdp1] and add the following line below it:
. /etc/X11/Xsession
Find the line sessions and make sure it looks like this:
sessions startxfce4
Restart Slim:
sudo systemctl restart slim
Install WINE to run the Windows files:
sudo apt update
sudo apt install wine
Run this if u want to change settings:
winecfg
How to install the server:
---------------------------------------------------------------------
1. Download Server Files Try R63 first, if not work for you - try R60 and then R58
2. Download Server Launcher
3. Register your server here
4. Run ZServer.exe
wine ZServer.exe
5. In ZServer add server exe and set params to this
-zlogin changeMe -zpass changeMe -GamePort 25200 -RemoteAdminPort 0.0.0.0:48000 -Country EU -Region EU -serverInstancePath "ZEXEPATHZ/Instance" -PingSite ams -DisplayAsserts false
zlogin and zpass - from step 3.
how to create a BF4 server on Ubuntu
in Support - Help Q&A
Posted
Install Ubuntu Desktop Environment (Xfce):
sudo apt update
sudo apt install ubuntu-desktop
Install XRDP(used to connect via Remote Desktop Connection):
sudo apt install xrdp
Install Slim:
sudo apt install slim
Configure XRDP to use Xfce (Ubuntu Desktop Environment):
- Edit the XRDP configuration file:
sudo nano /etc/xrdp/xrdp.ini
- Find the section [Xrdp1] and add the following line below it:
. /etc/X11/Xsession
Restart XRDP:
sudo systemctl restart xrdp
Configure Slim to start Xfce:
Edit Slim configuration file:
sudo nano /etc/slim.conf
Find the line sessions and make sure it looks like this:
sessions startxfce4
Restart Slim:
sudo systemctl restart slim
Install WINE to run the Windows files:
sudo apt update
sudo apt install wine
Run this if u want to change settings:
winecfg
How to install the server:
---------------------------------------------------------------------
1. Download Server Files Try R63 first, if not work for you - try R60 and then R58
2. Download Server Launcher
3. Register your server here
4. Run ZServer.exe
wine ZServer.exe
5. In ZServer add server exe and set params to this
-zlogin changeMe -zpass changeMe -GamePort 25200 -RemoteAdminPort 0.0.0.0:48000 -Country EU -Region EU -serverInstancePath "ZEXEPATHZ/Instance" -PingSite ams -DisplayAsserts false
zlogin and zpass - from step 3.