startup - Ubuntu 15.04 + nodm – Continual restarts -


i'm attempting have nodm start kiosk application @ boot time.

it begins application, dies / restarts after initiation, landing me @ console. periodically attempts restart after increasing amount of time.

starting application manually via root works expected.

auth.log reports following:

jul  7 13:56:33 bp1 nodm[708]: restarting session jul  7 13:56:33 bp1 nodm[1594]: successful su on ??? root root jul  7 13:56:33 bp1 nodm[1594]: pam_unix(nodm:session): session opened user root (uid=0) jul  7 13:56:33 bp1 systemd-logind[640]: new session c3 of user root. jul  7 13:56:33 bp1 systemd: pam_unix(systemd-user:session): session opened user root (uid=0) jul  7 13:56:38 bp1 nodm[1594]: pam_unix(nodm:session): session closed user root jul  7 13:56:38 bp1 nodm[708]: x session 1594 quit status 0 jul  7 13:56:38 bp1 nodm[708]: sending x server 1591 term signal jul  7 13:56:38 bp1 nodm[708]: session lasted less 7 seconds: sleeping 30 seconds before restarting 

/etc/default/nodm set follows:

# nodm configuration  # set nodm_enabled different 'false' enable nodm nodm_enabled=true  # user autologin nodm_user=root  # first vt try when looking free vts nodm_first_vt=7  # x session nodm_xsession=/root/.xsession  # options x server nodm_x_options='-nolisten tcp'  # if x session run less time in seconds, nodm wait # increasing bit of time before restarting session. nodm_min_session_time=5 

.xsession contains:

xset -dpms xset s off xset s noblank  /var/app/electron /var/app/project_contents/ 

additionally, i've posted video of flickering to: http://youtu.be/m5zvbbhjlcy

any pointers on causing issue?

this had nothing w/ nodm. electron running johnny-five in repl mode. disabling repl mode when instantiating johnny-five addressed issue. it's 5:54 in morning.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -