In Linux, VNC can be remotely connected using third-party software like Linux and Windows. This is very convenient for network administrators. In this article, we will discuss how to configure VNC in Linux. Unlike SecureCRT, VNC implements a graphical interface to connect to a remote server. Below are some basic instructions: Start $ vncserver: 1 stop $ vncserver-kill: 1 Change Password $ vncpasswd www.2cto.com for Redhat, choose GNOME Desktop when installing the system. VNCServer configuration # vi/etc/sysconfig/vncserversVNCSERVERS = "1: root 2: oracle" VNCSERVERARGS [1] = "-geometry 1024x768" Run vncserver, the connection password is required. The $ HOME/. Xauthority file and the $ HOME/. vnc directory are created. You can use #/etc/init. d/vncserver stop #/etc/init. d/vncserver start to disable and start the service. $ HOME/. vnc/xstartup: set when X is started. If you want to start GNOME, you can add gnome-session, and startkde to start KDE. If you have set automatic start upon startup, The vncserver does not obtain the language environment variables. After remote logon, the English interface is displayed. You can add "LANG =" zh_CN.GBK "export LANG" to xstartup ". An example of the configuration file: # cat $ HOME/. vnc/xstartup #! /Bin/sh # Uncomment the following two lines for normal desktop: # unset SESSION_MANAGER # exec/etc/X11/xinit/xinitrc LANG = "zh_CN.GBK" export LANG www.2cto.com [-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 & gnome-session # startkde you can use VNC Viewer customer The user can connect to the server to see the graphic interface. This article is from the fat shark network.