In some cases, you need to use the Linux desktop environment. for example, the installation and configuration of Oracle require a graphical interface. By default, we have installed and installed the Gnome desktop environment 1yum-yinstallvncs
In some cases, you need to use the Linux desktop environment. for example, the installation and configuration of Oracle require a graphical interface.
By default, we have installed and installed the Gnome desktop environment.
| 1 |
yum -y install vncserver |
Configure vncserver and add it in/etc/sysconfig/vncserver
VNCSERVERS="1:root"VNCSERVERARGS[1]="-geometry 1024x768 -alwaysshared -depth 24" |
Configure VNC connection password
Vncpasswd
Set VNC initialization
Vncserver
Then Configure
Vim. vnc/xstartup
# Twm & # note this
Gnome-session & # New
By default, twm is a very small graphical interface that does not meet our operation requirements.
Then start the service
Service vncserver start; chkconfig vncserver on