Groupinstall Xfce安装失败

查看原文:http://www.hellonet8.com/1165.html
今天博主按照以前介绍的《在CentOS中搭建远程桌面管理》的步骤,在CentOS中搭建远程桌面。在连接的时候碰到一个问题,使用TightVNC客户端连接后页面一直显示黑屏,鼠标显示黑色叉叉。xstartup中的配置和权限设置也是正确的。

这时博主开始找原因。首先查看/root/.vnc中的log文件,提示如下错误“/root/.vnc/xstartup: line 2: /usr/bin/startxfce4: No such file or directory”。startxfce4这个文件没有找到,说明xfce可能安装失败了。然后回到《在CentOS中搭建远程桌面管理》介绍中的第一步:安装Xfce 4.4。输入yum groupinstall xfce-4.4命令,运行后提示如下信息:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
base: centos.sonn.com
extras: mirror.stanford.edu
updates: mirror.5ninesolutions.com
Setting up Group Process
Checking for new repos for mirrors
Warning: Group xfce does not exist.
No packages in any requested group available to install or update

输入yum grouplist,发现列表中也没有xfce,但是yum search xfce的时候可以看到很多包。所以最后博主就试着使用yum install xfce*安装。安装完后登录正常。。。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
引用\[1\]和\[2\]中的错误信息显示,yum groupinstall失败的原因是所请求的软件包组不存在。这可能是因为您的系统中没有安装相应的软件包组或者软件包组的名称拼写错误。您可以通过运行"yum grouplist"命令来查看系统中可用的软件包组列表,确保您要安装的软件包组存在。如果软件包组存在但仍然无法安装,您可以尝试运行"yum groups mark install"命令来标记安装该软件包组。另外,引用\[3\]中提供了一个解决办法,您可以尝试运行以下命令来安装"Development Tools"软件包组:yum groupinstall "Development Tools" --setopt=group_package_types=mandatory,default,optional。希望这些信息对您有帮助! #### 引用[.reference_title] - *1* *3* [有关‘yum -y groupinstall ‘Development tools‘’安装失败的解决办法](https://blog.csdn.net/qq_46235858/article/details/114753388)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item] - *2* [yum groupinstall "Chinese Support" 导致 Warning: group/environment Chinese Support does not exist.](https://blog.csdn.net/A_stranger/article/details/86661949)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值