Re: Help needed with systemd script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is the log outpu:
+ xhost +SI:localuser:boinc
xhost:  unable to open display ""
+ sleep 1



Il 14/12/2013 15:12, Alec Leamas ha scritto:




I really wonder if $DISPLAY is defined within systemd's execution context.  IMHO, it shouldn't E. g.,  try adding

exec &> /tmp/boincxhost.log
set -x

at the top of your script. That should give debug output from the script. I'd presume there is some error message when run from systemd.

Or, I'm just plain wrong. Dunno :)

--alec

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux