Chinaunix
标题:
vnc怎么上24位色?
[打印本页]
作者:
zo0o
时间:
2009-03-26 03:02
标题:
vnc怎么上24位色?
改了半天 一直是16位色
vnc是通过x加载的
xorg.cnf里面那个vnc subsecion加depth好像没作用,客户端这块都是最大了~ 可链接信息里面 还是显示用的是16位 不是24位。奇怪~~
Section "Module"
Load "extmod"
Load "dbe"
Load "glx"
Load "freetype"
Load "type1"
Load "record"
Load "dri"
Load "vnc"
SubSection "vnc"
Option "RSA_Private_Key_File" "/root/.vnc/private.key"
Option "AllowedUsers" "*:d"
EndSubSection
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "Monitor"
Identifier "Monitor0"
ModelName "LCD Panel 1280x1024"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 64.0
VertRefresh 56.0 - 65.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "mga"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600"
EndSubSection
EndSection
复制代码
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2