[browsershots-factories] Run several Linux factories on one machine, without Xen

Johann C. Rocholl johann at browsershots.org
Fri Sep 8 13:40:08 CEST 2006


Hi,

I have added a new command line option to the shotfactory script. With
"shotfactory -d :2" you can make the factory run on a different X11
display. The default is "-d :1".

If you want to try running parallel factories on a single machine, you
must create a separate user account for each factory. I have
shotfactory1 (running on display :1) and shotfactory2 (running on
display :2). Each of these is a regular Unix account with its own home
directory.

For convenience, I run each factory script in a screen, like this:

$ ssh shotfactory2 at hostname
$ screen -L shotfactory -p password -d :2

-L is for full output logging to screenlog.0 (in addition to shotfactory.log)
-p is for the password (this is extremely insecure on a multi-user system)
-d is for the X11 display

Then I can disconnect with Ctrl-A Ctrl-D and log out of ssh, and the
shotfactory will keep running in the screen. If I want to look at it
later, I log in with ssh and then type

$ screen -rd

-r is for reattach
-d is for detach from other console if necessary

Cheers,
Johann



More information about the browsershots-factories mailing list