Windows terminal graphical access to unix-linux Server 1. Client (windows XP) xmanager + server (unix or linux) Environment Variables
1. Open xterml2 on client 172.16.3.210, link ip address 172.16.0.22 server, edit environment variable DISPLAY: export DISPLAY = 172.16.3.210: 0.0
-- Here 172.16.3.210 is the client machine, the server is 172.16.0.22 3, the client (172.16.3.210) installs xmanager, and starts Xmanager-passive and waits. 4. Running xclock in xterm on the client will support images. Www.2cto.com 2. Client (windows XP) vncviewer + server (unix or linux) vncserver
1. Install the vncserver suite on linux and start it. 1. view the system information before the installation. [root @ ip-7-0-168-192 ~] # Cat/etc/issueRed Hat Enterprise Linux Server release 6.0 (Santiago) Kernel \ r on an \ m2. check whether the system has a secure VNC security package [root @ ip-7-0-168-192 ~] # Rpm-qa | grep vnclibvncserver-0.9.7-4.el6.i686vnc-4.1.2-14.el5_3.1.i386vnc-server-4.1.2-14.el5_3.1.i386 # No VNC security package security 3. configure VncServer to edit vi/etc/sysconfig/vncservers: remove the last two rows of zookeeper and change it to VNCSERVERS = "2: root "VNCSERVERARGS [1] ="-geometry 1024x768-depth 16"
Note: You can add multiple users to connect to the vnc server using the vnc client. For example, the default ports of VNCSERVERS = "1: root 2: oracle" VNCServer are 6001, and, "1: root 2: oracle" indicates that the System user root has enabled ports 6001, 5901, and, and 1 indicates the desktop number or terminal number, enable ports 5802, 5902, and 6002 for the System user oracle. Port 2 is the desktop number, and so on. "1024x768" indicates the screen resolution. For the sake of security, do not set root User Logon here. At the first startup, you must change the logon password www.2cto.com # vncpasswd.
4. start VncServer and use the system startup script to start VncServer: #/etc/rc. d/init. d/vncserver start or # service vncserver start and then use netstat to check whether the corresponding port is listened, each terminal listens to 3 Ports 5, start vnvviewer on the client such as: vnc-4_1_2-x86_win32_viewer.exe can meet
Author huzia