Server--Client problem

Server--Client problem

Post by Dances With Cro » Tue, 20 Jun 2000 04:00:00



On Tue, 20 Jun 2000 00:37:58 +1000, Erwin Susanto

Quote:>When I run netscape after making connection to my ISP, it says that
>"Xlib:cannot open display:0.0" "Client is not authorized by server"

>What is wrong with that ?

>I tried to export DISPLAY="......:0.0" but still not working

Are you trying to run Netscape off a remote machine, or your local
machine?  If it's a remote machine, you need to read the man page
for xauth or do "xhost +remote_machine_name".  If it's the local
machine, then you should first try "xhost +localhost".  I've found
that if you connect using DHCP, often the hostname of your machine gets
munged and this invalidates X's magic cookie file.

--
Matt G / Dances With Crows      /\    "Man could not stare too long at the face
\----[this space for rent]-----/  \   of the Computer or her children and still
 \There is no Darkness in Eternity \  remain as Man." --David Zindell "So did
But only Light too dim for us to see\ they become Gods, or Usenetters?" --/me

 
 
 

Server--Client problem

Post by Erwin Susant » Wed, 21 Jun 2000 04:00:00


When I run netscape after making connection to my ISP, it says that
"Xlib:cannot open display:0.0" "Client is not authorized by server"

What is wrong with that ?

I tried to export DISPLAY="......:0.0" but still not working

 
 
 

Server--Client problem

Post by Erwin Susant » Wed, 21 Jun 2000 04:00:00


Thank you for the reply Dances with Crows :)

I was trying to run netscape on my own local machine.....
I'll try what you suggested by "xhost +localhost"...
Also after making connection  to ISP, the error message appears again when I try
to run xdvi previewer...
After closing the connsction to ISP, xdvi works properly again...
If I "xhost +localhost", all X-Client applications error can be fixed ???


> On Tue, 20 Jun 2000 00:37:58 +1000, Erwin Susanto

> >When I run netscape after making connection to my ISP, it says that
> >"Xlib:cannot open display:0.0" "Client is not authorized by server"

> >What is wrong with that ?

> >I tried to export DISPLAY="......:0.0" but still not working

> Are you trying to run Netscape off a remote machine, or your local
> machine?  If it's a remote machine, you need to read the man page
> for xauth or do "xhost +remote_machine_name".  If it's the local
> machine, then you should first try "xhost +localhost".  I've found
> that if you connect using DHCP, often the hostname of your machine gets
> munged and this invalidates X's magic cookie file.

> --
> Matt G / Dances With Crows      /\    "Man could not stare too long at the face
> \----[this space for rent]-----/  \   of the Computer or her children and still
>  \There is no Darkness in Eternity \  remain as Man." --David Zindell "So did
> But only Light too dim for us to see\ they become Gods, or Usenetters?" --/me

--
*---------------------------------------------------------------------*
|                         Erwin Susanto                               |
|                Computational Fluid Dynamics Research                |
|         School of Mechanical and Manufacturing Engineering          |
|                  The University of New South Wales                  |
|                          Sydney 2052 Australia                      |
|                                                                     |

| Mobile: (+61 2) 0413-872-651                                        |
*---------------------------------------------------------------------*

.

 
 
 

1. Xlib: Server/Client problem

Hi all...

        I recently installed Netscape Communicator 4.5.1 for Solaris. It all
seems to work fine so far. Except (...of course!)... when I try to run
it under the root account (sh), I get the following error message:

        Xlib: connection to ":0.0" refused by server
        Xlib: Client is not authorized to connect to Server
        Error: Can't open display: :0.0

Is this something that has to do with the Communicator, or have I really
screwed up the root account? It works fine for the ordinary users
(tcsh).
In an attempt to "correct" what I thought is wrong, I also created fresh

/.dt
/.dtprofile
/.Xauthority

directories, but no "cure" (?).

        Is there anybody out there to show me what is (or what am I doing)
wrong ??

        Thank you in advance...

        Theo.

--
Th.

Using Netscape Communicator 4.5 on Linux kernel 2.0.36 (Red-Hat: Apollo)

2. RHL 5.2 setup: Cannot open /tmp/rhimage/RedHat/base/Install3.tr

3. ltsp server/client problem: no DHCPREQUEST after DHCPOFFER

4. Motherboard for a server

5. Domain server client problem

6. Can't find *mstpaths.h* for STIX!

7. SERVER?CLIENT PROBLEM

8. script execution question

9. Solstice Internet Mail Server/Client Problem

10. Connecting two machines:; Client only communicate with server when server continuously pings client.

11. Sex Change - Making Server as Client and Client as Server

12. PopTop VPN Server can see Win98 client but client can't see server

13. Communication needed between linux server/client to windows client/server