yytoday 发表于 2004-8-15 21:47:34

我准备用Fedora作vnc服务器, 可是

其他系统联接上但是并不是图形界面,还是文本界面的,提示说找不到某个字体
这是怎么回事啊?
谢谢


http://www.linuxsir.org/bbs/attachment.php?s=&postid=753873

而我用Redflag 作vnc服务器
fedore联接就没有出现问题
可以出现图形界面的远程控制

KanKer 发表于 2004-8-15 22:07:05

那就应该是XF86Config(-4)文件设置有点问题,重新配置一下看呢?

yytoday 发表于 2004-8-16 09:04:40

怎么配置啊
哪个文件在那啊?

KanKer 发表于 2004-8-16 09:15:06

/etc/X11/XF86Config(-4)
用Xconfigurator?不知你机器上是用什么配置 :?

yytoday 发表于 2004-8-16 17:14:30

我在/etc/X11 下没有找到XF86Config(-4) 这个文件呢
:oops:
倒有一个XF86Config文件

visionalstar 发表于 2004-8-16 18:28:23

我在/etc/X11 下没有找到XF86Config(-4) 这个文件呢
:oops:
倒有一个XF86Config文件
我寒。。。XF86Config(-4)的意思就是XF86Config或者XF86Config-4,有哪个是哪个

yytoday 发表于 2004-8-17 12:02:32

哦是这样
这是我的XF86Config文件
# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
        Identifier   "Default Layout"
        Screen      0"Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "DevInputMice" "AlwaysCore"
EndSection

Section "Files"
# RgbPath is the location of the RGB database.Note, this is the name of the
# file minus the extension (like ".txt" or ".db").There is normally
# no need to change the default.

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath   "unix/:7100"
EndSection

Section "Module"
        Load"dbe"
        Load"extmod"
        Load"fbdevhw"
        Load"glx"
        Load"record"
        Load"freetype"
        Load"type1"
        Load"dri"
EndSection

Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#        Option        "Xleds"                "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
#        Option        "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).For example, for a non-U.S.
# keyboard, you will probably want to use:
#        Option        "XkbModel"        "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#        Option        "XkbModel"        "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#        Option        "XkbLayout"        "de"
# or:
#        Option        "XkbLayout"        "de"
#        Option        "XkbVariant"        "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#        Option        "XkbOptions"        "ctrl:swapcaps"
# Or if you just want both to be control, use:
#        Option        "XkbOptions"        "ctrl:nocaps"
#
        Identifier"Keyboard0"
        Driver      "keyboard"
        Option          "XkbRules" "xfree86"
        Option          "XkbModel" "pc105"
        Option          "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier"Mouse0"
        Driver      "mouse"
        Option          "Protocol" "IMPS/2"
        Option          "Device" "/dev/psaux"
        Option          "ZAxisMapping" "4 5"
        Option          "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
        Identifier"DevInputMice"
        Driver      "mouse"
        Option          "Protocol" "IMPS/2"
        Option          "Device" "/dev/input/mice"
        Option          "ZAxisMapping" "4 5"
        Option          "Emulate3Buttons" "no"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "A150X1"
        DisplaySize310        230
        HorizSync    28.0 - 64.0
        VertRefresh48.0 - 78.0
        Option          "dpms"
EndSection

Section "Device"
        Identifier"Videocard0"
        Driver      "i810"
        VendorName"Videocard vendor"
        BoardName   "Intel 845"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device   "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth   24
        SubSection "Display"
                Depth   24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Group      0
        Mode         0666
EndSection

KanKer 发表于 2004-8-17 14:48:36

下面是我的字体路径节,你可以参照一下。

Section "Files"
      FontPath "/usr/fonts/truetype/"
      FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
      FontPath "/usr/X11R6/lib/X11/fonts/misc/"
      FontPath "/usr/share/fonts/"
EndSection

cc188 发表于 2004-8-19 17:35:24

改/root/.vnc/xstartup

注释最后两行,加上

startkde

yytoday 发表于 2004-8-20 16:23:17

谢谢
弄好了
能说说为什么要这样该呢?
谢谢 :roll:

cc188 发表于 2004-8-23 17:39:43

xstartup是Vnc的启动配置,改成startkde就是Vnc启动是使用KDE做界面,同理,也可以改成其他的启动界面。

yytoday 发表于 2004-8-27 22:47:27


谢谢

zjpgg 发表于 2004-10-27 17:28:33

我也碰到了同样的问题,也解决了,谢谢cc188!
页: [1]
查看完整版本: 我准备用Fedora作vnc服务器, 可是