Re: Which security setting in Arch prevents forwarding X apps when su root?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Oct 8, 2009 at 12:32 AM, David C. Rankin
<drankinatty@xxxxxxxxxxxxxxxxxx> 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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux