Cecil Westerhof
2016-11-04 11:47:45 UTC
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?
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
Cecil Westerhof