NoMachine Support

Your questions answered

Knowledge Base

Searching in: Articles & FAQs
Filter the search results
Applies to:
Last update:
Searching in: Articles & FAQs
ID: AR06D00398
Applies to: NX Software
Added on: 2006-06-23
Last update: 2011-03-31
What to do if running a KDE session fails with the error 'Cannot run startkde'

After connecting to NX Server, and authentication is passed, the GUI startup
may fail if the environment variables on the server side are not properly set.

To launch a desktop session, KDE or GNOME, the corresponding
commands, either startkde or gnome-session must be set in the PATH.

If the command is not available in the PATH, an error message like:

"Cannot run 'startkde'. Please check that the requested application is in
the system PATH and that you have the rights to execute it."

will be displayed.

Whether the PATH is set or not can be checked by executing 'which startkde'
or more generally, 'echo $PATH'.

The correct path must be set in /etc/profile or /etc/csh.login, depending on
the shell the user is using.
Alternatively, the absolute path for startkde can be set in the
CommandStartKDE configuration key in node.cfg.

Likewise, a GNOME session can be started by adding the absolute path to 'gnome-session' in the CommandStartGnome key.