At 23:33 2000-03-21 -0500, Mark Basil wrote:
>Ok, anytime I connect using ppp (kppp) I can't run anything that uses the
>display. i.e. EVERYTHING. Why would a ppp conection cause me not to be able
>to do this. After I disconnect everything is fine.
>error can't connect to display:0.0
X applications use TCP/IP to send information to the display. When you
establish a PPP connection, your hostname may change, causing problems for
apps that try to establish a TCP connection to a display using your
original hostname. The apps can no longer find the display because the host
has been renamed.
The fix is to associate the hostname with an unchanging IP address. Make
sure your machine's hostname is in /etc/hosts. If you don't have a network
card, you can use a line like this in /etc/hosts:
127.0.0.1 localhost localhost.localdomain mylinuxbox
The above line basically assigns two names to the loopback device
(127.0.0.1). If you do have a network card, you should assign the real name
to the network card:
127.0.0.1 localhost.localdomain localhost
192.168.1.1 mylinuxbox.localdomain mylinuxbox
That assumes "mylinuxbox" is the local hostname you've selected and that
you're using standard private network IP addresses. On Red Hat boxes, the
hostname is assigned in /etc/sysconfig/network. You can use Linuxconf or
netcfg to set it, or you can edit the file yourself.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.