ssh X11 forwarding does not work from an XDMCP session on Red Hat Enterprise Linux 6

Solution Unverified - Updated -

Issue

  • When connected to Red Hat Enterprise Linux 6 via XDMCP, ssh -X or ssh -Y do not work and remote X11 applications fail to connect to the display with the following error:

    Xlib: connection to "localhost:10.0" refused by server
    Xlib: Invalid MIT-MAGIC-COOKIE-1 key
    xrdb: Can't open display "localhost:10.0"
    

Environment

  • Red Hat Enterprise Linux 6
  • Remote XDMCP connection

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.