runlevel 3 でコンソールから "startx" コマンドを実行すると、PAM 認証エラーが発生します

Solution Verified - Updated -

Issue

  • runlevel 3 でコンソールから "startx" コマンドを実行すると、以下のエラーメッセージが表示されます。

    Fatal server error: 
    PAM authentication failed, cannot start X server. 
    Perhaps you do not have console ownership?
    

この問題は、別のユーザーに "su" した後や ssh 上で startx を実行している場合に限り確認されます。

$ su - user  
Password:

Environment

  • Red Hat Enterprise Linux 6

  • Red Hat Enterprise Linux 5.5

  • xorg-x11-server

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.