Starting vnc redhat automatically installs vncserver. You only need to select and start it in the service list. You can start your window manager by editing the file $ HOME/. vnc/xstartup. Use startkde & to start KDE, and use gnome-session & to start GNOME. create for the first time ~ /. Vnc/xstartup, the specified Window manager is twm, which is a very small Window manager and has twm on almost every X Window System machine. Twm does not have most of the fancy features of the "Desktop Manager" (like KDE, GNOME, or WindowMaker. The following is a modified example :#! /Bin/sh [-x/etc/vnc/xstartup] & exec/etc/vnc/xstartup [-r $ HOME /. xresources] & xrdb $ HOME /. xresourcesxsetroot-solid greyvncconfig-iconic & # xterm-geometry 80x24 + 10 + 10-ls-title "$ VNCDESKTOP Desktop" & # twm & # exec wmaker # exec startkde gnome-session & in the above example, comment out the default start of twm and xterm. This desktop is configured to avoid color gradient on the background and title bar, and very little animation effect is used. Close your vnc connection to vncserver-kill on the server: vncserver1. set vncserver STARTUP script (/etc/init. d/vncserver) to enable vncserver when the system is started. 2. edit/etc/sysconfig/vncservers VNCSERVERS = "1: user1 "ARGS ="-geometry 800x600-alwaysshared "modify" 800x600 "in ARGS to adapt to the actual parameter configuration of X Desktop. You can add any other VNC Server parameter configuration here. In VNCSERVERS, modify user1 to the user you want to run the VNC desktop. 1 In VNCSERVERS indicates that VNC runs on desktop 1. If you want to add another desktop, you can modify the configuration as follows: VNCSERVERS = "1: user1 2: user2 3: user3" 3. set the vnc server access password vncpasswd on the RedHat system and run the following command to start VNC:/etc/init. d/vncserver start