RHEL9/RHEL10: login or sudo take 2 minutes to complete and pam_systemd reports "Failed to create session: Connection timed out"

Solution Verified - Updated -

Issue

  • When logging in on the system, on the console or through ssh, or when sudo'ing, 2 minutes are necessary to get the prompt

Environment

  • Red Hat Enterprise Linux 9 and 10
    • ssh
    • sudo
    • login

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