VNC
Vnc server port:5800, 5900
Server(192.168.0.254)
1.安裝vnc-server套件
#yum install vnc-server
[root@server1 ~]# rpm -qa|grep vnc-server
vnc-server-4.1.2-9.el5
2. 修改設定
#vi /etc/sysconfig/vncservers
--------略----
# `man vncviewer' manual page.
# VNCSERVERS="2:myusername"
指定user
VNCSERVERS="1:root 2:student"
--------略----
3. 設定user登入的vncpasswd
[root@server1 ~]# vncpasswd student
Password:
Verify:
[root@server1 ~]#
4.啟動vncserver
[root@server1 ~]# service vncserver start
Starting VNC server: 1:root
New 'server1.example.com:1 (root)' desktop is server1.example.com:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/server1.example.com:1.log
2:student
New 'server1.example.com:2 (student)' desktop is server1.example.com:2
Starting applications specified in /home/student/.vnc/xstartup
Log file is /home/student/.vnc/server1.example.com:2.log
[ OK ]
5.登入測試
[root@server1 ~]# vncviewer 192.168.0.254:2
- Jul 21 Tue 2009 22:45
[雜記]RHCE筆記整理-RH133-Unit4(2)
close
全站熱搜
留言列表