Mailinglist Archive: opensuse-kde (310 mails)

< Previous Next >
Konq & Launching Progs as Root
  • From: AnonymousCoward <quantum@xxxxxxxxxxx>
  • Date: Thu, 2 May 2002 22:22:12 -0500
  • Message-id: <200205022221.49327.quantum@xxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

.
Running Suse8 with all current updates. It has always been my practice to
run as a user, and to invoke Konq & Konsole in superuser mode when I need
them thus.

But with Suse8 I can no longer (as a user) launch X-based programs su from
these windows. Logged in as root I can, but not when as a user and launching
from these programs as superuser. For instance in Konq I cannot
right-click|OpenWith|AdvancedEditor a file:

"KDEInit could not launch 'kwrite'".

I can read it in the embedded viewer, but it will not launch.

In konsole:

hydra@hydra:/opt/kde3/bin$ sux -c ./konqueror root
Password:
mcop warning: user defined signal handler found for SIG_PIPE, overriding
/tmp/mcop-hydra is not owned by user
zone still contained 3 blocks
hydra@hydra:/opt/kde3/bin$

{Helpful, isn't it? mcop-hydra IS owned by hydra:users}
And in konsolesu # konqueror I get:

hydra:/opt/kde3/bin # ./konqueror
mcop warning: user defined signal handler found for SIG_PIPE, overriding
/tmp/mcop-hydra is not owned by user
zone still contained 3 blocks
hydra:/opt/kde3/bin #

Maybe this is a security issue. Maybe the X server is intentionally disabled
from accepting root commands from a user. (unlikely tho) Or maybe it's one
missing setup step. I had a number of files with invalid user:group
(65536:65536) but I think I fixed them all.

Is anyone else seeing this? Anyone know the answer?
- - --
Manual, n.:
A unit of documentation. There are always three or more on a
given item. One is on the shelf; someone has the others. The
information you need in in the others.
-- Ray Simard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE80gJknQ18+PFcZJsRAgFgAJ9No/XaGTxRSE4i1QBax2WKRi6ZSgCfWfG5
HOrnILOLT3Tt3w2by7zVtcA=
=wz7B
-----END PGP SIGNATURE-----


< Previous Next >
Follow Ups