Running the WebCC Server on Log-In on GNU/Linux
The traditional way of running a WebCC server is by running the server as a daemon. This means it launches and allows clients to connect as soon as the machine is booted, without any user being signed-in.
Using Service Launcher, it is possible to configure your WebCC server to only launch as the currently logged-in user, when they log in. This means that WebCC will only be accessible if the user configured to run it is logged in.
Although this may seem impractical, it may be preferable for security reasons. Services installed with the Configuration Wizard are run under the user usabatch, an user with administrator privileges which is created by Configuration Wizard to launch the services. When using Service Launcher, the logged-in user does not need to have administrator privileges to run services.
Before configuring Service Launcher to run the WebCC server, the daemon that launches it must be disabled, so as to avoid launching two instances of the WebCC server simultaneously
-
In a terminal, type in the following commands to stop, then disable the daemon:
$ sudo service toonboom_webcc stop
$ sudo chkconfig toonboom_webcc off
The WebCC server daemon will stop and will no longer launch on boot.
-
Make sure you are currently signed-in as the user who will run the service.
NOTE This user will need to be logged in for the service to be running. The user does not need to have administrator privileges.
-
Do one of the following:
- If Service Launcher is not running, in the GNOME top menu, select Applications > Harmony 17 [Edition] > Service Launcher.
- If Service Launcher is already running, click on its icon in the system tray.
The Service Launcher application starts.
- In the Application parameters section of the Preferences tab, make sure that the Launch on login option is checked, so that services configured in Service Launcher automatically launch when you log in to your account.
- Select the WebCC tab.
- Check the Launch when Service Launcher starts option.
- To make sure users must enter their password when logging in to WebCC, check the Authentication option.
- By default, WebCC will use port 8080. If you want to use a specific port to connect to WebCC, type it in the Port field.
- Click on Launch to verify that WebCC launches successfully through Service Launcher using the selected parameters.
-
In the top menu, select Server > Save All Settings.
From now on, the WebCC server will launch through Service Launcher when you log in.