Xserver,postgres problems after hostname change.
Kim Lux
lux at diesel-research.com
Sat Dec 18 14:40:38 UTC 2004
I changed the hostname on our server and now I've got a few issues.
Specifically, I changed the following two files:
/etc/hosts:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 server.localdomain server
/etc/sysconfig/network:
NETWORKING=yes
HOSTNAME=server.localdomain
When I first ran an X forwarded app with ssh or sometime when I invoke
an X application (kwrite, konqueror) from the command line I would get:
Can't connect to localhost:11.0
So... I set the DISPLAY variable manually:
export DISPLAY=server:11.0
Now my error reads:
Can't connect to server:11.0
Additionally, man ssh states that ssh will automatically set the DISPLAY
variable and that users shouldn't touch it.
What am I doing wrong or what did I miss ?
Furthermore, I've got an issue with postgres at boot up as well. It is
also looking for localhost. It does start itself later in the boot
process.
Thanks.
--
Kim Lux, Diesel Research Inc.
More information about the fedora-list
mailing list