[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
FreeBSD9.2安裝X11和GNOME
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
FreeBSD 安裝KDE and gnome
leoly521
2018-08-27 17:53:36
在FreeBSD上安裝VMware-Tools
leoly521
2018-08-27 17:53:35
使用VMware最小化安裝FreeBSD 7.2 【圖解】
leoly521
2018-08-27 17:53:32
How to install QEMU under FreeBSD 8.1 as host
leoly521
2018-08-27 17:53:32
VMware中安裝FreeBSD啓動X後鍵盤鼠標沒反應
leoly521
2018-08-27 17:53:32
FreeBSD 7.2 桌面安裝
leoly521
2018-08-27 17:53:29
FreeBSD開啓ROOT遠程SSH登陸
lzq0101
2018-08-27 17:49:35
配置VMWare遠程調試FreeBSD9.2內核源代碼
lzq0101
2018-08-27 17:49:35
FreeBSD10安裝CodeBlocks13.12
lzq0101
2018-08-27 17:49:34
編譯FreeBSD調試版內核
lzq0101
2018-08-27 17:49:29
FreeBSD從源碼安裝PostgreSQL
lzq0101
2018-08-27 17:49:27
FreeBSD9.2安裝VMWare-Tools
lzq0101
2018-08-27 17:49:27
FreeBSD kernel malloc
iteye_20567
2018-08-27 17:24:51
U盤安裝FreeBSD 10
0x5f3759df
2018-08-27 11:34:02
FreeBSD10的pkg問題及ports下載優化
0x5f3759df
2018-08-27 11:34:02