FG
💻 Software

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

Fresh5 days ago
Mar 15, 202611694 views
Confidence Score0%
0%

Problem

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 completely close the terminal window and issue the wmctrl commands when connecting to the screen remotely …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

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

Low Risk

DISPLAY and AUTHORITY An X program needs two pieces of information in order to connect to an X display. (Note that is an X program, even if it accesses other processes' windows rather than creating its own.) It needs the address of the display, whic…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment