Thứ Hai, 16 tháng 6, 2014

File xorg.conf cho g460(tham khảo)

File xorg.conf cho g460(tham khảo)
Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath   "/usr/lib64/xorg/modules"
FontPath     "/usr/share/fonts/misc/"
FontPath     "/usr/share/fonts/TTF/"
FontPath     "/usr/share/fonts/OTF/"
FontPath     "/usr/share/fonts/Type1/"
FontPath     "/usr/share/fonts/100dpi/"
FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
Load  "glx"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option    "Protocol" "auto"
Option    "Device" "/dev/input/mice"
Option    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Lenovo"
ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "NoAccel"             # [<bool>]
        Option     "AccelMethod"         "sna"
        #Option     "Backlight"           # <str>
        #Option     "DRI"                 # <str>
        #Option     "ColorKey"           # <i>
        #Option     "VideoKey"           # <i>
        #Option     "Tiling"             # [<bool>]
        #Option     "LinearFramebuffer"   # [<bool>]
        #Option     "VSync"               # [<bool>]
        #Option     "PageFlip"           # [<bool>]
        Option     "SwapbuffersWait"     "false" #[<bool>]
        #Option     "TripleBuffer"       # [<bool>]
        #Option     "XvPreferOverlay"     # [<bool>]
        #Option     "HotPlug"             # [<bool>]
        #Option     "ReprobeOutputs"     # [<bool>]
        #Option     "XvMC"               # [<bool>]
        #Option     "ZaphodHeads"         # <str>
        #Option     "VirtualHeads"       # <i>
        #Option     "TearFree"           # [<bool>]
        #Option     "PerCrtcPixmaps"     # [<bool>]
        #Option     "FallbackDebug"       # [<bool>]
        #Option     "DebugFlushBatches"   # [<bool>]
        #Option     "DebugFlushCaches"   # [<bool>]
        #Option     "DebugWait"           # [<bool>]
        #Option     "BufferCache"         # [<bool>]
Option      "TearFree"    "true"
Identifier  "Card0"
Driver      "intel"
BusID       "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

Section "Extensions"
    Option  "Composite"  "Enable"
EndSection

Thứ Bảy, 11 tháng 1, 2014

Share internet từ máy ảo ra ngoài i máy thật bằng vmware

bài này hướng dẫn share mạng từ máy ảo chạy trong vm có mạng máy chủ chạy linux không có mạng. Cái này cực kì có lợi cho các bạn nào đang sử dụng linux mà dùng Dcom viettel mà muốn chuyển đổi giữa 3g(UMTS) 2g(GPRS)...:D
1. Phải có 1 hợp swich or 1 kết nối LAN
hình trên khá dài dòng nhưng bạn sẽ được kết quả xứng đáng


chúc bạn thành công