Using AMC on a server with X-server (aqua on OS-X)

Version 2 (Pieter Van den Hombergh, 08/25/2013 07:22 am)

1 1
h1. Using AMC on a server with X-server (aqua on OS-X)
2 1
3 1
X11 as a graphical environment is already quite old, but still very usefull.
4 1
Every current Linux distro (measured 2013-08-25) has a X11 server on board. But also Mac OS-X has or can have a full blown x-server, even in at least two variants. 
5 1
The Aqua version seems to be a popular one.
6 1
7 2 Pieter Van den Hombergh
If you set up a linux server (in our case a ubuntu 12.04 LTS) and enable some X11-client applications, you can run AMC on that. Assume the linux server is called *alexis.local*, and you username on that server is *me*.
8 2 Pieter Van den Hombergh
Also assume that you have a complete home environment on the server with your home dir */home/me* containing the standard */home/me/MC-Projects* subdir as your working dir for AMC.
9 1
If properly installed it can even do the office calc thing. For many cases this is easier to maintain, as the maintenance has to be done one machine only and can be done by your local LaTeX/Linux/AMC guru.
10 1
11 1
h2. Steps:
12 1
13 1
# Install amc on the server. Watch the dependencies, but it is quite doable.
14 1
# use ssh as the connection protocol to your server, with the <code> -X </code>  flag set, like 
15 1
<pre>
16 2 Pieter Van den Hombergh
ssh -X me@alexis.local
17 1
</pre>
18 1
# start up AMC per command line like so
19 1
<pre>
20 1
auto-multiple-choice 
21 1
</pre>
22 1
and presto the gui will start as usual.
23 1
24 1
The "*server*" does not really have to be server grade hardware, it could be a special or shared workstation, reachable for the other (mac) workstations.
25 1
26 1
*Happy amc-ing.*