[arch-general] Which security setting in Arch prevents forwarding X apps when su root?

Eric Bélanger snowmaniscool at gmail.com
Thu Oct 8 01:23:02 EDT 2009


On Thu, Oct 8, 2009 at 12:32 AM, David C. Rankin
<drankinatty at suddenlinkmail.com> wrote:
> Listmates,
>
> Which setting in Arch prevents forwarding apps when you ssh -X in an Arch box,
> su and then try to start a kde app, etc.? X forwarding works just fine as a
> user, but when trying it su'ed to root, I get the following error:
>
> [23:29 archangel:/etc] # kwrite
> X11 connection rejected because of wrong authentication.
> kwrite: cannot connect to X server localhost:10.0
>
> kdm config? X config? Any pointers/links would be appreciated.
>

You don't need to use su.  Instead, use tools like kdesu or gksu to
use X apps as root:
$ kdesu kwrite


More information about the arch-general mailing list