[FreeNX-kNX] user root cannot be used as an nx user

Kurt Pfeifle k1pfeifle at gmx.net
Mon Jun 25 14:05:28 UTC 2007

Sylviane Molinet wrote:

> could you help me to configure nxserver allowing connection as root ?

I can not think of any reason why someone should need to connect to
and run a complete remote desktop session as root. It opens up so many
more loopholes for attacks by evildoers, you know.

> thanks in advance for your suggestion

My suggestion is this: connect as a normal user to your desktop.

Now, for whatever you want to do as root, simply run a terminal
application (in KDE this would be "konsole"). In the terminal window
use "sudo" or "su -c" to run a command as root, or "su" to become
root. If you need to run any GUI program as root, use "kdesu" (if
you're in KDE). Example:

   "kdesu gimp"    #(where gimp not even is a KDE program!)

In Gnome use "gnomesu".

More information about the FreeNX-kNX mailing list