Starting the Caucus daemon | ![]() |
Caucus runs as a single master "daemon" program called swebd, which accepts requests for new Caucus sessions. It spawns off a "sub-server child" called swebs, one for each user's session. (See the Caucus architecture description in the Documentation Library for more information.)
Swebd is normally started from root, so that it may start as many children as needed. Each swebs child runs as effective userid "caucus", and real userid "nobody".
To start the Caucus daemon, login as root, and type the commands below:
rm -f /home/caucus/SOCKET/sweb rm -f /home/caucus/SOCKET/sweb0* /home/caucus/SWEB/swebd /home/caucus/SWEB/swebd.conf
where /home/caucus is the home directory of the "caucus" userid.
You must also add these same commands to your system start-up file (such as /etc/rc.d/rc.local, or whatever it is called on your host) so that the Caucus daemon will automatically start when your system reboots.