I have a script I want to run as a service which uses:
    xmodmap -pk
I have to define the DISPLAY, so I use:
    export DISPLAY=:0.0

But this gives:
    export DISPLAY=:0.0
    xmodmap:  unable to open display ':0.0'

When I try the same with at, I do not have this problem.

What is happening here and how can I resolve this?

-- 
Cecil Westerhof
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to