本節說明登入的問題。
登入 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 |
將下列項目增加到 /etc/inet/ipnodes 檔案:
127.0.0.1 hostname |
當您登入 Java Desktop System Release 3 時,您的 $PATH 設定不正確,如下:
/usr/bin::/usr/dt/bin:/usr/openwin/bin:/bin: /usr/ucb:/usr/openwin/bin:/usr/dt/bin |
解決方法:將下列項目自您的 $PATH 中移除:
/usr/openwin/bin:
/bin:
::
產生的路徑應與下列範例類似:
/usr/bin:/usr/dt/bin:/usr/ucb:/usr/openwin/bin:/usr/dt/bin |
如果您使用 dtlogin 遠端連線,在某些系統上會無法連線至 GNOME Display Manager。
解決方法:提示您選取遠端登入時,請指定 IP 位址而不是主機名稱。