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



On Saturday 20 October 2007 02:01, Ryo Furue wrote:
Hi KDEers,

| > Thanks for that other option Ryo. Do those commands provide a
| > permanent change, that hold up after a logout/login, or reboot?
|
| I better let Ryo comment on this one :)

Um, I'm not 100% sure, but the change isn't permanent.
It seems that the setting done by xauth becomes invalid
after the root logs out:

$ su -
# xauth merge ~username/.Xauthority
# DISPLAY=:0.0
# export DISPLAY
. . .
# exit
$

Then, the xauth setting for the root is gone.
("$" is the shell prompt as a normal user
and "#" is the root's prompt.)

This is based on my experience. A more convincing
answer would require some reading.

Cheers,
Ryo

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.

The answer I got back from the Archlinux forum, was that Konsole as default
was not able to start xapps as root, but no way to change this behaviour was
offered.

I may have to ask on the xorg list, and try and find out which xfile the
Archlinux guys have messed with to stop Konsole as default starting xapps
when su'ed to root.

Thanks to You and Kevin 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: Wie sicher ist X?
    ... Konsole jemand eingeloggt ist, bevor man sich als Root einloggt. ... > - Keyboardlayout zurücksetzt ... > - Bildschirmmodus zurücksetzt ...
    (de.comp.os.unix.x11)
  • Re: [kde] Help: have system bell as root, but not as user
    ... The root konsole that beeps is launched with an applet defined by myself, ... with command kdesu konsole; so, after introducing the password in kdesu, I ...
    (KDE)
  • Re: kdesu problem
    ... or a normal konsole sudo command ... I have a sudoers file which works fine: It's working on konsole sessions ... Forcing on a konsole kdesu -u root -c ...
    (alt.os.linux.suse)
  • Re: [SLE] Permission question
    ... Konsole is owned by root, ... Use the command kdesu. ... This will open a new konsole window with a root prompt. ...
    (SuSE)
  • Re: [SLE] X server Problem (I think)
    ... But is a protection system of Xserver ... You cannot use bash or konsole as root and try to use your user Xserver. ...
    (SuSE)