Configure graphic interface of FreeBSD
freebsd 7.1???????????Xorg???? Xorg -configure ?,??/root ???????xorg.conf.new
??#Xorg -config xorg.conf.new ??????xorg.conf.new?????
??????????????X???????????????????????????????Ctrl+Alt+Backspace???????????????????
????????????? #cp xorg.conf.new /etc/X11/xorg.conf
??#startx???X11???????????????X?????????Xorg???????????Ctrl+Alt+Backspace???
freebsd 7.2??Xorg???????????????????????????????
???[url]http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html[/url]
????????
??? /etc/rc.conf ??????
hald_enable="YES"
dbus_enable="YES"
??????
??root??? Xorg -configure ?? xorg.conf.new ??
?? Xorg -config xorg.conf.new -retro ????
???? -retro?????????X????Ctrl+Alt+Backspace ??
?????? xorg.conf.new ???????????????? emacs(1) ? ee(1) ?????????????????????????????? ????????????????????? xorg.conf.new ? "Monitor" ????
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30-107
VertRefresh 48-120
EndSection
?????????????? HorizSync ? VertRefresh? ???????? ???????? ?? HorizSync ? VertRefresh ??????????? ???????? ?????????????
??X ??????????? DPMS (????) ??? xset(1) ??????????? ???????????? ?????????? DPMS ??????????????? monitor ???
Option "DPMS"
???? xorg.conf.new ???????????????????? "Screen" ???????
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection
??DefaultDepth ??????????????? ????? Xorg(1) ? -depth ????????????????? Modes ???????????????????? ???????????????????? VESA ???????? ??????? ??????? 24???????????? ??????? 1024x768?
?????????????? ?????????????????
??: ????????????? ???? X11 ?????????????? X11 ??????????????????? Xorg ??????? /var/log/Xorg.0.log ?????? ??????????? Xorg.0.log ? Xorg.8.log ???
??????????? ?????????????????? ???? Xorg(1) ????????? ??????? /etc/X11/xorg.conf ? /usr/local/etc/X11/xorg.conf?
????????????????????????? #cp xorg.conf.new /etc/X11/xorg.conf??
????GNOME???? #ee .xinitrc (??????????)
????? exec gnome-session
???? (?????gnome? ??????????????? #echo "exec gnome-session " > ~/.xinitrc )
?? #startx???????X-gonme????????????????X?????/etc/rc.conf??? gdm_enable="YES"?
??????X?????????????????????ctrl+alt+backspace?????
??startx
???????KDE4?????#ee .xinitrc ??? exec /usr/local/kde4/bin/startkde
???????startx????KDE???startkde ?????KDE3???
?????[url]http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html[/url]
[url=http://blogs.sun.com/moonocean/entry/configure_graphic_interface_of_freebsd]More...[/url]