Fedora Core 6系统安装VMware-tool

豆豆网   技术应用频道   2007年04月19日  【字号: 收藏本文

本文详细介绍Fedora Core 6系统安装VMware-tool

  +++ vmhgfs-only/driver.c-new 2006-10-28 15:34:07.000000000 -0300

  @@ -755,7 +755,7 @@

  /* Set the access mode. */

  inode->i_mode &= ~S_IRWXUGO;

  - inode->i_mode |= (attr->permissions << 6); /* Only applies to owner. */

  + inode->i_mode |= attr->permissions * 0111; /* Only applies to owner. */

  inode->i_nlink = 1; /* Bogus? */

  inode->i_uid = 0; /* This is bogus, should be the mount owner. */

  inode->i_gid = 0; /* This is bogus, should be the mount owner. */

  最后修改xorg config设置,不然重启后会报X-WINDOWS出错。

  进入/etc/X11/,用文本打开xorg.conf,加上以下几段:

  1、Section "Monitor"

  Identifier "vmware"

  EndSection

  Section "InputDevice"

  Identifier "Mouse0"

  Driver "vmmouse"

  Option "Protocol" "Auto"

  Option "Device" "/dev/input/mouse0"

  EndSection

  2、Section "Monitor"

  Identifier "Monitor0"

  ModelName "LCD Panel 1280x1024"

  HorizSync 31.5 - 67.0

  VertRefresh 50.0 - 75.0

  Option "dpms"

  EndSection

  然后找到 含有"ServerLayout" 的section, 在Section跟EndSection之间加上以下一行。

  InputDevice "Mouse0" "CorePointer"

责编:豆豆技术应用

正在加载评论...