I wrote a simple Lazarus program that displays a window and a button and did
the same thing using Glade which also uses Gtk+.

I am using a Beaglebone Black with the latest stock Debian Jessie image
which start a LxQt desktop program after it boots up.

When I run my program in the LxQt window or in a terminal window, it runs
fine.

Now I want my Lazarus or Glade/Gtk program to run when I boot and not see
the LxQt desktop program.

I have tried using the Crontab with @reboot command method and the create a
.service and use systemctl to register and start it.

No matter what I try I get " Gtk-WARNING **: cannot open display: ".  This
also happen on a Beaglebone Green and happens when I use Wheezy or Jessie.

 

What am I doing wrong and how can I fix it?

 

Thanks,

Newbie Ed

 

-- 
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to