Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!rutgers!apple!bbn!husc6!endor!kochhar From: kochhar@endor.harvard.edu (Sandeep Kochhar) Newsgroups: comp.windows.x Subject: Re: Server not authorized. Novice question Message-ID: <789@husc6.harvard.edu> Date: 8 Dec 88 19:17:34 GMT References: <783@m10ux.UUCP> Sender: news@husc6.harvard.edu Reply-To: kochhar@endor.UUCP (Sandeep Kochhar) Organization: Aiken Computation Lab Harvard, Cambridge, MA Lines: 26 In article <783@m10ux.UUCP> rgr@m10ux.UUCP (Duke Robillard) writes: > >Here's a novice X question: > > whenever I try to start a client on a remote machine (e.g. >my server is running on one sun, I rlogin to another and try >to run emacs or xclock or xeyes), I get an error message of >the form: > > Server is not authorized to connect to host > >my DISPLAY is set correctly. I suspect that some system-ish >protection or something is wrong (maybe with xterm? I dunno). >Does anyone have any advice? It seems that you need to use the "xhost" command. The simple fix would be for you to type "xhost +", where is the name of the machine from which you are trying to connect, or "xhost +" to allow anyone to connect; however, to find out how to avoid doing this every time, you should look at the xhost man page. thanks. sandeep kochhar email: kochhar@harvard.harvard.edu