OpenSSH continues to hand out DISPLAY numbers after running out of ports

Solution Verified - Updated -

Issue

  • When connected with ssh -X, the OpenSSH server will verify if a display number and port is available.\
    • Once it runs out of ports, the server continues to hand out more DISPLAY numbers anyway, causing connected users to not be able to obtain a DISPLAY
    • Multiple users are connecting from unique IP addresses, but they share the same user ID.

Environment

  • Red Hat Enterprise Linux 6.8
  • openssh-5.3p1-118.1

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.