Thank you for your fast response.
Tankyouthankyou for the solution.
Regards
Lennart

On Sun, Sep 20, 2015 at 6:44 PM, Aryeh Leib Taurog <[email protected]>
wrote:

> Try the following:
>
> environment=DISPLAY=":0"
> command=xclock
> autostart=true
> autorestart=true
>
> On Sun, Sep 20, 2015 at 06:22:56PM +0200, Lennart Ramberg wrote:
> > 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
> _______________________________________________
> Supervisor-users mailing list
> [email protected]
> https://lists.supervisord.org/mailman/listinfo/supervisor-users
>
_______________________________________________
Supervisor-users mailing list
[email protected]
https://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to