From kde Thu Oct 18 18:06:01 2007 From: Kevin Krammer Date: Thu, 18 Oct 2007 18:06:01 +0000 To: kde Subject: Re: [kde] Konsole unable to start xapps as root in Archlinux Message-Id: <200710182006.01887.kevin.krammer () gmx ! at> X-MARC-Message: https://marc.info/?l=kde&m=119273120215021 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0816084469==" --===============0816084469== Content-Type: multipart/signed; boundary="nextPart3009369.HWzX6TzP4j"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart3009369.HWzX6TzP4j Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 currently running the X server, a security option since any X11 program whi= ch=20 is allowed to connect can see all input. You can allow such connections explicitly by doing this in a terminal windo= w=20 currently open on the X server, e.g. in Konsole right before you "su" % xhost +local:root Cheers, Kevin =2D-=20 Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring --nextPart3009369.HWzX6TzP4j Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHF6CJnKMhG6pzZJIRAgpNAJ97bku2ueWzgDJYiOx+XeQyKEnFIACePg6s fviURLvCcMeqTjthdzCgGmM= =19T+ -----END PGP SIGNATURE----- --nextPart3009369.HWzX6TzP4j-- --===============0816084469== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________ 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. --===============0816084469==--