Article 57MW1 systemd cannot open display

systemd cannot open display

by
rac8006
from LinuxQuestions.org on (#57MW1)
I'm working on a program that that controls a trendnet Tk-409k KVM switch. The program is written in C++ with Gdk. The program runs fine if run from the terminal. I tried to make it a systemd service. It fails with a cannor open display.
After searching several sites. They say that printf and cout will write to the /var/log/messages file. I don't understand why I'm getting this error.

Thankslatest?d=yIl2AUoC8zA latest?i=70_iPJYbREQ:YjHFvI34HPI:F7zBnMy latest?i=70_iPJYbREQ:YjHFvI34HPI:V_sGLiP latest?d=qj6IDK7rITs latest?i=70_iPJYbREQ:YjHFvI34HPI:gIN9vFw70_iPJYbREQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments