QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 533|回复: 2

wine的问题

[复制链接]
发表于 2003-5-14 18:46:52 | 显示全部楼层 |阅读模式
照着说明装wine,结果运行时出错:
wine: chdir to /tmp/.wine-root/server-306-16a873 : No such file or directory
我的配置文件如下:
[Drive A]
"Path" = "/mnt/fd0"
"Type" = "floppy"
"Label" = "Floppy"
"Filesystem" = "win95"
"Serial" = "87654321"
;; "Device" = "/dev/fd0"

[Drive C]
"Path" = "/mnt/winc_virtual"
"Type" = "hd"
"Label" = "Windows 2000"
"Filesystem" = "win95"

[Drive D]
"Path" = "/mnt/wind"
"Type" = "hd"
"Label" = "D_DRIVER"
"Filesystem" = "win95"
; make sure that device is correct and has proper permissions !
;; "Device" = "/dev/cdrom"

[Drive E]
"Path" = "/tmp"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"

[Drive F]
"Path" = "${HOME}"
"Type" = "network"
"Label" = "Home"
"Filesystem" = "win95"

[Driver G]
"Path" = "/"
"Type" = "hd"
"Label" = "root"
"Filesystem" = "win95"

[wine]
"Windows" = "c:\\windows"
"System" = "c:\\windows\\system"
"Temp" = "G:\\tmp"
"Path" = "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\"
"Profile" = "c:\\windows\\Profiles\\Administrator"
"GraphicsDriver" = "x11drv"
;"ShowDirSymlinks" = "1"
;"ShowDotFiles" = "1"
"ShellLinker" = "wineshelllink"

# [wineconf]

[Version]
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win20,win30,win31)
;"Windows" = "win98"
; DOS version to imitate
;"DOS" = "6.22"

; Be careful here, wrong DllOverrides settings have the potential
; to pretty much kill your setup.
[DllOverrides]
; some dlls you may want to change
"oleaut32"     = "builtin, native"
"ole32"        = "builtin, native"
"commdlg"      = "builtin, native"
"comdlg32"     = "builtin, native"
"shell"        = "builtin, native"
"shell32"      = "builtin, native"
"shfolder"     = "builtin, native"
"shlwapi"      = "builtin, native"
"shdocvw"      = "builtin, native"
"advapi32"     = "builtin, native"
"msvcrt"       = "native, builtin"
"mciavi.drv"   = "native, builtin"
"mcianim.drv"  = "native, builtin"
; you can specify applications too
; this one will apply for all notepad.exe
;"*notepad.exe" = "native, builtin"
; this one will apply only for a particular file
;"C:\\windows\\regedit.exe" = "native, builtin"
; default for all other dlls
"*" = "builtin, native"

[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Use a private color map
"PrivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
;;"ScreenDepth" = "16"
; Name of X11 display to use
;;"Display" = ":0.0"
; Allow the window manager to manage created windows
"Managed" = "Y"
; Use a desktop window of 640x480 for Wine
;"Desktop" = "640x480"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "Y"
; Use XShm extension if present
"UseXShm" = "Y"
; Use XVidMode extension if present
"UseXVidMode" = "Y"
; Use the take focus protocol
"UseTakeFocus" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "N"
 楼主| 发表于 2003-5-14 19:18:46 | 显示全部楼层
我先运行了一下wineserver就没有错了。但是运行/usr/local/wine/bin/wine notepad
就有:
Could not stat /mnt/fd0 (Success), ignoring drive A:
XIO:  fatal IO error 0 (Success) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.


PS:我的windows系统是2K,更改后的配置文件如下:
Could not stat /mnt/fd0 (Success), ignoring drive A:
XIO:  fatal IO error 0 (Success) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.
回复

使用道具 举报

 楼主| 发表于 2003-5-14 19:19:20 | 显示全部楼层
我先运行了一下wineserver就没有错了。但是运行/usr/local/wine/bin/wine notepad
就有:
Could not stat /mnt/fd0 (Success), ignoring drive A:
XIO:  fatal IO error 0 (Success) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.


PS:我的windows系统是2K,更改后的配置文件如下:
WINE REGISTRY Version 2
;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config

;; If you think it is necessary to show others your complete config for a
;; bug report, filter out empty lines and comments with
;; grep -v "^;" ~/.wine/config | grep '.'
;;
;; MS-DOS drives configuration
;;
;; Each section has the following format:
;; [Drive X]
;; "Path"="xxx"       (Unix path for drive root)
;; "Type"="xxx"       (supported types are 'floppy', 'hd', 'cdrom' and 'network')
;; "Label"="xxx"      (drive label, at most 11 characters)
;; "Serial"="xxx"     (serial number, 8 characters hexadecimal number)
;; "Filesystem"="xxx" (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')
;;   This is the FS Wine is supposed to emulate on a certain
;;   directory structure.
;;   Recommended:
;;   - "win95" for ext2fs, VFAT and FAT32
;;   - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
;;   DON'T use "unix" unless you intend to port programs using Winelib !
;; "Device"="/dev/xx" (only if you want to allow raw device access)
;;
[Drive A]
"Path" = "/mnt/fd0"
"Type" = "floppy"
"Label" = "Floppy"
"Filesystem" = "win95"
"Serial" = "87654321"

[Drive C]
"Path" = "/mnt/winc"
"Type" = "hd"
"Label" = "Windows 2000"
"Filesystem" = "win95"

[Drive D]
"Path" = "/mnt/wind"
"Type" = "hd"
"Label" = "D_DRIVER"
"Filesystem" = "win95"
; make sure that device is correct and has proper permissions !
;; "Device" = "/dev/cdrom"

[Drive E]
"Path" = "/tmp"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"

[Drive F]
"Path" = "${HOME}"
"Type" = "network"
"Label" = "Home"
"Filesystem" = "win95"

;[Driver G]
;"Path" = "/"
;"Type" = "hd"
;"Label" = "root"
;"Filesystem" = "win95"

[wine]
"Windows" = "c:\\winnt"
"System" = "c:\\winnt\\system"
"Temp" = "/tmp"
"Path" = "c:\\winnt;c:\\winnt\\system;e:\\;e:\\test;f:\\"
"Profile" = "c:\\winnt\\Profiles\\Administrator"
"GraphicsDriver" = "x11drv"
;"ShowDirSymlinks" = "1"
;"ShowDotFiles" = "1"
"ShellLinker" = "wineshelllink"

# [wineconf]

[Version]
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win20,win30,win31)
"Windows" = "win2k"
; DOS version to imitate
;"DOS" = "6.22"
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-2 12:24 , Processed in 0.072783 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表