xhost +hostname
export DISPLAY=hostname:0.0


might want to try that
worked for me


> when hitting stuff like this, that used tojust work
> I think i will forever be a newbie
> 
> anyway i can no longer get any response out of xhost
> either as normal user or when su'ing to root
> 
> [byers@byers byers]$ xhost
> access control enabled, only authorized clients can connect
> [byers@byers byers]$ su
> Password:
> [root@byers byers]# xhost
> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
> xhost:  unable to open display ":0.0"
> [root@byers byers]# exit
> [byers@byers byers]$ echo $DISPLAY
> :0.0
> [byers@byers byers]$ su
> Password:
> [root@byers byers]# echo $DISPLAY
> :0.0
> [root@byers byers]#
> 
> at some point in the distant past i amsure iwas able to
> run xhost and see the list of addresses i had set up
> for access, and also to do the +hostname  for adding in new ones
> but now, as you can see above i cant even get in.
> 
> 
> isnt the 0:0  ok for DISPLAY doing stuff locally?
> for some reason i am drawing a complete blank here,
> maybe something i used to do differently.
> 
> 
> a similar response when trying to change an XF86Config file:
> first when trying as normal user emacs opens the file fine but
> says it is write protected which checks.
> [byers@byers X11]$ emacs XF86Confignew &
> [1] 868
> [byers@byers X11]$
> 
> ok so i su
> and try to open the file:
> [byers@byers X11]$ su
> Password:
> [root@byers X11]# emacs XF86Confignew &
> [1] 871
> [root@byers X11]# Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
> emacs: Cannot connect to X server :0.0.
> Check the DISPLAY environment variable or use `-d'.
> Also use the `xhost' program to verify that it is set to permit
> connections from your machine.
> 
> 
> ahh but i cant get xhost program to respond..??????
> 
> 
> thanks for any help
> Jack
> 
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> 
> 
> -- 
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to