ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Oracle Linux 6.2 无法切换到图形界面 (VNC)处理 - yum 安装图形界面软件 - 1

Oracle Linux 6.2 无法切换到图形界面 (VNC)处理 - yum 安装图形界面软件 - 1

原创 Linux操作系统 作者:tolywang 时间:2014-10-25 19:07:31 1 删除 编辑

注意软件版本是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博客 ” ,链接:https://blog.itpub.net/35489/viewspace-1309677/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle , MySQL, SAP IQ, SAP HANA, PostgreSQL, Tableau 技术讨论,希望在这里一起分享知识,讨论技术,畅谈人生 。

注册时间:2007-12-10

  • 博文量
    5595
  • 访问量
    14694420