VNC server config question: vnc-ltsp-config

General support questions including new installations

VNC server config question: vnc-ltsp-config

Postby ToddAndMargo » 2010/05/08 04:20:11

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-Serve ... 706e896288

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:

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


But 2.6.3. states:

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


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

I am confused.

-T
ToddAndMargo
 
Posts: 393
Joined: 2007/02/20 04:27:08
Location: Milky Way/Sol/Earth/USA/Nevada GMT-8

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

Postby rschmitz » 2010/05/08 14:43:53

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
rschmitz
 
Posts: 29
Joined: 2009/10/03 13:14:21

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

Postby ToddAndMargo » 2010/05/08 21:30:47

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:
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.


This is what I am after.

Security will be handled by OpenVPN.

Many thanks,
-T
ToddAndMargo
 
Posts: 393
Joined: 2007/02/20 04:27:08
Location: Milky Way/Sol/Earth/USA/Nevada GMT-8

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

Postby AlanBartlett » 2010/05/09 13:08:37

Todd -- As you appreciate, being the weekend it is less likely that you will catch either Gerald's or PJ's eye. (The joint authors of the CentOS VNC Server wiki article.) If, in 24 hours, neither have posted (unlikely, considering each of their "track records") then please bump this thread.
User avatar
AlanBartlett
Forum Moderator
 
Posts: 8975
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk

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

Postby ToddAndMargo » 2010/05/25 03:57:02

AlanBartlett wrote:
Todd -- As you appreciate, being the weekend it is less likely that you will catch either Gerald's or PJ's eye. (The joint authors of the CentOS VNC Server wiki article.) If, in 24 hours, neither have posted (unlikely, considering each of their "track records") then please bump this thread.


I am presuming this reply is a bump?
ToddAndMargo
 
Posts: 393
Joined: 2007/02/20 04:27:08
Location: Milky Way/Sol/Earth/USA/Nevada GMT-8

VNC server config question: vnc-ltsp-config

Postby gerald_clark » 2010/05/25 05:35:28

I wrote sections 1-4. I have not tried the other options.
gerald_clark
 
Posts: 7182
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA


Return to CentOS 5 - General Support

Who is online

Users browsing this forum: Bing [Bot] and 3 guests