Author: gnuhpc
Source: http://www.cnblogs.com/gnuhpc/
Installation and configuration
First, install nvcserver in Linux,
Install the RPM package
Root @. VNC # rps-ivh vnc-4.1.2-9.fc6.i386.rpm
Then enter ~ /. VNC
Root @. VNC # Cd ~ /. VNC
Edit file xstartup
Block the last line
# TWM &
Add the following statement
Gnome-session &
Save and exit
[Note] the above step is to display the Linux desktop on Windows. Otherwise, only one terminal window is displayed.
Next, set the login user. If the installation is successful, there will be a vncservers file in the/etc/sysconfig/directory.
Open the vncservers file and add
Vncservers = "1: Root"
Set the VNC remote logon password.
Root @. VNC # vncpasswd
After setting the password, run vncserver
Root @. VNC # vncserver new 'localhost. localdomain: 1 (Root) 'desktop is localhost. localdomain: 1 starting applications specified in/root /. VNC/xstartup log file is/root /. VNC/localhost. localdomain: 1.log
OK, this Linux service will start the port increasing progressively from 5801
To add a VNC that supports X11, run the following command: xhost + local: username.
Author: gnuhpc
Source: http://www.cnblogs.com/gnuhpc/