FG
💻 Software

Understanding X Windows DISPLAY environment variable when tunnelling

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

Problem

I want to ssh to remote servers, both running with enabled. However the X application cannot run properly on one of them - on host B it works fine. But on host A I get the error "couldn't connect to display", each time I launch X application. After checking the environment variable on host A which …

Error Output

CentOS

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Understanding X Windows DISPLAY environment variable when tunnelling

Low Risk

Part of the answer can actually be found here: https://stackoverflow.com/questions/746119/how-do-you-use-display-specifications DISPLAY variable is basically 3 components: As far as localhost aka 127.0.0.1 vs. 0.0.0.0 aka 0 is concerned you can take…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment