2020-02-09 00:26:05 +01:00
# requirements
2021-10-01 21:33:18 +02:00
dpkg --add-architecture i386
apt-update
apt install steam
2021-03-14 21:51:44 +01:00
apt-get install mesa-utils
2021-10-01 21:33:18 +02:00
2021-03-15 00:04:11 +01:00
apt install mesa-vulkan-drivers libglx-mesa0:i386 mesa-vulkan-drivers:i386 libgl1-mesa-dri:i386
2021-10-01 21:33:18 +02:00
2020-09-27 14:34:43 +02:00
x2go or nomachine or VNC client/server setup < br / >
2020-02-09 00:26:05 +01:00
steam account with css purchased
# launch commands
2020-09-27 14:41:06 +02:00
2020-09-27 14:34:43 +02:00
cd /home/gameservers/.steam/debian-installation/ < br / >
./steam.sh -applaunch 240 -textmode -textmessagedebug -novid -nosound -noipx -nojoy -noshaderapi < br / >
2020-01-23 23:22:42 +01:00
2020-09-27 14:34:43 +02:00
/home/gameservers/.steam/debian-installation/steamapps/common/Counter-Strike Source/cstrike/cfg/autoexec.cfg: < br / >
alias loop "exec looptest.cfg; wait 5; loop;"; wait 5; loop; < br / >
(textmode is no video output) < br / >
2020-02-09 00:26:05 +01:00
2020-09-27 14:34:43 +02:00
# do this before signing in to steam using VNC/x2go clients that are connected to VNC/x2go servers running virtual desktops
2020-09-27 14:41:06 +02:00
use "glxinfo" with VNC or x2go client terminal to get information about ID's, for example 0x0e5.< br / > Running glxinfo on normal ssh terminals wont be usefull < br / >
2020-09-27 14:34:43 +02:00
export SDL_VIDEO_X11_VISUALID=0x074 < br / >
2020-09-27 14:41:06 +02:00
exporting correct SDL_VIDEO_X11_VISUALID value is important before steam login for starting games correctly < br / >
instead of automating the steam login its done manually due to requiring x2go/VNC/nomachine clients.
< br / > With the virtual desktop related to the VNC/x2go/nomachine client you can log into steam using the normal GUI -> < br / >
2021-03-15 00:04:11 +01:00
once logged in steam can run actively for months without requiring restarts
2021-07-26 01:26:16 +02:00
## bashrc for x2go users
in the users thats running a x2go session edit the .bashrc file and add the follwing (remember SDL_VIDEO_X11_VISUALID deppends on glxinfo from xterm terminal):
if [[ $DISPLAY ]]; then
echo 'SDL_VIDEO_X11_VISUALID: ' $SDL_VIDEO_X11_VISUALID
export SDL_VIDEO_X11_VISUALID=0x205
echo 'SDL_VIDEO_X11_VISUALID: ' $SDL_VIDEO_X11_VISUALID
steam
fi
#X2GO_NXAGENT_DEFAULT_OPTIONS="-options nx/nx,sleep=0" /etc/x2go/x2goagent.options
#keeps session as R instead of S which is needed for interaction with graphical components such as steam and CS:S