wine的问题
照着说明装wine,结果运行时出错:wine: chdir to /tmp/.wine-root/server-306-16a873 : No such file or directory
我的配置文件如下:
"Path" = "/mnt/fd0"
"Type" = "floppy"
"Label" = "Floppy"
"Filesystem" = "win95"
"Serial" = "87654321"
;; "Device" = "/dev/fd0"
"Path" = "/mnt/winc_virtual"
"Type" = "hd"
"Label" = "Windows 2000"
"Filesystem" = "win95"
"Path" = "/mnt/wind"
"Type" = "hd"
"Label" = "D_DRIVER"
"Filesystem" = "win95"
; make sure that device is correct and has proper permissions !
;; "Device" = "/dev/cdrom"
"Path" = "/tmp"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"
"Path" = "${HOME}"
"Type" = "network"
"Label" = "Home"
"Filesystem" = "win95"
"Path" = "/"
"Type" = "hd"
"Label" = "root"
"Filesystem" = "win95"
"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"
#
; 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.
; 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"
; 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" 我先运行了一下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. 我先运行了一下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:
;;
;; "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)
;;
"Path" = "/mnt/fd0"
"Type" = "floppy"
"Label" = "Floppy"
"Filesystem" = "win95"
"Serial" = "87654321"
"Path" = "/mnt/winc"
"Type" = "hd"
"Label" = "Windows 2000"
"Filesystem" = "win95"
"Path" = "/mnt/wind"
"Type" = "hd"
"Label" = "D_DRIVER"
"Filesystem" = "win95"
; make sure that device is correct and has proper permissions !
;; "Device" = "/dev/cdrom"
"Path" = "/tmp"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"
"Path" = "${HOME}"
"Type" = "network"
"Label" = "Home"
"Filesystem" = "win95"
;
;"Path" = "/"
;"Type" = "hd"
;"Label" = "root"
;"Filesystem" = "win95"
"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"
#
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win20,win30,win31)
"Windows" = "win2k"
; DOS version to imitate
;"DOS" = "6.22"
页:
[1]