--------------------------------------------------------------------
Host OS: Windows 7.
Guest OS: centos 5.7
Virtual Machine: VMWare Player 4 build.
Connection Type: Nat
--------------------------------------------------------------------
Putty: http://www.chiark.greenend.org.uk /~ Sgtatham/Putty/download.html
It seems that centos installation supports SSH Login. Of course, do not forget to check whether SELinux trusts the SSH service.
# Setup
|-Firewall configuration-> Customize-> allow incoming: SSH (selected)
Start putty directly and enter the guestos IP address. Port: 22. log on.
PS:
1. supported Chinese characters: putty configuration-> window-> appearance-> font settins-> change-> New
2. Translation> Character Set translation> remote character set> UTF-8
Certificate ------------------------------------------------------------------------------------------------------------------------------------------------------------------
Xming: http://sourceforge.net/projects/xming/
# Vi/etc/ssh/sshd_config
|-X11forwrding Yes (allow x Communication)
* Start xlauch-> one window (display number: 0 ),
* Run remote-> using putty(plink.exe)-> connect to computer (guestos's IP)->
Login as user (username)-> passward
* Next-> skip-> finish (open ).
Open the gnome interface.
# Gnome-session
Refer:
Http://wly719.iteye.com/blog/435538