Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2004 00:31:13 +0530
From:      Shantanoo <freebsd@dhumketu.cjb.net>
To:        Ion-Mihai Tetcu <itetcu@apropo.ro>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: changed hostname, what else shoud I change ?
Message-ID:  <20040713190113.GB6656@dhumketu.homeunix.net>
In-Reply-To: <20040713132212.6dde0e77@it.buh.cameradicommercio.ro>
References:  <20040713132212.6dde0e77@it.buh.cameradicommercio.ro>

next in thread | previous in thread | raw e-mail | index | archive | help
+++ Ion-Mihai Tetcu [freebsd] [13-07-04 13:22 +0300]:
| Hi,
| 
| 
| I moved my desktop's HDD from a machine to another and I've changed the hostname
| in /etc/hosts.
| 
| Now I wonder what else do I have to change in order to have things run
| smooth ?
| 
| X gives an error on startup :
| 
|  % startx
| xauth: (argv):1:  bad display name "old_host_name.tld.ro:0" in "list" com
| mand
| Using authority file /home/itetcu/.Xauthority
| xauth: (stdin):1:  bad display name "old_host_name.tld.ro:0" in "add" com
| mand
| 
| 
| XFree86 Version 4.3.0
| Release Date: 27 February 2003
| X Protocol Version 11, Revision 0, Release 6.6
| ..............
| 
| and the same on shutdown. Where to look about this ?

run the following command once:

rm ~/.Xauthority


| 
| 
| Besides postfix are there any other apps / files to look for ?

name server (if you are running it)

| 
| 
| Thanks,
| 
| -- 
| IOnut
| Unregistered ;) FreeBSD "user"
| 

Shantanoo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040713190113.GB6656>