GDM の使用時、/tmp/.Xauthority の代わりに ~/.Xauthority を使用する方法

Solution Verified - Updated -

Issue

GDM でデスクトップ環境にログインすると、X Window System の認証ファイル(XAUTHORITY)が /tmp 下のファイルを使用してしまいます。

$ xauth -v
Using authority file /tmp/.gdm0JMTUW

$ echo $XAUTHORITY
/tmp/.gdm0JMTUW

ユーザーディレクトリ下の ~/.Xauthority を使用するにはどうすればよいですか?

Environment

  • Red Hat Enterprise Linux 5
  • デスクトップ環境 (GNOME など)
  • GDM

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.