Why I am getting error "X connection to localhost:10.0 broken (explicit kill or server shutdown)" when trying to connect RHEL system from Windows7 ?

Solution Unverified - Updated -

Issue

  • Getting following error messages when using putty on local Windows7 system to access RHEL system.
  "X connection to localhost:10.0 broken (explicit kill or server shutdown)."
  • Tried to enable the "Enable X11 forwarding" option in putty And executed below commands, but getting same error.
]$ xhost +
X connection to localhost:10.0 broken (explicit kill or server shutdown).
]$ export DISPLAY=<ip_of_windows_system>:0.0
]$ xclock
Error: Can't open display: <ip_of_windows_system>:0.0

Environment

  • Red Hat Enterprise Linux (All versions)
  • Microsoft Windows7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content