Search results

  1. N

    Commands work in terminal but not in systemd unit file?

    Update: it may have something to do with ~/.Xauthority. I read this question which says that not only DISPLAY needs to be set but my app also needs info from .Xauthority. I have added a line to my service file (unit file) as follows: Environment=XAUTHORITY=/home/pi/.Xauthority but still...
  2. N

    Commands work in terminal but not in systemd unit file?

    Hi, I am running Raspbian Lite on a RPi and trying to get systemd to start a graphical python app. The weird thing is I can enter 2 commands into terminal and get my graphical app to run but the same commands in systemd unit file does not work! It seems the unit file is running but my...
Top