su を使用して別のユーザーにスイッチしてから X アプリケーションを実行しようとすると、'Xlib: connection to ":0.0" refused by server' エラーが表示される

Solution Verified - Updated -

Issue

  • su を使用して別のユーザーにスイッチしてから X アプリケーションを実行しようとすると、'Xlib: connection to ":0.0" refused by server' エラーが表示されるのはなぜですか?

Environment

  • Red Hat Enterprise Linux 4
  • Red Hat Enterprise Linux 5
  • ユーザーを切り替える (su)

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.