Install: Raspberry Pi

The LaserWeb4 frontend is very feature-rich and quite heavy and will not run smoothly on the Rasbian Desktop, but you can run the server part on a Raspberry Pi and connect from a PC on the network.

Install the server

This procedure is not tested yet!
Start from a clean Rasbian image, on a Raspberry Pi 2 or 3.

Install Node  6.x

curl -sL | sudo -E bash -
apt-get install -y nodejs

Confirm you have the correct NPM version (should be >=3.10.10)

npm -v

Confirm you have the correct NodeJS version (should be >= 6.9.4)

node -v

Install git

sudo apt-get update
sudo apt-get install git

Download and install LaserWeb server

cd /home/pi
git clone
cd lw.comm-server
sudo npm install serialport --unsafe-perm --build-from-source
sudo npm install

Manually start the server

cd /home/pi/lw.comm-server
node server.js

You should get the following console response:

> This email address is being protected from spambots. You need JavaScript enabled to view it. start C:\Users\cprez\git\LaserWeb\lw.comm-server
> node server.js

        ---- LaserWeb Comm Server 4.0.115 ----
  Use to connect this server.

* Updates:
  Remember to check the commit log on
  regularly, to know about updates and fixes, and then when ready
  update accordingly by running git pull

* Support:
  If you need help / support, come over to

Press CTRL-C to stop the server.
Now that you know it's working, you can setup the autostart of the service.

Setup Systemd to automatically start the LaserWeb server

sudo cp /home/pi/lw.comm-server/lw.comm-server.service /etc/systemd/system/lw.comm-server.service
sudo systemctl enable lw.comm-server.service
sudo systemctl start lw.comm-server

You can check the status of the server with

sudo systemctl status lw.comm-server

You can restart the server with

sudo systemctl restart lw.comm-server

You can stop the server with

sudo systemctl stop lw.comm-server

(The logs will get added to /var/log/syslog)

Start the frontend

-> You should see a green message "Server connected" in the log area at bottom right.

-> You should get a green message "Machine connected"  in the log area, followed by a green line with the detected firmware. If you get some red messages insted of the green firmware line, you probably have selected the wrong port or the firmware is not supported.

Some boards need a reset command after connecting (or will disconnect after a few seconds). To do that, you have to create a file called ".env" in the installation folder with the following content: RESET_ON_CONNECT=1

You can proceed with Initial Configuration.