Setup Server on Linux

Hello Community!
I recently learned about the project and immediately sat down and tried to create a server.

On Windows it worked with the help of the instructions and I was able to start a server on my PC.
Also the connection with ProCon worked without problems.
I could import the config from my old rented Battlefield 3 Server and theoretically continue where I left off.

Now I want to get the whole thing running on Linux.
but there I have big problems to get Wine to run at all and to verify the game afterwards.

Problem 1:
Wine is installed, but as soon as I try to install vcredist_x86.exe, I only get the error message:
user@ubuntu-lxc:~$ wine ~/vu/client/vu.com -gamepath ~/bf3 -activate -o_mail [email protected] -o_pass MySuperSecureNSAverifiedPassword
0009:fixme:wbemprox:client_security_SetBlanket 6795E768, 02695FA0, 10, 0, (null), 3, 3, 00000000, 0x00000000
0009:fixme:wbemprox:client_security_Release 6795E768
0009:fixme:wbemprox:client_security_SetBlanket 6795E768, 02696090, 10, 0, (null), 3, 3, 00000000, 0x00000000
0009:fixme:wbemprox:client_security_Release 6795E768
0009:fixme:wbemprox:client_security_SetBlanket 6795E768, 02696090, 10, 0, (null), 3, 3, 00000000, 0x00000000
0009:fixme:wbemprox:client_security_Release 6795E768
0009:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0009:fixme:wbemprox:client_security_SetBlanket 6795E768, 0267B450, 10, 0, (null), 3, 3, 00000000, 0x00000000
0009:fixme:wbemprox:client_security_Release 6795E768
0009:fixme:wbemprox:client_security_SetBlanket 6795E768, 0267B450, 10, 0, (null), 3, 3, 00000000, 0x00000000
0009:fixme:wbemprox:client_security_Release 6795E768
0009:fixme:wbemprox:client_security_SetBlanket 6795E768, 0267B450, 10, 0, (null), 3, 3, 00000000, 0x00000000
0009:fixme:wbemprox:client_security_Release 6795E768
Please wait while your game is being activated. This process can take up to one minute…
002b:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 0D22FF14
Failed to activate game. The specified credentials could not be validated.

The setup does not abort by itself. Only when I press ENTER, I get my input back.

I have tested it with Debian 10 and Ubuntu 18.04. Last one I tested in a virtual machine (VMware) and on a vServer (LXC).

Problem 2:
On my vServer (LXC) it maby worked after the 2nd try with vcredist_x86.exe.
But there I can not verify the game.
I only get the following error message:
user@ubuntu18:~$ xvfb-run wine vcredist_x86.exe /q
0009:fixme:clusapi:GetNodeClusterState ((null),0032EC64) stub!
0009:fixme:advapi:DecryptFileA (“c:\ca3662c8603afaf0f23179\”, 00000000): stub
002c:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
002c:fixme:advapi:LsaOpenPolicy ((null),0x32f348,0x00000001,0x32f33c) stub
002c:fixme:security:GetWindowsAccountDomainSid (0032F1A4 00637B74 0032F1A0): semi-stub
002c:fixme:secur32:GetComputerObjectNameW NameFormat 7 not implemented
002c:fixme:advapi:LsaClose (0xcafe) stub
002c:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
002d:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
002d:err:mscoree:LoadLibraryShim error reading registry key for installroot
002d:err:mscoree:LoadLibraryShim error reading registry key for installroot
002d:err:mscoree:LoadLibraryShim error reading registry key for installroot
002d:err:mscoree:LoadLibraryShim error reading registry key for installroot
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server “:99”
after 13 requests (13 known processed) with 0 events remaining.
user@ubuntu18:~$ XIO: fatal IO error 11 (Resource temporarily unavailable) on X server “:99”
after 187 requests (185 known processed) with 0 events remaining.

2FA is active on my account. Is this possibly the problem?

Hope you have a solution!
Until then, Merry Christmas! :christmas_tree:

Okay, at least I have now managed to fix most of the real error messages on Debian 10.
The installation looks like this:

sudo dpkg --add-architecture i386
$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
$ sudo apt-key add winehq.key
$ echo ‘deb https://dl.winehq.org/wine-builds/debian/ buster main’ > /tmp/winehq.list
$ sudo cp /tmp/winehq.list /etc/apt/sources.list.d/
$ rm /tmp/winehq.list
$ wget -O- -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10/Release.key | sudo apt-key add -
$ echo “deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10 ./” | sudo tee /etc/apt/sources.list.d/wine-obs.list
$ sudo apt update
$ sudo apt install --install-recommends -y winehq-stable
$ apt install wine wine64 wine32 winbind winetricks

Only this error remains:

Please wait while your game is being activated. This process can take up to one minute…
Failed to activate game. The specified credentials could not be validated.

Have tried the following things, which have also been recommended here in the forum:

wine ~/vu/client/vu.com -gamepath ~/bf3 -activate -o_mail [email protected] -o_pass MySuperSecureNSAverifiedPassword

wine ~/vu/client/vu.com -gamepath ~/bf3 -activate -o_mail [email protected] -o_pass “MySuperSecureNSAverifiedPassword”

wine ~/vu/client/vu.com -gamepath ~/bf3 -activate -o_mail “[email protected]” -o_pass “MySuperSecureNSAverifiedPassword”

None of it worked :frowning:


No idea if it’s a bug or an feature, but a “Battlefield 3” folder is created in the user folder, which now also contains the “Server” folder.
Seems like the instance parameter is ignored, or is that normal?

try disabling 2FA then enabling it again after activation.

Doesn’t help, unfortunately. Still can’t activate the server.

The problem is, I can’t tell what’s wrong, because the log remains empty.
Per start a new log file is generated, but it is empty.

Made it in the meantime.
The game could now be activated without 2FA and a server on Debian 10 could be started.
The junk of vcredist can be reliably installed via X-forwarding.

I have created a step by step guide on my homepage. (Only german!)

2 Likes