Mailinglist Archive: opensuse-bugs (4724 mails)

< Previous Next >
[Bug 450203] [KDE 4.3] File Manager - Super User Mode can't launch KWrite
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 6 Apr 2010 07:35:17 +0000
  • Message-id: <20100406073517.CB947245520@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=450203

http://bugzilla.novell.com/show_bug.cgi?id=450203#c26


--- Comment #26 from Geoff Farrell <gfarrell@xxxxxxxxxxxxxxx> 2010-04-06
07:35:15 UTC ---
There seems to be a simple fix to this problem, suggested by Wilson_Phillips
here:

http://forums.opensuse.org/applications/434206-cannot-open-files-dolphin-superuser.html#post2129001

I can confirm that a file such as this:
[code]
#!/bin/bash
# Allows root to open windows on your display. Example: KWrite and Kate
xhost +local:0
[/code]

when made executable and placed in the user's ~/.kde4/Autostart directory,
fixes the problem cited in this bug, plus that of any other program launching
with root's permission.

The same file, when moved to the /etc/X11/xinit/xinitrc.d/ directory (and
making it root-owned, with permissions 755) also fixes this bug.

The latter location would seem to be the better of the two to use as the
solution.

This would probably be applicable to openSUSE 11.3 as well.

KDE Bugzilla also has a similar bug in #190532.

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >