Professional Documents
Culture Documents
Instruction For Ubuntu Node-Red-pm2
Instruction For Ubuntu Node-Red-pm2
Instruction For Ubuntu Node-Red-pm2
[Unit]
Description=Start x11vnc at startup.
After=multi-user.target
[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -loop -forever -bg -rfbport 5900 -xkb -noxrecord -noxfixes -noxdamage
-shared -norc -auth /run/user/1000/gdm/Xauthority -rfbauth /etc/x11vnc.pass
[Install]
WantedBy=multi-user.target
This file need to be populated with the following information. As mentioned earlier, the UID for gdm
account is critical in this configuration (see text in orange). Ensure that the uid value in the file
match your configuration. This information needs to be correct in order to have the service start
and running and save the file.
Click Add and in the dialog box, provide a name and the command line to be executed
(x11vnc -rfbport 5900 -rfbauth /etc/x11vnc.pass)
3. Firefox in Startup
2. pm2 startup
Time
1. In nano /etc/ntp.conf file, modify as below. This will
set our NTP server