← Back to team overview

epoptes team mailing list archive

Re: [Question #195888]: Configuring for multiple servers


Question #195888 on Epoptes changed:

    Status: Open => Answered

Alkis Georgopoulos proposed the following answer:
Epoptes-client uses reverse connections, so currently each client can
only be controller by a single server.

So, your solutions are:
1) Have all the epoptes clients connect to server1, and have the other "teacher" connect to server1 with ssh -X (using ssh keys to avoid having to authenticate all the time) so that he runs the epoptes UI remotely.
I.e. create a desktop launcher for teacher2 to run `ssh -X server1 epoptes`.

2) Split the ltsp clients so that half of them are controlled by server1 and half of them by server2.
For that to work, you'll need to:
a) copy /etc/epoptes from server1 to server2, so that they have the same private/public ssl keys,

b) create an /opt/ltsp/i386/usr/local/sbin/epoptes-client wrapper, with the following contents:
SERVER=$EPOPTES_SERVER exec /sbin/epoptes-client "$@"

Remember to run chmod +x /opt/ltsp/i386/usr/local/sbin/epoptes-client

c) Put EPOPTES_SERVER=<ip> entries in lts.conf, under [mac-address] or
[ip] sections for each client.

You received this question notification because you are a member of
Epoptes Developers, which is an answer contact for Epoptes.