On 28/12/11 13:11, Tony van der Hoff wrote:
On 28/12/11 12:39, Tony van der Hoff wrote:
On 28/12/11 11:00, Lisi wrote:
On Wednesday 28 December 2011 10:11:21 Tony van der Hoff wrote:
However, kdesu doesn't seem to appear in the standard squeeze
repositories; any clues as to where to find it?

It's part of KDE and Trinity. There is also gksu for Gnome.

Many thanks for the tip, Lisi.

Still can't find kdesu, but gksu works fine, and lets me edit files with
root privs.

Bah, spoke too soon!
It worked the first time, but now it crashes with message:

tony@tony-lx:~$ gksu dolphin /etc
dolphin(15177) KXMLGUI::ActionList::plug: Index 13 is not within range
(0 - 9
WARNING: deleting stale lockfile /root/.kde/share/config/dolphinrc.lock

Found kdesu, though; it's at
/usr/lib/kde4/libexec/kdesu

Which didn't help the problem in hand.

However, More googling revealed
$xhost local:
to allow any user on the local machine (in particular, root) access to the X-server.

Lo and behold, having done this, putting "dolphin /etc" in the kde menu, with "run as different user" ticked, causes Dolphin to run as superuser, and clicking on a file name opens that file in kwrite, with superuser privs.

Wheyhey!

--
Tony van der Hoff        | mailto:t...@vanderhoff.org
Buckinghamshire, England |


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4efb1cb2.8030...@vanderhoff.org

Reply via email to