Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Feb 2008
    Posts
    93

    Default Attach to screen

    How can I get a game to attach to a screen so that i can get the rcon via ssh or is there a php script out there that can help?

    Thanks
    Ant

  2. #2
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    Different games have different methods of accessing RCON (and some don't have it at all.) Which game(s) are you interested in primarily ?

  3. #3
    Member
    Join Date
    Feb 2008
    Posts
    93

    Default

    Half Life 1 & 2 + Mods

    Thanks
    Ant

  4. #4
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    Those have RCON access built in to the game, you can connect from the in-game console. Were you wanting a purely browser based solution ? I'm not sure of a web based app off the top of my head but I'm sure there are some out there. One of the long term goals for cPGS is RCON command support for the various games, but it's still got a lot to get done before then. (read: it's probably worth your time to look into an alternate rcon solution for now)

  5. #5
    Member
    Join Date
    Feb 2008
    Posts
    93

    Default

    I was not talking about a web-based program. I meant the screen command in ssh.
    Change the start up command to start it with a screen instead of sending it straight into the background.
    The screen session can be named /home/user/hl2_0... and so on.
    Let me know if you can do this.

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2007
    Posts
    89

    Default

    Quote Originally Posted by Silent Sniper View Post
    I was not talking about a web-based program. I meant the screen command in ssh.
    Change the start up command to start it with a screen instead of sending it straight into the background.
    The screen session can be named /home/user/hl2_0... and so on.
    Let me know if you can do this.
    You might already know this, but just in case..
    Screen is a very risky solution to making detachable/session-less applications launch.
    If you are not the only one with ssh access some one else can try to hijack the screen session....
    what's the reason you want to use screen instead of letting it push to the background, if you don't mind me asking?

    Cheers.

  7. #7
    Member
    Join Date
    Feb 2008
    Posts
    93

    Default

    I did not know that. But nice point. I never thought of it like that.
    I was thinking of using ssh for the rcon also and looking at the screen session to find out errors instead of looking in the logfile that dometimes does not log all the information.
    It stops logging when it wants to.

    Thanks
    Ant

  8. #8
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    It's possible I could make it an option, an allowable feature in WHM that the user could then enable if permitted. It won't be at the top of the list, but perhaps I can squeeze it in on a slow(er) day
    Eventually I want to have in-browser rcon control, but that is one of the final large features for the entire project and is still far off.

  9. #9
    Member
    Join Date
    Feb 2008
    Posts
    93

    Default

    Thank you darren.

Similar Threads & Tags
Similar threads

  1. Attach with perl script
    By persianwhois in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-15-2007, 10:21 PM
  2. attach user to command
    By SetLar8 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-04-2006, 07:26 PM
  3. Please help to Secure for NO DDOS Attach
    By webits in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-28-2005, 11:30 PM
  4. Active system attach
    By hst in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 11-28-2002, 01:37 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube