Java Desktop System Release 3 Troubleshooting Guide

2.4.2 Error Message on Login

Platform 

  • Solaris OS for SPARC systems

  • Solaris OS for x86 systems

Problem  

You may encounter the following error message when you log in to a Java Desktop System session: 

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

Solution  

Ensure that your hostname is set up correctly. Perform the following: 

  • Set the hostname in the /etc/hosts file as follows:

    127.0.0.1 localhost loghost hostname localhost.localdomain

  • Ensure that your hostname is listed in the /etc/nodename file. This file must also contain the following line:

    127.0.0.1 localhost loghost hostname localhost.localdomain

  • Add the following entry to the /etc/inet/ipnodes file:

    127.0.0.1 hostname

In each case, hostname is your system name.