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

Re: X Server Client Refusal?



On Mon, 29 Sep 1997, Victor Torrico wrote:

> When running as root or su applications are refused permission to run.  The
> following error message appears:
> 
> vct# nedit
> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
> NEdit: Can't open display
> vct# 
> 
> The applications run fine when logged in as a regular user, however,

That's because if you startx as a normal user,  only that normal user is
authorized to connect to that xsession,  unless you do something like
xhost + (which disables ALL access control,  not a good idea).  It seems
that in this one regard the superuser is treated like a normal user by X
and required to have xauth permission to connect.

                     					Will

			        harpo@udel.edu
			       lowe@cis.udel.edu
			http://www.cis.udel.edu/~lowe/
*****************************************************************************
Good Idea: 	Feeding Stray Cats in the Park.
Bad Idea:	Feeding Stray Cats in the park ... to a bear.
***************************************************************************** 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: