[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