Oracle Linux 6.2 無法切換到圖形介面 (VNC)處理 - yum 安裝圖形介面軟體 - 1

tolywang發表於2014-10-25

注意軟體版本是Oracle Enterprise Linux 6.2,不是Red Hat 。

 
1、異常現象
 
1.1 startx命令不可用
[root@ebs122 cdrom]# startx
-bash: startx: command not found

2、問題分析
Linux的圖形使用者介面(X windows)主要有gnome和KDE兩種桌面環境,ORACLE Linux也一樣,兩種
桌面可以並存,可以切換,上述問題情況屬於沒有安裝gnome和KDE的問題。

2.1 檢視gnome和KDE包是否安裝
[root@ebs122 /]# rpm -qa |grep gnome
[root@ebs122 /]# rpm -qa |grep kde
發現沒有安裝。


3、安裝linux圖形介面軟體
 
3.1 配置yum
具體參考:http://blog.itpub.net/35489/viewspace-1263896/

3.2 安裝X Windows System
 
3.2.1驗證可以安裝的元件
#yum grouplist

Loaded plugins: refresh-packagekit, security
Setting up Group Process
HighAvailability | 3.7 kB 00:00 ...
LoadBalancer | 3.7 kB 00:00 ...
Server | 3.7 kB 00:00 ...
oel6_local | 3.7 kB 00:00 ...
Installed Groups:
Additional Development
Base
Console internet tools
Debugging Tools

        Desktop
Desktop Platform
Dial-up Networking Support
Directory Client
E-mail server
Fonts
General Purpose Desktop
Graphical Administration Tools
Hardware monitoring utilities
Java Platform

       KDE Desktop
Large Systems Performance
Legacy UNIX compatibility
Legacy X Window System compatibility
MySQL Database client
MySQL Database server
....
Scientific support
Server Platform

        X Window System
Installed Language Groups:
Arabic Support [ar]
Armenian Support [hy]
Inuktitut Support [iu]
....
Xhosa Support [xh]
Zulu Support [zu]
Done

其中“Desktop”安裝組安裝的就是GNOME元件,“KDE Desktop”安裝組安裝的就是KDE元件


 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-1309677/,如需轉載,請註明出處,否則將追究法律責任。

相關文章