• PtBoxClub

记录几个系统的桌面环境的安装

Linux教程 半醉丶 7年前 (2017-05-11) 2915次浏览 0个评论
目录
[隐藏]

1.这篇文章记录一下常见系统桌面环境的安装

1.1.① centos7.X 安装最简 XFCE 桌面

  • 首先更新一下系统,然后安装最新软件包

yum -y update

yum install epel-release

  • 安装 X Window system

yum groupinstall “X Window System”

sudo systemctl isolate graphical.target 检验安装成功

  • 安装 Xfce4

yum groupinstall xfce4

执行 sudo systemctl isolate graphical.target,进入 Xfce

  • 安装 VNC 远程连接

yum install tigervnc-server tigervnc

  • 然后设置 vnc 密码

vncpasswd

  • 最后打开 vnc 即可

vncserver :1

远程连接 ip:5901 ,注意打开服务器的 5901 端口

  • 安装火狐浏览器

yum install firefox

centos7 的就介绍到这里了。

1.2.② debian7/8 安装 LXDE 轻量桌面环境

  • 更新系统

apt-get update

  • 安装 LXDE 桌面

apt-get install lxde        #安装完整版本

aptitude install –without-recommends lxde      #只安装基本组件

  • 然后选择 startlxde。当下次您执行 startx 时,LXDE 会自动启动。

update-alternatives –config x-session-manager

  • 安装 vnc 远程桌面连接

apt-get install tightvncserver tightvnc-java

  • 启动 VNC

vncserver :1

  • 关闭 VNC

vncserver –kill :1

  • 接下来就是安装 firefox 了,由于 debian 的 firefox 换了名字,所以我们下面自动安装也换成相应的名字

aptitude install iceweasel

  • VNC 上你就可以在桌面上打开浏览器了。第一次安装中文是乱码,我们要设置中文编码和中文字体的,当然如果你只是挂挂英文站,那不装也 OK

aptitude install locales  #安装各种区域编码

dpkg-reconfigure locales  #设置区域编码,我一般都是 ALL

apt-get install ttf-arphic-gbsn00lp ttf-arphic-gkai00mp  #安装中文字体

然后依次输入你的 vnc 密码,遇到提示选择 y,然后接着输入密码

最后 ip:5901 连接即可

最后给出一个 VNC windows 版本的下载吧:点击下载 VNC

 

 


如无注明,所有文章皆为“半醉”原创,转载请保留文章出处。如有借鉴未注明请发邮件到 [email protected],深表抱歉!
喜欢 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址