FreeBSD9.2安装X11和GNOME
来源:互联网 发布:海岛奇兵2医师升级数据 编辑:程序博客网 时间:2024/05/29 19:25
[1] 安装xorg和gnome
输入:
bsdconfig
选择:
packages -> cd/dvd -> x11 -> xorg-7.7(第1个)
packages -> cd/dvd -> x11 -> gnome2-2.32.1_5(第1个)
然后,选择Back按回车,移动到第1个(> Review ...),回车再回车,即可安装!
###############################################################################
[2] 设置/etc/rc.conf
输入:
edit /etc/rc.conf
添加:
hald_enable="YES"
dbus_enable="YES"
###############################################################################
[3] 在ROOT目录创建或修改文件以下文件
输入:
cd ~
edit .xinitrc
添加:
exec gnome-session
###############################################################################
[4] 配置xorg
输入:
cd ~
Xorg -configure
edit xorg.conf.new
在 Section "Monitor" 和 EndSection 中加入:
HorizSync 30.0-50.0
VertRefresh 40.0-90.0
在 Section "Screen" 和 SubSection "Display" 中加入:
DefaultDepth 24
在 SubSection "Display" \n Viewport 0 0 \n Depth 24 和 EndSubSection 中加入:
Modes "1024x768"
保存退出后,输入:
cp xorg.conf.new /etc/X11/xorg.conf
###############################################################################
[5] 设置主机名称
edit /etc/hosts
把:
::1 localhost localhost.my.domain
127.0.0.1 localhost localhost.my.domain
改为(lzqfreebsd是主机名,一定要跟安装系统时设置的主机名相同):
::1 localhost localhost.my.domain lzqfreebsd
127.0.0.1 localhost localhost.my.domain lzqfreebsd
###############################################################################
[6] 重启系统
输入:
reboot
系统启动后,并且登陆后,输入:
startx
输入:
bsdconfig
选择:
packages -> cd/dvd -> x11 -> xorg-7.7(第1个)
packages -> cd/dvd -> x11 -> gnome2-2.32.1_5(第1个)
然后,选择Back按回车,移动到第1个(> Review ...),回车再回车,即可安装!
###############################################################################
[2] 设置/etc/rc.conf
输入:
edit /etc/rc.conf
添加:
hald_enable="YES"
dbus_enable="YES"
###############################################################################
[3] 在ROOT目录创建或修改文件以下文件
输入:
cd ~
edit .xinitrc
添加:
exec gnome-session
###############################################################################
[4] 配置xorg
输入:
cd ~
Xorg -configure
edit xorg.conf.new
在 Section "Monitor" 和 EndSection 中加入:
HorizSync 30.0-50.0
VertRefresh 40.0-90.0
在 Section "Screen" 和 SubSection "Display" 中加入:
DefaultDepth 24
在 SubSection "Display" \n Viewport 0 0 \n Depth 24 和 EndSubSection 中加入:
Modes "1024x768"
保存退出后,输入:
cp xorg.conf.new /etc/X11/xorg.conf
###############################################################################
[5] 设置主机名称
edit /etc/hosts
把:
::1 localhost localhost.my.domain
127.0.0.1 localhost localhost.my.domain
改为(lzqfreebsd是主机名,一定要跟安装系统时设置的主机名相同):
::1 localhost localhost.my.domain lzqfreebsd
127.0.0.1 localhost localhost.my.domain lzqfreebsd
###############################################################################
[6] 重启系统
输入:
reboot
系统启动后,并且登陆后,输入:
startx
0 0
- FreeBSD9.2安装X11和GNOME
- FreeBSD9.0配置Xorg和Gnome
- FreeBSD9安装后,从光盘安装gnome图形桌面环境
- (3)FreeBSD9.0配置Xorg和Gnome
- freebsd9.2 下安装nginx
- FreeBSD9.2安装VMWare-Tools
- FreeBsd9.2 安装Apache2.2实现代理
- x11 gtk qt gnome kde 之间的区别和联系
- x11 gtk qt gnome kde 之间的区别和联系
- x11 gtk qt gnome kde 之间的区别和联系
- x11 gtk qt gnome kde 之间的区别和联系
- x11 gtk qt gnome kde 之间的区别和联系 .
- x11 gtk qt gnome kde 之间的区别和联系
- x11 gtk qt gnome kde 之间的区别和联系
- freebsd9.1安装kde
- ubuntu 安装gnome桌面和Gnome主题
- (1)安装FreeBSD9.0
- 安装配置FreeBSD9全过程体验
- C++ 简单读写文本文件、统计文件的行数、读取文件数据到数组
- FreeBSD从源码安装PostgreSQL
- 计数排序
- FreeBSD9.2安装VMWare-Tools
- 生日这天,我还是有必要承认自己的错误吧。
- FreeBSD9.2安装X11和GNOME
- FreeBSD开启ROOT远程SSH登陆
- 配置DNS、搜索域和主机名
- 成佩涛黑客——攻击怀旧cpthack
- http://dongxi.douban.com/article/1183970/
- epoll经验谈
- 《将博客搬至CSDN》
- Hello world
- 脏纸编码 (Dirty Paper Coding) 概述