[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xhost +localhost has no effect



Hey folks,

So I want to log in to X as one regular (non-root) user, and then allow
a different regular user to run X apps.

After getting this error:
  Xlib: connection to ":0.0" refused by server
  Xlib: Client is not authorized to connect to Server
I googled it and found lots of hits, all saying to use "xhost
+localhost" to allow me to do what I want.

Problem is, after an "xhost +localhost", I get the same result (even
though it claims "localhost being added to access control list").
xhost with no parameters returns "INET:shorty.ca" which is indeed my
local domain, but still I get the connection refused error...

If I do "xhost +", then it disables access control, and I can do what I
want, but naturally this makes me very nervous, so I don't regard it as
a solution.

Any suggestions?

	Thanks.
-- 
,-------------------------------------------------------------------------.
>   -ScruLoose-   |  Reporter: What do you think of western civilization? <
>  Please do not  |       Ghandi:   I think it would be a good idea.      <
> reply off-list. |                                                       <
`-------------------------------------------------------------------------'

Attachment: pgpgj8gt5EKwF.pgp
Description: PGP signature


Reply to: