Raised This Month: $32 Target: $400
 8% 

is that possible to run rcon command directly from linux server where i run steamcmd?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
runsrcds
Junior Member
Join Date: Oct 2021
Old 10-24-2021 , 13:06   is that possible to run rcon command directly from linux server where i run steamcmd?
Reply With Quote #1

i have installed steamcmd on Ubuntu server and i start cs:go server with the command as shown:

Code:
./srcds_run -game csgo -net_port_try 1 +sv_setsteamaccount 111 -authkey 000 -usercon +host_workshop_map 999
every time i want to check the status of my server. I will have to launch CS:GO from steam on my PC.
Open up console and type "rcon_address 3.222.222.222" with "rcon_password my_password" finally i can execute
"rcon status"

Can i just run "status" or other commands like "addip" directly from Ubuntu server without launching CS:GO from my PC?

Cheers
runsrcds is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 10-24-2021 , 13:37   Re: is that possible to run rcon command directly from linux server where i run steam
Reply With Quote #2

on ubuntu:

apt-get install screen

start your srcds instance in screen with:

screen -AmdS csgoserver ./srcds_run -game csgo -net_port_try 1 +sv_setsteamaccount 111 -authkey 000 -usercon +host_workshop_map 999

than your can type in putty:

screen -r csgoserver

to hide/detach the screen window use ctrl + A + D

or use a start.sh script:

#!/bin/bash
# stop server
screen -r csgoserver -X quit
echo
## start the server
cd /home/gameserver/csgoserver
screen -AmdS csgoserver ./srcds_run -game csgo -net_port_try 1 +sv_setsteamaccount 111 -authkey 000 -usercon +host_workshop_map 999

Last edited by asdfxD; 10-24-2021 at 13:50.
asdfxD is offline
runsrcds
Junior Member
Join Date: Oct 2021
Old 10-24-2021 , 14:21   Re: is that possible to run rcon command directly from linux server where i run steam
Reply With Quote #3

Thank you for taking time to wrote this . Apologize if i didn't word it more clearly. I have no problem with the the part where you suggest using screen, I am using tmux as an alternative. What i want is to run command like "rcon status" directly on my Ubuntu server without launching CS:GO from my pc and use the CS:GO developer console to execute "rcon status".

Last edited by runsrcds; 10-24-2021 at 14:21.
runsrcds is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 10-24-2021 , 14:59   Re: is that possible to run rcon command directly from linux server where i run steam
Reply With Quote #4

Quote:
Originally Posted by runsrcds View Post
What i want is to run command like "rcon status" directly on my Ubuntu server without launching CS:GO from my pc and use the CS:GO developer console to execute "rcon status".
?

thats what i wrote, on terminal in ubuntu you can see your server console without launching csgo at your pc? dunno how it works with tmux... just use screen.


Last edited by asdfxD; 10-24-2021 at 15:03.
asdfxD is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 10-24-2021 , 15:08   Re: is that possible to run rcon command directly from linux server where i run steam
Reply With Quote #5

Quote:
Originally Posted by runsrcds View Post
...
Can i just run "status" or other commands like "addip" directly from Ubuntu server without launching CS:GO from my PC?

...
Yes, if you execute the command directly from the local game server console you don't need to add remote console at the begining.

Last edited by TomL.; 10-24-2021 at 15:09.
TomL. is offline
runsrcds
Junior Member
Join Date: Oct 2021
Old 10-25-2021 , 00:29   Re: is that possible to run rcon command directly from linux server where i run steam
Reply With Quote #6

i feel like something is missing on my end. Is this the method you use to install steamcmd on your linux server or you are using LinuxGSM?

from official guide:
Code:
 sudo add-apt-repository multiverse
 sudo dpkg --add-architecture i386
 sudo apt update
 sudo apt install lib32gcc1 steamcmd
runsrcds is offline
runsrcds
Junior Member
Join Date: Oct 2021
Old 10-25-2021 , 01:04   Re: is that possible to run rcon command directly from linux server where i run steam
Reply With Quote #7

when i execute
Code:
./srcds_run -game csgo -net_port_try 1 +sv_setsteamaccount 111 -authkey 000 -usercon +host_workshop_map 999
this is all i see from my end, just some logging on the terminal. When i type "status" there is no respond.

Code:
./srcds_run: 32: pushd: not found
./srcds_run: 35: popd: not found
Setting breakpad minidump AppID = 740
Using breakpad crash handler
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
[S_API] SteamAPI_Init(): SteamAPI_IsSteamRunning() did not locate a running instance of Steam.
[S_API] SteamAPI_Init(): Loaded '/home/ubuntu/.steam/sdk32/steamclient.so' OK.
[S_API FAIL] SteamAPI_Init() failed; create pipe failed.[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CApplicationManagerPopulateThread took 14 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
CAppInfoCacheReadFromDiskThread took 40 milliseconds to initialize
RecordSteamInterfaceCreation (PID 6716): SteamGameServer013 /
RecordSteamInterfaceCreation (PID 6716): SteamUtils010 /
Setting breakpad minidump AppID = 730
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Setting breakpad minidump AppID = 740
RecordSteamInterfaceCreation (PID 6716): SteamGameServer013 /
RecordSteamInterfaceCreation (PID 6716): SteamUtils010 /
RecordSteamInterfaceCreation (PID 6716): SteamNetworking006 /
RecordSteamInterfaceCreation (PID 6716): SteamGameServerStats001 /
RecordSteamInterfaceCreation (PID 6716): STEAMHTTP_INTERFACE_VERSION003 /
RecordSteamInterfaceCreation (PID 6716): STEAMINVENTORY_INTERFACE_V003 /
RecordSteamInterfaceCreation (PID 6716): STEAMUGC_INTERFACE_VERSION014 /
RecordSteamInterfaceCreation (PID 6716): STEAMAPPS_INTERFACE_VERSION008 /
RecordSteamInterfaceCreation (PID 6716): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 6716): SteamNetworkingSocketsSerialized004 /
RecordSteamInterfaceCreation (PID 6716): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 6716): STEAMHTTP_INTERFACE_VERSION003 / HTTP
RecordSteamInterfaceCreation (PID 6716): SteamGameServer013 /
RecordSteamInterfaceCreation (PID 6716): SteamUtils010 /
RecordSteamInterfaceCreation (PID 6716): SteamNetworking006 /
RecordSteamInterfaceCreation (PID 6716): SteamGameServerStats001 /
RecordSteamInterfaceCreation (PID 6716): STEAMHTTP_INTERFACE_VERSION003 /
RecordSteamInterfaceCreation (PID 6716): STEAMINVENTORY_INTERFACE_V003 /
RecordSteamInterfaceCreation (PID 6716): STEAMUGC_INTERFACE_VERSION014 /
RecordSteamInterfaceCreation (PID 6716): STEAMAPPS_INTERFACE_VERSION008 /
RecordSteamInterfaceCreation (PID 6716): SteamGameCoordinator001 /
RecordSteamInterfaceCreation (PID 6716): SteamGameServer013 / GameServer
RecordSteamInterfaceCreation (PID 6716): SteamUtils010 / Utils
runsrcds is offline
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 12:33.


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