Xlib: connection to a217447d.abc.com:0.0 refused by server
Hi, I have one solaris box which isn't able to run X client apps on my PC running XFree86 eventhough I've done an 'xhost +'. Other boxes can connect to me with no problem. Everytime I try to run something like xclock I get: $ xclock Xlib: connection to a217447d.abc.com:0.0 refused by server Xlib: No protocol specified Error: Can't open display: a217447d.abc.com:0 $ Xwin.log says: AUDIT: Wed Dec 4 15:22:11 2002: 1504 xwin: client 1 rejected from IP 164.52.227.249 port 42421 I've tried deleting the .Xauthority file in my home directory on the solaris box but this doesn't seem to have made any difference. Is there anything else I should try? Thanks, JS. _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
Re: Xlib: connection to a217447d.abc.com:0.0 refused by server
JS, Run: xhost 164.52.227.249 I won't guarantee that it will work, but you should certainly try it. Harold J S wrote: Hi, I have one solaris box which isn't able to run X client apps on my PC running XFree86 eventhough I've done an 'xhost +'. Other boxes can connect to me with no problem. Everytime I try to run something like xclock I get: $ xclock Xlib: connection to a217447d.abc.com:0.0 refused by server Xlib: No protocol specified Error: Can't open display: a217447d.abc.com:0 $ Xwin.log says: AUDIT: Wed Dec 4 15:22:11 2002: 1504 xwin: client 1 rejected from IP 164.52.227.249 port 42421 I've tried deleting the .Xauthority file in my home directory on the solaris box but this doesn't seem to have made any difference. Is there anything else I should try? Thanks, JS. _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
Re: Xlib: connection to a217447d.abc.com:0.0 refused by server
Thanks, I tried that, but still no luck. JS, Run: xhost 164.52.227.249 I won't guarantee that it will work, but you should certainly try it. Harold J S wrote: Hi, I have one solaris box which isn't able to run X client apps on my PC running XFree86 eventhough I've done an 'xhost +'. Other boxes can connect to me with no problem. Everytime I try to run something like xclock I get: $ xclock Xlib: connection to a217447d.abc.com:0.0 refused by server Xlib: No protocol specified Error: Can't open display: a217447d.abc.com:0 $ Xwin.log says: AUDIT: Wed Dec 4 15:22:11 2002: 1504 xwin: client 1 rejected from IP 164.52.227.249 port 42421 I've tried deleting the .Xauthority file in my home directory on the solaris box but this doesn't seem to have made any difference. Is there anything else I should try? Thanks, JS. _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
Re: Xlib: connection to a217447d.abc.com:0.0 refused by server
I'm doing xwin xhost + Then, after setting my DISPLAY, running xclock. However if I run the window manager the xclock is displayed. JS, Run: xhost 164.52.227.249 I won't guarantee that it will work, but you should certainly try it. Harold J S wrote: Hi, I have one solaris box which isn't able to run X client apps on my PC running XFree86 eventhough I've done an 'xhost +'. Other boxes can connect to me with no problem. Everytime I try to run something like xclock I get: $ xclock Xlib: connection to a217447d.abc.com:0.0 refused by server Xlib: No protocol specified Error: Can't open display: a217447d.abc.com:0 $ Xwin.log says: AUDIT: Wed Dec 4 15:22:11 2002: 1504 xwin: client 1 rejected from IP 164.52.227.249 port 42421 I've tried deleting the .Xauthority file in my home directory on the solaris box but this doesn't seem to have made any difference. Is there anything else I should try? Thanks, JS. _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail
Re: Xlib: connection to a217447d.abc.com:0.0 refused by server
Hmm... I think you might have to set DISPLAY before running ``xhost +''. That seems to be your problem. Remember, xhost is an X Client, so it has to know what display it is trying to set the security for. Harold J S wrote: I'm doing xwin xhost + Then, after setting my DISPLAY, running xclock. However if I run the window manager the xclock is displayed. JS, Run: xhost 164.52.227.249 I won't guarantee that it will work, but you should certainly try it. Harold J S wrote: Hi, I have one solaris box which isn't able to run X client apps on my PC running XFree86 eventhough I've done an 'xhost +'. Other boxes can connect to me with no problem. Everytime I try to run something like xclock I get: $ xclock Xlib: connection to a217447d.abc.com:0.0 refused by server Xlib: No protocol specified Error: Can't open display: a217447d.abc.com:0 $ Xwin.log says: AUDIT: Wed Dec 4 15:22:11 2002: 1504 xwin: client 1 rejected from IP 164.52.227.249 port 42421 I've tried deleting the .Xauthority file in my home directory on the solaris box but this doesn't seem to have made any difference. Is there anything else I should try? Thanks, JS. _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail
Re: Xlib: connection to a217447d.abc.com:0.0 refused by server
On Wed, 4 Dec 2002, J S wrote: I'm doing xwin xhost + Then, after setting my DISPLAY, running xclock. However if I run the window manager the xclock is displayed. This is a known problem. After the the client disconnects from the server, it is reset. Since xhost the only client, the xserver will right after xhost finished reset again and also reset the xhost settings. You can avoid this by always having another client connected (eg a local window manager, or a xterm) and then do host +. Or you can switch off the accesscontrol at startup by adding the -ac parameter to the XWin commandline. Security note: I do not recomend xhost + and the -ac parameter since they completely turn off the access control. Anybody on the network is then able to connect to your Xserver and may run programs which trace all keyboard input (think of secret passwords). The much better solution is starting a local ssh client with X-Forwarding DISPLAY=127.0.0.1 ssh -X remotehost and use the _encrypted_ X11 tunnel of ssh. ssh will do all things needed for correct access control bye ago
Re: Xlib: connection to a217447d.abc.com:0.0 refused by server
Thanks Alex, that's fixed it! On Wed, 4 Dec 2002, J S wrote: I'm doing xwin xhost + Then, after setting my DISPLAY, running xclock. However if I run the window manager the xclock is displayed. This is a known problem. After the the client disconnects from the server, it is reset. Since xhost the only client, the xserver will right after xhost finished reset again and also reset the xhost settings. You can avoid this by always having another client connected (eg a local window manager, or a xterm) and then do host +. Or you can switch off the accesscontrol at startup by adding the -ac parameter to the XWin commandline. Security note: I do not recomend xhost + and the -ac parameter since they completely turn off the access control. Anybody on the network is then able to connect to your Xserver and may run programs which trace all keyboard input (think of secret passwords). The much better solution is starting a local ssh client with X-Forwarding DISPLAY=127.0.0.1 ssh -X remotehost and use the _encrypted_ X11 tunnel of ssh. ssh will do all things needed for correct access control bye ago _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail