Lennart Ramberg
2015-09-20 16:22:56 UTC
Hello,
I'm new here and I ask for help, please.
I experiment with Buildroot with Supervisord.
I am unable to start applications like, say, xclock with supervisord.
For now, I think I can do without a window manager (like twm or Fluxbox).
I let supervisord launch X using startx, so in supervisord.conf
command=/usr/bin/startx
If my programs are in startx, they launch all right.
Also, with xterm in startx, I can launch my programs from there, say
xclock, with
DISPLAY=:0 xclock
But I want supervisord to handle my programs individually
so I tried, in supervisord.conf, (after startx) a bunch of variations of
command="DISPLAY=:0 xclock"
autostart=true
autorestart=true
giving error 'Can't find command' in /var/log/supervisor/supervisord.log
Just
command=xclock
autostart=true
autorestart=true
gives 'Error: Can't open display' in
/var/log/supervisor/xclock-stderr--....log
What should that
command=????
look like?
Thanks in advance
Lennart
I'm new here and I ask for help, please.
I experiment with Buildroot with Supervisord.
I am unable to start applications like, say, xclock with supervisord.
For now, I think I can do without a window manager (like twm or Fluxbox).
I let supervisord launch X using startx, so in supervisord.conf
command=/usr/bin/startx
If my programs are in startx, they launch all right.
Also, with xterm in startx, I can launch my programs from there, say
xclock, with
DISPLAY=:0 xclock
But I want supervisord to handle my programs individually
so I tried, in supervisord.conf, (after startx) a bunch of variations of
command="DISPLAY=:0 xclock"
autostart=true
autorestart=true
giving error 'Can't find command' in /var/log/supervisor/supervisord.log
Just
command=xclock
autostart=true
autorestart=true
gives 'Error: Can't open display' in
/var/log/supervisor/xclock-stderr--....log
What should that
command=????
look like?
Thanks in advance
Lennart