Re: [kde] Konsole unable to start xapps as root in Archlinux



On Saturday 20 October 2007 03:52, Ryo Furue wrote:
Hi Nigel,

| Hi Ryo. I'm really trying to find what the Archlinux guys have done
| so that KDE's Konsole cannot open Xapps when su'ed to root.
|
| I've no problem on my Fedora, and Debian installs. I can su to root on
| Konsole, and open kwrite, kate, gedit, synaptic, and you name it.

That's interesting. (Sorry I didn't read your previous messages
carefully and didn't realize that that was what you are really trying
to solve.)

It's interesting, because I'm using the testing distribution of
Debian, and I can NOT su to root and open kwrite, kate, or and GUI
program, without the xauth trick I mentioned.

So, I'm really curious why you can do that on your Fedora
and YOUR Debian.

I understand that this is off topic for this KDE forum,
but if you find any clue, I'd appreciate it if you forward
it to me (or us).

Cheers,
Ryo

Hi Ryo.
Well I remember ages ago having this same problem on a distro, and having
resolved it. Looking back through all my notes, and Doh, I see it was on
Debian. The fix I got was to add the following to /root/.bashrc
export XAUTHORITY=/home/<username>/.Xauthority

That made a permanent change, and I could now start Xapps as root on my Debian
installs.

Fedora though is different, and I've always been able to start Xapps as root
from Konsole. That's on all Fedora versions from FC1 through to Fedora 7. I
looked in /root/.bashrc, and there's nothing there to indicate some default
setup to allow this.

Anyway, I'll try that one liner in /root/.bashrc on Archlinux, that works on
my Debian installs as a permanent fix.

Thanks for your help.

Nigel.

___________________________________________________
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.



Relevant Pages

  • Re: Advanced learning of GNU/Linux advice
    ... Tracking snapshots of something someone isn't and repackaging it regularly as RPMs (for Mand*, *SUSE*, Fedora an RHEL) might be an interesting project. ... You'd start from existing packaging, and choose something less complicated than all of KDE. ... I don't know whether Fedora has an official mentoring program (Debian does), but someone would get the idea. ... On his return, he offered employment to some he felt distinguished themselves, and from there came Ubuntu. ...
    (Fedora)
  • Re:Deploring *nix Philosophy
    ... > our different understanding of 'Desktop Installation'. ... > accounts for different family members and root account is managed by the ... initially invest in a fedora bible of sorts. ... bring the complexity or power of the OS down to the level of a windows ...
    (Fedora)
  • Switching to Debian (from Fedora)
    ... i've been running Fedora linux for about 3 years now but... ... installed Debian Sarge on an old Pentium 3 machine with 128 MB of RAM. ... * kernel 2.4.27 was installed in my box. ... i had no problems with this hw before while installing Fedora ...
    (Debian-User)
  • Re: FC7 user dead
    ... what is strange is that if I log as root I find many processes still ... Fedora 7 unusable. ... X/Gnome simply will not complete it's ... livna's kmod-nvidia*, and with varying levels of customization to my ...
    (Fedora)
  • Re: FC6(working su -) vs Centos5(failing su -)
    ... Right now I've been running Fedora releases for my home server, but keeping up with release cycles are too hard to do, especially when they usually coincide with me being in school. ... -' again to root, I am prompted for the password, and once entered, I'm root again. ... If I try the same technique when logging into the system as justin through ssh, I'm not allowed to `su -' to root. ... If you need any more information, I'll be happy to provide logs or configuration files. ...
    (Fedora)