Centos 7 、TencentOS 2 安装图形桌面、rdp远程、chrome

Centos 7 、TencentOS 2 开启图形桌面

开启桌面

yum groupinstall "Server with GUI" -y

systemctl set-default graphical

reboot


Centos 7 安装xrdp

yum -y install xrdp

sudo systemctl status xrdp

systemctl start xrdp

systemctl enable xrdp

 Centos 7 安装、使用chrome 

下载安装包到 /opt 执行自动补全依赖包安装

cd /opt

wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

sudo yum localinstall google-chrome-stable_current_x86_64.rpm

在线安装

sudo yum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

Centos 7 安装、使用chrome

TencentOS 2 桌面预览、安装chrome浏览器

修复启动

(安装后不修复默认不能启动chrome浏览器)

1. 添加--no-sandbox参数后即可一次性启动浏览器

 /usr/bin/google-chrome --no-sandbox

2.发送应用程序-互联网-google-chrome快捷方式到桌面

桌面图标右击-->属性-->启动命令后添加“--no-sandbox即: /usr/bin/google-chrome-stable %U --no-sandbox即可修复桌面图标正常启动

3. vim /usr/share/applications/google-chrome.desktop

修改: Exec=/usr/bin/google-chrome-stable %U

为: Exec=/usr/bin/google-chrome-stable %U --no-sandbox

  • 18
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值