[SunRescue] Dumb question of the week

Kurt Mosiejczuk rescue at sunhelp.org
Tue Mar 13 08:37:13 CST 2001


On Mon, 12 Mar 2001, Stefan Hames wrote:

> I'm running Solaris 7 on my SS5/170 as a regular user, not root.  I
> tried to run ArcView on the same machine and got an error message
> instead:
>
> redtail% arcview
> [1] 3348
> redtail% Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server

Not really a dumb question.  My first question is who are you logged
in as?  i.e.  Who started the X server?

I'm betting root did.  It's coincidental that root works, it's not
a superuser thing, it's X permissions (xauth).

The quick easy workaround is "xhost +localhost".  But this allows
ANY user on the local box to throw things at your screen.  As one
who participated in X "fights" back in college, I can say this leaves
you open a bit.  The better way to fix it is to look at the man page
to xauth, since I still don't understand the better way =)

--Kurt




More information about the rescue mailing list