On Tue, Sep 09, 2003 at 11:44:22PM -0400, ScruLoose wrote: > > 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. > > Xlib: connection to ":0.0" refused by server > Xlib: Client is not authorized to connect to Server
Okay, got a few different suggestions on this. Here are my results: xrdb -merge ~<xserver-user>/.xauthority executed silently, had no impact on my situation. (I tried it before Vineet posted the correction below) xauth -merge ~<xserver-user>/.xauthority gave me a usage message, so I did: xauth merge ~<xserver-user>/.xauthority which executed silently, but had no apparent effect. Got a suggestion off-list saying to set up x-forwarding in ssh, but that seems like unnecessary use of resources (why encrypt traffic that's not leaving my local machine?) But... xhost +local: did exactly what I wanted. So now I'm left wondering why it is that xhost is inherently evil, and just how evil... (Is it worth the research it'll take me to figure out what xauth is all about and make *it* work?) 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. | < `-------------------------------------------------------------------------'
pgp00000.pgp
Description: PGP signature