...
In order for this to work the follwing packages need to be installed on the cluster nodes:
Code Block |
---|
sudo yum install npm
sudo yum install xorg-x11-server-Xvfb
sudo yum install atk java-atk-wrapper at-spi2-atk gtk3 libXt ImageMagick
# Register and start Xvfb service
sudo echo "
[Unit]
Description=Xvfb headless plotting
After=network.target
[Service]
User=root
ExecStart=/usr/bin/Xvfb :0 -screen 0 1280x1024x24
[Install]
WantedBy=multi-user.target
Alias=Xvfb.service
Alias=xvfbd.service
" > /etc/systemd/system/xvfb.service
sudo systemctl daemon-reload
sudo systemctl enable xvfb
sudo systemctl start xvfb
|