Raised This Month: $51 Target: $400
 12% 

CS2 Linux Dedicated Server


Post New Thread Reply   
 
Thread Tools Display Modes
hajrullah
Junior Member
Join Date: Nov 2008
Old 10-06-2023 , 07:12   Re: CS2 Linux Dedicated Server
Reply With Quote #51

Quote:
Originally Posted by miXXed View Post
this is an fresh install and getting an error. anyone knows a solution?

+login myusernameacc +force_install_dir /home/gameservers/cs2/server1/ +app_update 730 +quit

./cs2 -dedicated +map de_dust2


Quote:
ln -s /home/your_user/.local/share/Steam/steamcmd/linux64/steamclient.so /home/your_user/.steam/sdk64/
ln -s /home/your_user/.local/share/Steam/steamcmd/linux32/steamclient.so /home/your_user/.steam/sdk32/
Make sure you set your linux username and destination cs2 folder..
hajrullah is offline
miXXed
Member
Join Date: Sep 2015
Old 10-06-2023 , 10:37   Re: CS2 Linux Dedicated Server
Reply With Quote #52

Quote:
Originally Posted by hajrullah View Post
Make sure you set your linux username and destination cs2 folder..
that didnt worked neither,
i found my own solution that worked pefectly fine and all my issues are gone.

solution: export XDG_RUNTIME_DIR=/tmp

Last edited by miXXed; 10-06-2023 at 10:38.
miXXed is offline
MOTHER
Member
Join Date: Jun 2012
Old 10-06-2023 , 15:21   Re: CS2 Linux Dedicated Server
Reply With Quote #53

Code:
"GameModes_Server.txt"
{
	"mapgroups"
	{
		"mg_custom"
		{
			"name"				"mg_custom"
			"maps"			
			{
				"de_dust2"	"1"
				"de_mirage"	"2"
				"de_inferno"	"3"
				"de_vertigo"	"4"
				"de_anubis"	"5"
				"de_ancient"	"6"
				"de_overpass"	"7"
				"de_nuke"	"8"						
			}
		}
	}
}
put a parameter +mapgroup mg_custom
create a file gamemodes_server.txt and populate with the above code and place it inside csgo folder.
/home/"username"/cs2/game/csgo/
Attached Thumbnails
Click image for larger version

Name:	Screenshot_3.jpg
Views:	271
Size:	20.4 KB
ID:	201801  

Last edited by MOTHER; 10-06-2023 at 15:24.
MOTHER is offline
Wizzardoff
Senior Member
Join Date: Dec 2022
Old 10-08-2023 , 08:07   Re: CS2 Linux Dedicated Server
Reply With Quote #54

Quote:
Originally Posted by MOTHER View Post
Code:
"GameModes_Server.txt"
{
	"mapgroups"
	{
		"mg_custom"
		{
			"name"				"mg_custom"
			"maps"			
			{
				"de_dust2"	"1"
				"de_mirage"	"2"
				"de_inferno"	"3"
				"de_vertigo"	"4"
				"de_anubis"	"5"
				"de_ancient"	"6"
				"de_overpass"	"7"
				"de_nuke"	"8"						
			}
		}
	}
}
put a parameter +mapgroup mg_custom
create a file gamemodes_server.txt and populate with the above code and place it inside csgo folder.
/home/"username"/cs2/game/csgo/
So simple and working. I tried everything. I renamed full csgo gamemodes.txt to gamemodes_server.txt to be able to edit mapgroups,nothing else worked. It didnt work with csgo gamemodes_server.txt for some unknown reason. Untill this. Thanks amigo.

Last edited by Wizzardoff; 10-08-2023 at 08:08.
Wizzardoff is offline
Nerus
Senior Member
Join Date: Aug 2010
Location: Poland
Old 10-08-2023 , 09:01   Re: CS2 Linux Dedicated Server
Reply With Quote #55

Linux server for CS2 is still working, or I just can't manage?
Cant connect to the server, server is not visible at Steam server browser.
Status on screenshoot.
Attached Thumbnails
Click image for larger version

Name:	cs2dedicated_fail.png
Views:	200
Size:	49.3 KB
ID:	201813  
__________________

Last edited by Nerus; 10-08-2023 at 09:03.
Nerus is offline
j62110344
New Member
Join Date: Oct 2023
Old 10-08-2023 , 13:35   Re: CS2 Linux Dedicated Server
Reply With Quote #56

My server is the same
j62110344 is offline
Black_Hawk
Junior Member
Join Date: Sep 2009
Old 10-08-2023 , 13:35   Re: CS2 Linux Dedicated Server
Reply With Quote #57

Hello, friends. I need help to solve my problem.
On my physical server I have two IP addresses. The first one is the main IP. How can I run a server on a second IP?
I tried the +ip, +net_public_adr options, but it didn't help.
status return:
udp/ip : 94.xx.xx.107:27055 (public 46.xx.xx.22:27055)
where 94.xx.xx.107 is second ip, 46.xx.xx.22 first



Last edited by Black_Hawk; 10-08-2023 at 13:37.
Black_Hawk is offline
Wizzardoff
Senior Member
Join Date: Dec 2022
Old 10-10-2023 , 07:57   Re: CS2 Linux Dedicated Server
Reply With Quote #58

Quote:
Originally Posted by Nerus View Post
Linux server for CS2 is still working, or I just can't manage?
Cant connect to the server, server is not visible at Steam server browser.
Status on screenshoot.
Did you add +login USERNAME PASSWORD in cmd line?

Quote:
Originally Posted by Black_Hawk View Post
Hello, friends. I need help to solve my problem.
On my physical server I have two IP addresses. The first one is the main IP. How can I run a server on a second IP?
I tried the +ip, +net_public_adr options, but it didn't help.
status return:
udp/ip : 94.xx.xx.107:27055 (public 46.xx.xx.22:27055)
where 94.xx.xx.107 is second ip, 46.xx.xx.22 first


try with udp/ip: 0.0.0.0:27055 (public 46.xx.xx.22:27055)
Wizzardoff is offline
Zinio
New Member
Join Date: Oct 2018
Old 10-10-2023 , 10:15   Re: CS2 Linux Dedicated Server
Reply With Quote #59

Hi, I have a problem when trying to start my CS2 Dedicated Server on Debian 10.

Code:
Launcher Error: FATAL: /opt/cs2/server/game/bin/linuxsteamrt64/libtier0.so not loaded
        dlerror(): /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /opt/cs2/server/game/bin/linuxsteamrt64/libtier0.so)
Launcher Error: Failed to load tier0
Does anyone know to fix this?
Zinio is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 10-10-2023 , 10:40   Re: CS2 Linux Dedicated Server
Reply With Quote #60

Quote:
Originally Posted by Zinio View Post
Hi, I have a problem when trying to start my CS2 Dedicated Server on Debian 10.

Code:
Launcher Error: FATAL: /opt/cs2/server/game/bin/linuxsteamrt64/libtier0.so not loaded
        dlerror(): /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /opt/cs2/server/game/bin/linuxsteamrt64/libtier0.so)
Launcher Error: Failed to load tier0
Does anyone know to fix this?
Do you have glibC installed ? i think Debian 10 aka (buster) has a maximum glibc of 2.28 according to https://packages.debian.org/buster/glibc-source
GlibC is the whole system and cannot be installed a higher version, you should upgrade to 11 bullseye or better 12 bookworm wich i currently use without any issue it has 2.36

EDIT: why my server isn't showing on Steam list but it does appear on favorites and can connect from console, just it doesnt show on master list
Port 27015 TCP/UDP are allowed and status command doesn't have any errors
Code:
status
Server:  Running [192.168.100.8:27015]
Client:  Disconnected
----- Status -----
@ Current  :  game
source   : console
hostname : DELETED
spawn    : 1
version  : 1.39.6.0/13960 9842 secure  public
steamid  : [A:1:2498654216:24457] (90177037061222408)
udp/ip   : 192.168.100.8:27015 (public DELETED)
os/type  : Linux dedicated
players  : 0 humans, 0 bots (0 max) (not hibernating) (unreserved)
---------spawngroups----
loaded spawngroup(  1)  : SV:  [1: de_mirage | main lump | mapload]
loaded spawngroup(  2)  : SV:  [2: maps/prefabs/de_mirage/3dskybox_mirage_legacy | main lump | mapload | point_prefab]
loaded spawngroup(  3)  : SV:  [3: prefabs/misc/team_select | main lump | mapload | point_prefab]
loaded spawngroup(  4)  : SV:  [4: prefabs/misc/counterterrorist_team_intro | main lump | mapload | point_prefab]
loaded spawngroup(  5)  : SV:  [5: prefabs/misc/end_of_match | main lump | mapload | point_prefab]
loaded spawngroup(  6)  : SV:  [6: prefabs/misc/terrorist_team_intro | main lump | mapload | point_prefab]
loaded spawngroup(  7)  : SV:  [7: prefabs/misc/counterterrorist_team_intro_variant2 | main lump | mapload | point_prefab]
loaded spawngroup(  8)  : SV:  [8: prefabs/misc/terrorist_team_intro_variant2 | main lump | mapload | point_prefab]
---------players--------
  id     time ping loss      state   rate adr name
65535 [NoChan]    0    0 challenging      0unknown ''
65535 [NoChan]    0    0 challenging      0unknown ''
65535 [NoChan]    0    0 challenging      0unknown ''
65535 [NoChan]    0    0 challenging      0unknown ''
65535 [NoChan]    0    0 challenging      0unknown ''
65535 [NoChan]    0    0 challenging      0unknown ''
65535 [NoChan]    0    0 challenging      0unknown ''
65535 [NoChan]    0    0 challenging      0unknown ''
65535 [NoChan]    0    0 challenging      0unknown ''
65535 [NoChan]    0    0 challenging      0unknown ''
65535 [NoChan]    0    0 challenging      0unknown ''
65535 [NoChan]    0    0 challenging      0unknown ''
#end
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode