Simple upstart script:
start on startup
spawns over 15 instances of Xvnc process.
Soft: tigervncserver on Ubuntu 16.04
If i launch it from shell like $/usr/bin/vncserver it works ordinary and brings up only one server.
Every time vncserver starts from anywhere dmesg shows message:
[ 1694.544180] show_signal_msg: 42 callbacks suppressed [ 1694.544183] gnome-screensav: segfault at 0 ip (null) sp 00007ffd6f4700d8 error 14 in gnome-screensaver[400000+20000]
but works fine after that.
When upstart executing this script I can see in dmesg 13 messages about screensav and message:
[ 2040.250475] traps: gnome-session-b trap int3 ip:7fdbc39eba6b sp:7fff55f95e20 error:0
some overflow I guess... then it stop to spawn servers.
So how to prevent upstart to restart script even if it results to system error? How to autostart vncserver after login another way then upstart (or systemd) or Ubuntu`s Startup Applications to be sure that it executes only one time? How to fix that error (if someone know it)?