First of all, I would like to thank you for your very interesting Fora which I have been following for years, but had not joined until now.
I would like to know if there is a way to run a match between two Linux native engines in a Linux from console.
My idea is to use a remote system that usually has some spare time on holidays for some small tests. I connect using SSH, so I cannot run any GUI, just commands from console. If matching two UCI or Winboard (Win?? on Linux? ) chess engines is possible then it should be easy to create an script to run a mini-tournament.
Ssh does not need an X-server, does it? I don't know what you plan to run on 'this' side, or that even there an X-server would always be necessary. You could even run WinBoard.
hgm wrote:Ssh does not need an X-server, does it? I don't know what you plan to run on 'this' side, or that even there an X-server would always be necessary. You could even run WinBoard.
But Xboard depends on X-Server, even in "no gui" mode, right? Maybe the OP wants to run the games, not just engines, on a remote system. I imagine remote engines would add significant communication overhead to the games, making fast games impractical.
My idea is to launch the games from my computer. But all the engines will be running in the remote system. I will disconnect my ssh session and the process(es) must continue running the tournament (nohup ... >>log &, etc.), the games and results being logged into the remote file system. When the tournament finishes, I connect again to download the logs. Obviously I should connect in the middle, to check all is running fine, or to cancel/abort a dead process/engine and then resume the tournament.
So I don't want an X-server on the other side, as my porpose is not nor watching the games online, nor playing against the remote system, nor the remote system playing against a third one.
That is why, I think, the cutechess-cli will fit perfectly my needs
hgm wrote:Ssh does not need an X-server, does it? I don't know what you plan to run on 'this' side, or that even there an X-server would always be necessary. You could even run WinBoard.
You can run xboard locally and the programs remotely and use ssh with no problem. The basic procedure is:
1. set up an ssh-agent so that you can log in without using a password.
2. the program name is something like "ssh -l username myRemote.host.com path/to/program"
and it will work. It doesn't matter whether the local GUI or interface is console or X or anything like that.
hgm wrote:Ssh does not need an X-server, does it? I don't know what you plan to run on 'this' side, or that even there an X-server would always be necessary. You could even run WinBoard.
You can run xboard locally and the programs remotely and use ssh with no problem. The basic procedure is:
1. set up an ssh-agent so that you can log in without using a password.
2. the program name is something like "ssh -l username myRemote.host.com path/to/program"
and it will work. It doesn't matter whether the local GUI or interface is console or X or anything like that.
You do have to have a local x server running however, since ssh will forward the 7000-series port connections from the remote machine to your machine. The x-server also has to be "open" which is damned hard to do nowadays on Linux, thanks to the security concerns about people taking over someone's screen with a remote X session.