1、查询是否安装VNC
[quote]# rpm -q vnc-server
vnc-server-4.1.2-14.el5_3.1
#
[/quote]
2、安装
[quote]#rpm -ivh /mnt/Server/vnc-server-4.1.2-14.el5_3.1.rpm
[/quote]
3、设置VNC密码
[quote]# vncpasswd[/quote]
4、VNC 启动、重启、关闭
[quote] # 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[/quote]
[quote]# service vncserver restart
Shutting down VNC server: 1:root [ OK ]
Starting VNC server: 1:root
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
[/quote]
[quote]# service vncserver stop
Shutting down VNC server: 1:root [ OK ]
[/quote]
5、vnc-viewer.exe
使用vncserver命令启动VNC服务,命令格式为“vncserver :桌面号”,其中“桌面号”用“数字”的方式表示,每个用户连个需要占用1个桌面
启动编号为1的桌面示例如下
连接地址(ip地址+桌面号):121.37.42.13:1
附件为VNC VIEWER:
[quote]# rpm -q vnc-server
vnc-server-4.1.2-14.el5_3.1
#
[/quote]
2、安装
[quote]#rpm -ivh /mnt/Server/vnc-server-4.1.2-14.el5_3.1.rpm
[/quote]
3、设置VNC密码
[quote]# vncpasswd[/quote]
4、VNC 启动、重启、关闭
[quote] # 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[/quote]
[quote]# service vncserver restart
Shutting down VNC server: 1:root [ OK ]
Starting VNC server: 1:root
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
[/quote]
[quote]# service vncserver stop
Shutting down VNC server: 1:root [ OK ]
[/quote]
5、vnc-viewer.exe
使用vncserver命令启动VNC服务,命令格式为“vncserver :桌面号”,其中“桌面号”用“数字”的方式表示,每个用户连个需要占用1个桌面
启动编号为1的桌面示例如下
连接地址(ip地址+桌面号):121.37.42.13:1
附件为VNC VIEWER: