[Gllug] Running X apps as root in Debian
Paul Brazier
pbrazier at cosmos-uk.co.uk
Thu May 2 07:25:37 UTC 2002
I'm setting up a "user-friendly" desktop to be usable by someone
non-computer literate (out with vim, emacs, mutt, etc., in with Mozilla,
Abiword, Nautilus, xmms, etc.)
I'm trying to install Enigmail http://enigmail.mozdev.org/ in order to
integrate GPG with Mozilla-Mail.
but the installer on the website requires that you be running Mozilla
with root privileges.
and Debian won't allow root to run X apps:
> # mozilla
> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
> Gtk-WARNING **: cannot open display: :0
I could look into installing the xpi files by hand, but is there an easy
way to briefly allow root to run X apps so I can install enigmail? (I
know, security risk to allow remote scripts to run as root, etc.)
I've tried some suggestions like:
xhost +localhost
and
export XAUTHORITY='/home/login_name/.Xauthority'
but no luck.
--
Paul
***********************************************************************
Notice
This e-mail may contain information that is privileged, confidential or
otherwise protected from disclosure. It must not be used by, or its
contents copied or disclosed to persons other than the intended
recipient. Any liability (in negligence or otherwise) arising from any
third party acting, or refraining from acting, on any information
contained in this e-mail is excluded. If you have received this e-mail
in error please notify our Systems Administrator on 020 8695 4111 and
delete the e-mail.
Warning
It is the responsibility of the recipient to ensure that the onward
transmission, opening or use of this message and any attachments will
not adversely affect its systems or data. Please carry out such virus
and other checks as you consider appropriate. No responsibility is
accepted by Cosmos PLC in this regard.
***********************************************************************
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list