Hey,

Here's one that should be easy o fix but somehow it doesn't seem to be

It's on a Redhat enterprise ( pretty much like a fedora core )


only the loopback interface is up at bootup
X starts fine at bootup.
I can start any X app ( Xemacs, mozilla etc ... )
But as soon as I start my interface I can't start any new X app.
I get an error :
unable to open display on ":0.0"



For some reason I have been forced not to use the redhat network configurator to setup my network interface.
So I wrote my 3 ifcfg-ethx scripts in /etc/sysconfig/network-script.
eth0 goes to a DEC
eth1 goes to a dlink
eth2 goes to a linksys wireless using the "driverloader" tool

For some reason, also, I have to start the interfaces manually after everything is booted ( if I start eth0 before eth1, eth1 won't start ).

so I usually start them in this order : eth1 eth0 eth2






Reading different threads, a simple xhost +localhost should take care of it but I still get the error message.export $DISPLAY=0.0 neither

I think this is related to a computer name issue.
When I type : su
I get this prompt : [root@x1-6-00-0d-88-46-41-1b /]#
instead of a [root@localhost.localdomain /]#
x1-6-00-0d-88-46-41-1b is actually the MAC address of eth1 somehow


Any idea ?


( here are my ifcfg files :
eth0
# Digital Equipment Corporation|DECchip 21140 [FasterNet]
DEVICE=eth0
ONBOOT=no
BOOTPROTO=none
IPADDR=10.0.1.254
NETMASK=255.255.255.0
TYPE=Ethernet


eth1
# D-Link System Inc|RTL8139 Ethernet
DEVICE=eth1
ONBOOT=no
BOOTPROTO=dhcp
HWADDR=00:0D:88:46:41:1B
DOMAIN=
NETMASK=
GATEWAY=
TYPE=Ethernet
PEERDNS=yes


eth2
DEVICE=eth2
BOOTPROTO=none
ONBOOT=no
TYPE=Wireless

#
# Wireless configuration
#
TYPE=Wireless
MODE=Managed
ESSID=aet
DOMAIN=
NETMASK=255.255.255.0
HWADDR=
DHCP_HOSTNAME=
IPADDR=192.168.1.110
USERCTL=no
PEERDNS=yes
GATEWAY=192.168.1.1
RATE=Auto
CHANNEL=1

lo
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback

)