Re: Remote xboard without Desktop Environment
On 20 November 2013 12:57, Darac Marjal <mailinglist@darac.org.uk> wrote:
>> The obvious solution is to install a DE. The machine is too old and
>> slow. I don't want to install a DE unless necessary.
>
> This is probably the easiest question to answer. If you do "ssh -X
> lizard", then SSH will set up what is known as "X forwarding"; that is,
> it sets up port forwarding and environment variables so that programs on
> lizard will use the display on fox.
>
> For example:
> fox$ xboard # fox executes xboard and displays locally
> fox$ ssh -X lizard
> lizard$ xboard # lizard executes xboard and displays on fox
>
Hi Darac,
Yep, this solved indeed. First I tried and got an error. I thought it
would be because of the fact there is no x-server. But it was just the
case of editing sshd_conf and allow port forward.
Great! Thanks. One to go.
>> [Fox] -> ssh -> [Lizard] -> xboard-protocol -> [Flik] <-
>> xboard-protocol <- [netizens]
>
> One possibility might be to use "screen" or "tmux" to provide a
> detachable console. I don't know if the exact details of this are
> possible, but it might be possible to do the following:
>
> fox$ ssh lizard
> lizard$ screen # starts a new screen session
> lizard$ xboard-server # Somehow run xboard in a text-only mode
> lizard$ Ctrl+A Ctrl+D # Detach the screen session. xboard continues
> to run in the background
> lizard$ logout
I apt-get-installed screen and Ctrl-A-D worked as a charm.
The real mystery now is how to run xboard! :)
This line:
> fox$ xboard # Fox connects to the xboard server in the same way
> that flik does.
Just to clarify, I think you meant:
fox$ xboard -ics Flik # Fox connects to Flik server the same way other
players (netizens) do.
> In other words, we treat Flik and Fox the same (as clients, talking the
> xboard protocol to lizard, which runs purely as a server).
>
Flik is the ICS (internet chess server, or xboard server), not a client.
Thanks!
Beco.
--
Dr Beco
A.I. researcher
"For the things we have to learn before we can do them, we learn by
doing them" (Aristotle)
Reply to: