NX Client connects to Ubuntu server,but fails to display KDE (GUI)

I have an Ubuntu server running freenx server 0.7.3 in a KDE environment and the NX client is installed on a Windows 7 machine. When I try to connect to the server as the primary user I created using the NX Client, the user is authenticated using the default key and the session information is downloaded.  After the connection is established, the black parent window along with the Terminal window pops up. The GUI(KDE) is not displayed.

My question is what are the configuration changes to be done in order to display the GUI (KDE) or any other libraries to be added to the freenx server? “
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You have to tell the freenx server to actually launch a window manager when it starts up, otherwise it will just give you a basic X-windows display.

If you already have KDE running on the Ubuntu server, and you want to attach to that RUNNING KDE (not open a new session) then I suggest you get x11vnc.  This can be started up in an ssh session on the server, and then you simply connect from the client via any free vncviewer client.

If you want to run a fully new instance of the graphical environment in the NX server, then you will need to find its startup rc file and tell it to exec the "startkde" script when it fires up.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ictr-riAuthor Commented:
Thank You for your reply! When the Basic X-Window along with the terminal window pops up, every time I have to type the command “startkde” in the terminal to get the KDE.

Also I made the changes in the node.conf file i.e COMMAND_START_KDE=’/usr/bin/startkde’ to execute the KDE when it starts. But still I am not able to get the KDE automatically.

Is there any specific configuration file that needs to be changed to start the KDE automatically?
Can you please attach the NX log file so we can see if its even trying to launch it?  Use the "file" link below the text entry box.
ictr-riAuthor Commented:
Needs more troubleshooting.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.