Results 1 to 4 of 4

Thread: My problem with log of screen

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Every cod2 server instance should have its own linux user account, so you can read the log file from each different user home dir, this would resolve the name conflict probably

    But the last time I did this I wasn't happy with the capabilities of stone age C tools, so I wrote a Python script which opened a lnxded instance for each user, which then would accept WebSocket connections (user/password protected). So via webinterface a user could enter all kinds of commands and read back the result "in realtime". Multiple users are no problem aswell, you would just accept input from every WebSocket connection and send the output to each connected WebSocket client

    Might sound a bit complex, but WebSocket and process read/write libraries and Web dev are so easy nowadays, you might finish that in a weekend
    timescale 0.01

  2. The Following User Says Thank You to kung foo man For This Useful Post:

    lamakak (20th April 2018)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •