Konsole unable to start xapps as root in Archlinux
Kevin Krammer
kevin.krammer at gmx.at
Thu Oct 18 19:06:01 BST 2007
On Thursday 18 October 2007, Nigel Henry wrote:
> I have no problem starting xapps in Konsole, while su'ed to root on my
> Fedora, and Debian installs, but am having a problem with Archlinux.
>
> Apparently the default behaviour of Konsole in Archlinux is to deny the
> starting of xapps, but I can't see where this default setting is to be
> found
>
> Kwrite for example will open, if started as user in Konsole, but not when
> su'ed to root. this is the output when trying to open Kwrite as root.
>
> Xlib: connection to ":0 . 0" refused by server
> Xlib: No protocol specified
The X server is rejecting connectings from a user which is not the one
currently running the X server, a security option since any X11 program which
is allowed to connect can see all input.
You can allow such connections explicitly by doing this in a terminal window
currently open on the X server, e.g. in Konsole right before you "su"
% xhost +local:root
Cheers,
Kevin
--
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde/attachments/20071018/aec8dcc6/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list