os:Kylin-server-10

datbase:dm8

1)安装tigervnc-server

yum install tigervnc-server -y

2)确认安装成功

[root@localhost ~]# rpm -qa|grep tiger

tigervnc-server-minimal-1.10.1-5.p02.ky10.x86_64

tigervnc-server-1.10.1-5.p02.ky10.x86_64

tigervnc-1.10.1-5.p02.ky10.x86_64

3)设置vnc登录密码

[root@localhost ~]# vncpasswd

Password:

4)启动vncserver

[root@localhost ~]# 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

5)xhost +

[root@localhost ~]# echo $DISPLAY

:1.0

[root@localhost ~]# xhost +

access control disabled, clients can connect from any host

6)本地使用vnc登录主机

配置VNC通过图形化访问达梦DBCA_desktop

7)启动dbca进行测试

配置VNC通过图形化访问达梦DBCA_desktop_02

8)DBCA图形化界面启动:

配置VNC通过图形化访问达梦DBCA_kylin_03