Oracle DBaaS 1z0-160 part 10 :VNC setup to connect directly to Oracle cloud database VM
1.Please install tigervnc-server using yum and create VNC user and password
[root@ORCL ~]# yum install tigervnc-server xorg-x11-fonts-Type1
[root@ORCL ~]# useradd elinuxbook
[root@ORCL ~]# passwd elinuxbook
[root@ORCL ~]# su – elinuxbook
[elinuxbook@ORCL ~]$ vncpasswd
2.Configure display to proper resolution and user “elinuxbook”
[root@ORCL ~]#vi /etc/sysconfig/vncservers
# VNCSERVERS=”2:myusername”
# VNCSERVERARGS[2]=”-geometry 800×600 -nolisten tcp -localhost”
VNCSERVERS=”1:elinuxbook”
VNCSERVERARGS[1]=”-geometry 1440×900″
[root@ORCL ~]# /etc/init.d/vncserver start
Creating default startup script /home/elinuxbook/.vnc/xstartup
Starting applications specified in /home/elinuxbook/.vnc/xstartup
Log file is /home/elinuxbook/.vnc/ORCL:1.log
[ OK ]
[root@ORCL ~]# chkconfig –level 35 vncserver on
[root@ORCL ~]# chkconfig –list vncserver
vncserver 0:off 1:off 2:off 3:on 4:off 5:on 6:off