[systemd-devel] xmodmap gives: No protocol specified
Cecil Westerhof
cldwesterhof at gmail.com
Fri Nov 4 11:47:45 UTC 2016
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
More information about the systemd-devel
mailing list