Usage of KDE su is easy. The syntax is like this:
kdesu [USER] [-n] [-t] [-q] [-d] [-f FILE] [-c [ COMMAND [ARG1] [ARG2] [...] ] ]
kdesu [-v | -h | -s]
The command line options are explained below.
This specifies the program to run as root. It has to be passed in one argument. So if, for example, you want to start a new file manager, you would enter at the prompt: kdesu -c kfm -sw
This option allow efficient use of KDE su in .desktop files. It tells KDE su to examine the file specified by FILE. If this file is writable by the current user, KDE su will execute the command as the current user. If it is not writable, the command is executed as user USER (defaults to root).
FILE is evaluated like this: if FILE starts with a "/", it is taken as an absolute filename. Otherwise, it is taken as the name of a global KDE configuration file. For example: to configure the K display manager, kdm, you could issue kdesu -c kdmconfig -f kdmrc
Enable terminal output. This disables password keeping. This is largely for debugging purposes; if you want to run a console mode app, use the standard "su" instead.
Do not keep the password. This disables the "keep password" checkbox in the password dialog.
Be quiet.
Show debug information.
Print version information and exit.
Print some help.
Stop the kdesu daemon. See Section 5.4.