Dale wrote:
On Friday 13 January 2006 05:58, Holly Bostick wrote:

Kill those, and  Mozilla may well start. Whether your problem will
be solved is another question, but we'll come to that, if not.


HTH, Holly


That would make sense.  I killed the processes that were running and
still get this:

Oy, I see it now. The problem is here

[EMAIL PROTECTED] / # su dale

When you su, the X server is refusing to allow the user (dale) to
connect to the running X server (which is owned by root).

Now the solution for this is something that I normally do in the other
direction (to allow root to connect to the user's X server); and while
I'm sure it will work in reverse, I myself wouldn't suggest it since I
don't necessarily want to impinge on user privilege separation if the
base user in question is root.

So what I would say is firstly why are you running as root and su-ing to
a user, rather than running as a user and su-ing to root, since there's
no reason whatsoever to do it this way (it's certainly not more secure,
in fact, much less so afaics).

Secondly, does Mozilla open as the user logged in (whether that's root
or dale)

But anyway, what you need to do, iirc, is to copy ~/.Xauthority from the
logged-in user's HOME folder to the folder of the user who is the target
of su-- normally root, so this would mean copying from Dale's home to
/root... but you're running as root, and I just don't like the idea of
copying .Xauthority from the /root folder to dale's HOME.

So I would suggest running as a user and copying the file from dale's
home to /root, after which root should not receive this error (if in
fact su-ing to root and running Mozilla does in fact generate this
error, which it may very well not).

HTH,
Holly
--
gentoo-user@gentoo.org mailing list

Reply via email to