![](https://seccdn.libravatar.org/avatar/090a3b817d75458054261e24c67d675c.jpg?s=120&d=mm&r=g)
On Thu, 27 Dec 2001, Thomas Bishop wrote:
On Thursday 27 December 2001 09:44 pm, Matt Mendelow wrote:
Scenario:
I became su, and launched Mozilla's installer via the command ./Mozilla-installer. I get the following errors:
Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server
Matt
Type (as user) xhost + <enter> This will anyone to connect to the Xserver. Now you can su and call up any app you want.
DANGER! DANGER! Will Robinson. That command will also allow anyone, anywhere with IP access to your machine to direct X output to your display. There are people out there who find it cute to launch xroach (or worse) on any open X server they encounter. I suggest instead using 'sux -' where you used 'su'. This will act like 'su', but also grant X priviledges to that session *only*. Welcome to the world of Linux, where there as many ways of accomplishing a task as there are people to recommend them to you! And the amazing thing is: they all work! -- Rick Green "They that can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety." -Benjamin Franklin