How to run tournaments on Linux without GUI?

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: How to run tournaments on Linux without GUI?

Post by Don »

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.
ssh does NOT require an X-server to run. You pass it the -X flag if you want to run remote graphical programs from a remote X-server.

I have run ssh from machines that did not even have an X-server installed. For instance many servers do not have X installed.

Here is example usage of running crafty from a remote machine:

xboard -fcp "ssh greencheeks.homelinux.org crafty"

To make this work well you need to set up password-less logins to "greencheeks" or whatever remote machine you are running on. You will still get a secure connection as the appropriate credentials are still just stored in a file so that you don't have to type it in.

As opposed to windows, Linux almost always provides better abstractions for things so ssh is just another shell, just as bash or csh is a shell or cmd.exe in windows. ssh means secure shell.

Another abstraction example is directories. In windows you have to provide a device like C: or D: but in Linux, files on other devices or drives are just part of a single unified file system so you don't think in terms of which physical device a file is on. When you build a dual boot system with both linux and windows the windows partitions are usually visible to linux if you set it up that way, but just look like a subdirectory somewhere (wherever you specify.)