several updates to ensure own restartability

This commit is contained in:
christian 2021-07-26 01:26:16 +02:00
parent 00699e7b96
commit 9af43805f8
4 changed files with 19 additions and 16 deletions

View File

@ -19,3 +19,16 @@ exporting correct SDL_VIDEO_X11_VISUALID value is important before steam login f
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/>
once logged in steam can run actively for months without requiring restarts
## 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

View File

@ -0,0 +1,6 @@
{
"udp_port": 48482,
"chat_external_port": 48471,
"steam_port": 29074,
"server_ip_port": "135.125.188.157:27015"
}

View File

@ -1,7 +0,0 @@
[Unit]
Description=Deleting files from places after a certain amount of days
[Service]
Type=simple
User=autismbot1
ExecStart=find "/home/autismbot1/.steam/debian-installation/steamapps/common/Counter-Strike Source/cstrike/download/maps" -maxdepth 1 -mmin +179 -type f -delete

View File

@ -1,9 +0,0 @@
[Unit]
Description=Runs the maps Cleaner once each 10 hours
Requires=clean_maps1.service
[Timer]
OnCalendar=00/1:00
[Install]
WantedBy=multi-user.target