Page 1 of 1

VNC server config question: vnc-ltsp-config

Posted: 2010/05/08 04:20:11
by ToddAndMargo
Hi All,

I have been reading through http://wiki.centos.org/HowTos/VNC-Server

I like the no. 5 option: Remote login with vnc-ltsp-config
http://wiki.centos.org/HowTos/VNC-Server#head-590bc681fe9ae3aeff8f5745860352706e896288

I am confused. If I want the #5 option, do I still have to do all the configuration in sections 1 and 2? Section 5 sounds like I do not need 1 & 2. Section 5 states:

[quote]Also, no pre-thought for user setup is needed (eg skip all of the manual individual user setup for vnc-server). [/quote]

But 2.6.3. states:

[quote]For basic VNC configuration the procedure is now complete. The following sections are optional refinements to enhance security and functionality.[/quote]

So one the other hand, it sounds like I do need sections 1 & 2.

I am confused.

-T

Re: VNC server config question: vnc-ltsp-config

Posted: 2010/05/08 14:43:53
by rschmitz
A suggestion I would make if you want a secure remote desktop would be to use freenx server. It is built in allready in centos. it is very fast and runs securely through ssh port 22. I haven't used VNC in years.

1. install freenx

yum install freenx

2. Now you need to get the key for the client to acess the server. you won't be abl to connect with an nxclient unless you have the client.id_dsa.key

By default the key on centos is located here.

/etc/nxserver/client.id_dsa.key

it will look something like this>

-----BEGIN DSA PRIVATE KEY-----
MIIBuwIBAAKBgQDGznKVk6SwT2NxdoDV6DrxLnYCTB9WfQ0e0cGCu8uWG1vrZLWn
eRZsi8xQJIV9aabZbsn8M34gg2FNtXLq8nBBqm7+rj9qCrIi5JfCP+xqsyZHuK
YlqJDumAJf9sRp2FYoY7HWcNOS9HIdeCc99cU9NflPMWJ6689RWCkbQIVAO+s
/4ZlyRcZwQlhhhhHQz5wHAaRdGiHAoGBALXMYJ+I/MCLrZV/gQSXRB3aAulLyk24e6HD
BQ7w3F4Tfams9dvDbjm7K8f+kc1nXBQjTMbB7GpOZhI97kXpm4j1Clpf/B6XIdi9
vBX/KuB6Vox4935SfSG29A2IX56bPtBveVJ9AXnLsuKrthpjWnkc5AKkoK790a9o
RLX6oTylAoGAIZerJ8WKIQIjrzik0pcH6AsseUhbxgHuFxLn2/1PGq+XkSWPV5KC
QHil5y9Z/apm0KJ5pA4SFyWfkRKGotm18Kmz/5Dv8E/Hm1qoKGS6ZiOrwYniDsFd
v1WPA40v6NGuClHiJgJiWdiLf8urDviT8ruwWN+If/pZxS+UTFciPGMCFDmahqZ+
pXcR0P/7eTV29tsUzUN8
-----END DSA PRIVATE KEY-----


copy the contents of this text file to your client. I am going to assume it is a ms windows client.

To get the contents of this file it is easiest to use a client like WINSCP to get it.

http://winscp.net/eng/download.php

in winscp go to this file

/etc/nxserver/client.id_dsa.key

and copy it your windows desktop.


3. install free nomachine nxclient for ms windows

http://www.nomachine.com/download-client-windows.php

4. in the configure button under the Key button you can paste the contents of the client.id_dsa.key we worked with above into this field.

5. logout of your server if you are in there as root & login to your desktop as root with nomachine client.

Done


more info here: http://wiki.centos.org/HowTos/FreeNX

Re: VNC server config question: vnc-ltsp-config

Posted: 2010/05/08 21:30:47
by ToddAndMargo
Hi Rschmitz,

What a wonderful write up. Thank you!

Unfortunately, I have tried No Machine/FreeNX and have not had much luck with it. 1) the server portion eat an entire core sitting idle doing nothing (good thing it is not multithreaded when it is idle) 2) the client is not friendly with Xfce, and 3) it required an intense amount of fuzzing (Xfce) on the client to get it to work correctly.

The VNC solution is where I am headed. From section 5 in the HowTo:
[quote] A major advantage of using the vnc-ltsp-config setup is the reduction of system resource utilization compared to the standard "per-user setup". No user processes will be started or memory consumed until a user actually logs into the system.[/quote]

This is what I am after.

Security will be handled by OpenVPN.

Many thanks,
-T

Re: VNC server config question: vnc-ltsp-config

Posted: 2010/05/09 13:08:37
by AlanBartlett
[b]Todd[/b] -- As you appreciate, being the weekend it is less likely that you will catch either [b]Gerald[/b]'s or [b]PJ[/b]'s eye. (The joint authors of the [i]CentOS[/i] [url=http://wiki.centos.org/HowTos/VNC-Server]VNC Server[/url] wiki article.) If, in 24 hours, neither have posted (unlikely, considering each of their "track records") then please bump this thread.

Re: VNC server config question: vnc-ltsp-config

Posted: 2010/05/25 03:57:02
by ToddAndMargo
[quote]
AlanBartlett wrote:
[b]Todd[/b] -- As you appreciate, being the weekend it is less likely that you will catch either [b]Gerald[/b]'s or [b]PJ[/b]'s eye. (The joint authors of the [i]CentOS[/i] [url=http://wiki.centos.org/HowTos/VNC-Server]VNC Server[/url] wiki article.) If, in 24 hours, neither have posted (unlikely, considering each of their "track records") then please bump this thread.[/quote]

I am presuming this reply is a bump?

VNC server config question: vnc-ltsp-config

Posted: 2010/05/25 05:35:28
by gerald_clark
I wrote sections 1-4. I have not tried the other options.