My Oracle Support Banner

X11 forwarding may not work if the loopback IPv6 interface is missing returning Error: Can't open display (Doc ID 3007988.1)

Last updated on MARCH 01, 2024

Applies to:

Solaris Operating System - Version 11.4 to 11.4 [Release 11.0]
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86 (32-bit)
Oracle Solaris on x86-64 (64-bit)

Symptoms

X11 forwarding may not work if the loopback IPv6 interface is missing and will return Error: Can't open display: when trying to run X Applications

NOTE : This Document doesn't attempt to check other settings involved (the client that connects to the Server must also have capabilities to receive the DATA forwarded by X11 - a local X Server )
A quick overview on how X11 Forwarding works : x-application connects to address in DISPLAY -> ssh server port forwards it -> ssh client forwards it to local X server -> the X server displays that.

Also, there maybe other reasons for which the Error: Can't open display: is returned. This Document doesn't attempt to cover all the cases for when this Error is returned.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.