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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.