On Fri, 04.11.16 12:47, Cecil Westerhof ([email protected]) wrote:

> 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?

This is the systemd mailing list, we don't really have much knowledge
about X11, sorry.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to