[rhn-users] Problems with X windows

root Serge.Coche at free.fr
Mon Jun 21 23:21:39 UTC 2004


Le mar 22/06/2004 à 00:30, santhosh a écrit :
> Hi all,
> 
>                I am a newbie to RH Linux. So bear with me if I am
> talking gibberish. Here is my problem.
> 
>  
> 
>  I have a Linux box with X windows installed on it. I wanted to change
> the hostname of the machine on the network. I did that and after it
> worked, I reverted back to my old settings. Now when I type Xhost + ,
> it is giving me the following error
> 
>  
> 
> Xlib: connection to "localhost:0.0" refused by server
> 
> Xlib: Client is not authorized to connect to Server
> 
> xhost:  unable to open display "localhost:0"
> 
>  
> 
>  
> 
> I checked by typing the commands uname –n, hostname –a etc etc….the
> response are fine…I am getting the localhost.
> 
>  
> 
> Any help is appreciated
> 
>  
> 
>  
> 
> Regards,
> 
> Santhosh  
> 
> 

Have you changed your hostname in /etc/hosts AND in
/etc/sysconfig/network ? (and reboot)

(and in /etc/samba/lmhosts eventually for local networking)


                                                good luck

                                                  Sergio
                                                                                        
> 
> ______________________________________________________________________
> 
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users





More information about the rhn-users mailing list