Solaris 10 8/07 发行说明

登录问题

本节介绍登录问题。

无法使用 GDM 登录,除非“准许通行”(Clearance) 设置为 admin_high (6432114)

无法使用 GDM 登录 Solaris 高可靠扩展版 Java 桌面系统 (Java Desktop System, Java DS),这是由 PAM 配置导致的。pam.conf(4) 文件中没有 GDM 所需的入口。

登录时会显示以下错误消息:


The system administrator has disabled access to 
the system temporarily

解决方法:将以下两行添加至 /etc/pam.conf 文件:


gdm account requisite pam_roles.so.1
gdm account required pam_unix_account.so.1

有关文件格式的信息,请参见 pam.conf(4) 手册页。

登录错误消息

您在登录到 Java 桌面系统会话时可能看到如下错误消息:


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 文件中正确设置了主机名。请执行以下步骤:

  1. 按如下形式在 /etc/hosts 文件中设置主机名:


    127.0.0.1 localhost loghost hostname
    localhost.localdomain

    hostname 是系统的名称。

  2. 确保主机名在 /etc/nodename 文件中列出。此文件还必须包含下面的行:


    127.0.0.1 localhost loghost hostname
    localhost.localdomain