0

I'm trying to get a website compatible with a screen. I have a Garrysmod game server running on the user garrysmod.
So when I am on the website, I'm on the user www-data, and I need to access the screen "gmod" on user garrysmod.

I have multiuser on, so screen -x garrysmod/gmod will attach me to the screen. Although when I try to execute a command, screen -x garrysmod/gmod -X stuff "hi" the server receives nothing, but if I do screen -S garrysmod/gmod -X stuff "hi" it does not find the screen.
So I have no idea how to send a command from the website, to the screen.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62

0 Answers0