Re: CDE question

From: Michael Tosch (eedmit_at_NO.eed.SPAM.ericsson.PLS.se)
Date: 11/27/03


Date: 27 Nov 2003 18:40:13 GMT

In article <Pine.GSO.4.58.0311271247140.22731@airy>, Guy Paulus <gpaulus@smc.ulb.ac.be> writes:
> On Thu, 27 Nov 2003, Martin Paul wrote:
>
> > Guy Paulus <gpaulus@smc.ulb.ac.be> wrote:
> > > tx38 is an old alias name that has been replaced by smc38 in the /etc/hosts
> > > file of the server. The display should now be smc38:0.0 instead of tx38:0.0
> > > A fresh $HOME/.dt directory has been created, but still the errorlog shows
> > > tx38:0.0 as display. Is there something remaining somewhere on the server
> > > with the old display information that I have to get rid of ?
> >
> > If the hostname of the machine was changed by just editing /etc/hosts,
> > this could be the culprit. The hostname is also listed in some
> > other files under /etc. Check the manpage for sys-unconfig (which
> > is the supported command to change the hostname) for a list of files
> > to be modified.
>
> tx38 was an alias for a remote host, not the solaris server. I don't
> see what sys-unconfig has to do with the DISPLAY value on the remote
> host. When the user logs into another server, where the /etc/hosts file
> is empty except for the loopback and the server itself, the DISPLAY
> value is correctly set to smc38:0.0, not tx38:0.0.
> Both servers use /etc/nsswitch.conf with "hosts: file dns"; the difference
> is that on the server complaining about the display, /etc/hosts contains
> an smc38 entry, while on the other the hostname is provided by the DNS.
> --
> ,

Check the other files under /etc, like /etc/nodename and /etc/net/*/hosts.

Does
getent hosts IP-address
resolve to the new host name?

Have you rebooted the machine? At least you should restart dtlogin and
syslog service after changing host name.

-- 
Michael Tosch
IT Specialist
HP Managed Services Germany
Phone +49 2407 575 313


Relevant Pages

  • Several issues with /etc/hosts.allow at a university setting
    ... automatically created a new hostname for my computer. ... Other problems that occur of this new arrangement is that my display ... I've heard xhost + is an insecure way of doing things though ... I don't want to be booted into the new host name even if the ...
    (comp.os.linux.networking)
  • Re: hostnames and interfaces
    ... Apache documentation on doing virtual hosts and maybe do some ... A fully Qualified Host Name consists of two main parts. ... During installation, when it asks for hostname, it wants a Fully ... service what DNS server will be providing DNS service for that domain. ...
    (freebsd-questions)
  • Re: /bin/hostname
    ... Find a real news server. ... in /etc/hosts that maps the host and the FQDN to the static IP ... Linux distributions are supposed to follow Linux Standard Base standards, ... hostname -- show or set the system's host name ...
    (comp.os.linux.networking)
  • RE: apache not starting: FreeBSd 5.4
    ... Assigning a Host name to your FBSD system. ... statement hostname= to /etc/rc.conf. ... registered domain name on the public Internet (unless of course it's ...
    (freebsd-questions)
  • Re: Disabling "Status of lp request" mails
    ... >>hostname incorrectly, or the host submitting the print jobs ... >>is providing the wrong hostname info. ... >print servers to blackhole attempted replies from lpsched to print jobs ... or on the mail servers that receive the messages from the print server, ...
    (comp.unix.solaris)