1
vote
1answer
3k views

Linux: wmctrl cannot open display when session initiated via ssh+screen

I'm using wmctrl on an Ubuntu machine to manage windows from a script, that I run inside a (gnu) screen. If I start the screen session from the local machine, wmctrl works fine, including if I ...