unable to open display issue
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 [firstname.lastname@example.org /]#
x1-6-00-0d-88-46-41-1b is actually the MAC address of eth1 somehow
Any idea ?
( here are my ifcfg files :
# Digital Equipment Corporation|DECchip 21140 [FasterNet]
# D-Link System Inc|RTL8139 Ethernet
# Wireless configuration
# 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)