[SOLVED] - kdesu doesn't work

I installed package 'sudo' and this works fine at user terminal (after amending /etc/sudoers).
However, to use gui apps (like kwrite or kate), command 'kdesu' does not work (I assume neither would gksu, but I don't use gnome).
If I use only 'sudo' for gui, eg., I get
Also checked that I have kdebase4 installed.
How can I get kdesu to work? Thanks.
ps: I'm on m3b4, but I don't suppose that makes any difference (but systemd...?).
However, to use gui apps (like kwrite or kate), command 'kdesu' does not work (I assume neither would gksu, but I don't use gnome).
- Code: Select all
bash: kdesu: command not found
If I use only 'sudo' for gui, eg., I get
- Code: Select all
$ sudo kwrite /boot/grub2/custom.cfg
[sudo] password for .......
No protocol specified
kwrite: cannot connect to X server :0
Also checked that I have kdebase4 installed.
How can I get kdesu to work? Thanks.
ps: I'm on m3b4, but I don't suppose that makes any difference (but systemd...?).