Merge pull request #2541 from geekpi/master

translated
This commit is contained in:
geekpi 2015-03-21 17:45:52 +08:00
commit 673a16a077

View File

@ -1,61 +1,61 @@
Install Mate desktop in FreeBSD 10.1
在FreeBSD 10.1中安装Mate桌面
================================================================================
![](http://1102047360.rsc.cdn77.org/wp-content/uploads/2015/03/FreeBSD-790x494.jpg)
FreeBSD is fully text mode system, however some times new users might want to use GUI desktop environment. This tutorial will help you to install Mate Desktop in Freebsd 10.1.
FreeBSD是全文本模式的系统然而有些新用户想要使用GUI桌面环境。这个教程就是帮助你在Freebsd 10.1中安装Mate桌面。
Here is my test system details:
下面是我的系统细节:
root@Freebsd-unixmen:~ # uname -a
FreeBSD Freebsd-unixmen 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
root@Freebsd-unixmen:~
To start installing Mate desktop in FreeBSD 10.1, the following steps can be used.
要在FreeBSD 10.1 中开始安装Mate桌面按照下面的步骤。
pkg install xf86-video-fbdev mate-desktop mate xorg
### Add the following lines to /etc/rc.conf ###
### 在 /etc/rc.conf 中加入下面的行 ###
moused_enable="YES"
dbus_enable="YES"
hald_enable="YES"
### Test the installation. ###
### 测试安装 ###
xinit mate-session
![](http://www.unixmen.com/wp-content/uploads/2015/03/snapshot2.png)
Mate doesnt have a display manager of its own. Hence we can use any other display managers like XDM, GDM, slim etc to use the login manager. Here lets see how to configure Slim DM with Mate desktop.
Mate本身没有显示管理器。因此我们会使用其他的显示管理器如XDM、GDM、slim等等来作为登录管理器。这里让我们看看如何在Mate桌面中配置Slim DM
### Install Slim ###
### 安装 Slim ###
pkg install slim
Add the following line to **/etc/rc.conf**:
在**/etc/rc.conf**中加入下面的行:
slim_enable="YES"
Add the following line to .xinitrc file in the users home directory
在用户的家目录下的.xinitrc文件加入下面的行。
exec mate-session
Reboot the machine. Now the machine will boot into Slim login where you can login to Mate session.
重启电脑。现在在你登录Mate时就会进入Slim登录界面了。
![](http://www.unixmen.com/wp-content/uploads/2015/03/snapshot3.png)
![](http://www.unixmen.com/wp-content/uploads/2015/03/snapshot4.png)
Thats it. Cheers!
就是这样。干杯!
--------------------------------------------------------------------------------
via: http://www.unixmen.com/install-mate-desktop-freebsd-10-1/
作者:[M.el Khamlichi][a]
译者:[译者ID](https://github.com/译者ID)
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://www.unixmen.com/author/pirat9/
[a]:http://www.unixmen.com/author/pirat9/