安装桌面系统及远程桌面访问vnc服务

对于linux系统,只能用SecureCRT访问,需要界面操作的很不方便,例如创建oracle实例、安装weblogic等,用桌面系统就方便的多了。我们就考虑到安装Desktop桌面系统,以及vnc-server的远程桌面服务器来解决。

使用操作系统:CentOS 6.4

1. 首先安装桌面系统,用yum groupinstall Desktop命令安装linux的桌面系统。(注意:安装完成后需要重启系统才能生效reboot)

2. 采用yum install vnc-server安装 tiger-vnc-server软件。

3. 启动vncserver,在SecureCRT直接输入vncserver

[root@testdb ~]# vncserver

You will require a password to access your desktops.

Password:
Verify:
xauth:  creating new authority file /root/.Xauthority

New 'testdb:1 (root)' desktop is testdb:1

Creating default startup script. /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/testdb:1.log

这里需要输入密码,这个密码是用vncviewer访问的密码。看到上面的花就是已经启动成功了。

4. 用VNC-Viewer打开

VNC Server:输入IP地址:1

点击Connect,会弹出是否连接的确认框,连接即可

至此,我们就可以用VNC-Viewer远程桌面访问了。 :)

猜你喜欢

转载自guanning.iteye.com/blog/2094578