On Mon, Aug 31, 2020 at 05:38:22PM +0200, Patrick Dupre wrote:
echo $DISPLAY :0
ssh localhost xmodmap: unable to open display '' xmodmap: unable to open display ''
xterm xterm: Xt error: Can't open display: xterm: DISPLAY is not set
What about running xterm on the local display, not after ssh'ing into localhost? Of course nothing X is going to work after running 'ssh localhost', you didn't tell it to forward X connections.