本節說明登入方面的問題。
登入 Java Desktop System 階段作業時,可能會出現下列的錯誤訊息:
Could not look up internet address for hostname. This will prevent GNOME from operating correctly. It may be possible to correct the problem by adding hostname to the file /etc/hosts |
解決方法: 確定已在 /etc/hosts 檔案中正確設定您的主機名稱。執行下列步驟:
如下所示,在 /etc/hosts 檔案中設定主機名稱:
127.0.0.1 localhost loghost hostname localhost.localdomain |
hostname 是您的系統名稱。
確認您的主機名稱列在 /etc/nodename 檔案中。這個檔案必須包含下行的內容:
127.0.0.1 localhost loghost hostname localhost.localdomain |