1.给个虚拟机安装oracle结果,系统给的时候都没给安装XWINDOWS ,无奈呀,不想静默安装!!!
2.yum groupinstall "Desktop" "Desktop Platform" "X Window System"
3.全部安装完成 就应该可以了
telinit 5 或者init 5 切换到runlevel 5 运行X startx 应该都可以了
4.如果安装不全 可能会报以下错误
** (gnome-settings-daemon:21328): WARNING **: /usr/lib64/gnome-settings-daemon-2.0/libgsdwacom.so: undefined symbol: _XGetRequest
** (gnome-settings-daemon:21328): WARNING **: Cannot load plugin 'Wacom' since file '/usr/lib64/gnome-settings-daemon-2.0/libgsdwacom.so' cannot be read.
** (gnome-settings-daemon:21328): WARNING **: Error activating plugin 'Wacom'
** (gnome-panel:21341): WARNING **: panel-applet-frame.c:1288: failed to load applet OAFIID:GnoteApplet:
(null)
/usr/bin/gnome-session: symbol lookup error: /usr/lib64/libgdk-x11-2.0.so.0: undefined symbol: _XGetRequest
(nautilus:21342): EggSMClient-WARNING **: Failed to connect to the session manager: IO error occured opening connection
waiting for X server to shut down gnome-settings-daemon: Fatal IO error 2 (No such file or directory) on X server :0.0.
.Server terminated successfully (0). Closing log file.