LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2042|回复: 6

suse 系统下的hgfs(vmware 下查看主机下的共享文件夹)在哪里?

[复制链接]
发表于 2010-4-20 22:16:34 | 显示全部楼层 |阅读模式
在xp上的VMWARE上装了suse 11。2版本,在vmware "setting"里也设置了“shared folder“且vmware-tools for linux 也安装上了,但是就是不知道如何在suse上查看xp上共享文件夹;网上千篇一律的都说在linux下查看xp下的共享文件夹应该从/mnt/hgfs,但是我进入/mnt怎么就没看到hgfs文件夹那?请朋友们可怜救救在下,先行谢过。
发表于 2010-4-21 09:15:34 | 显示全部楼层
没有在XP环境下用过,你可以查一查vmware的手册(帮助),还是很全面的。这种问题应该有。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-4-21 09:17:45 | 显示全部楼层
难道是我装vmware-tools的过程中,有什么不妥的地方?我把安装的整个过程索性全贴出来,哪位高人给指点一下,谢谢
wangyl@linux-fxiq:~> su                                          
口令:                                                            
linux-fxiq:/home/wangyl # cd /media                              
linux-fxiq:/media # ls                                            
.hal-mtab  .hal-mtab-lock  VMware Tools                           
linux-fxiq:/media # cd "VMware Tools"/                           
                                                      
linux-fxiq:/media/VMware Tools # ls                                
manifest.txt  VMwareTools-8.1.3-203739.tar.gz                     
linux-fxiq:/media/VMware Tools # mkdir /tmp/test2
linux-fxiq:/media/VMware Tools # cp *gz  /tmp/test2
linux-fxiq:/media/VMware Tools # cd  /tmp/test2
linux-fxiq:/tmp/test2 # ls                     
VMwareTools-8.1.3-203739.tar.gz               
linux-fxiq:/tmp/test2 # tar zxf *gz
linux-fxiq:/tmp/test2 # ls         
VMwareTools-8.1.3-203739.tar.gz  vmware-tools-distrib
linux-fxiq:/tmp/test2 # cd vmware-tools-distrib/     
linux-fxiq:/tmp/test2/vmware-tools-distrib # ls      
bin  doc  etc  FILES  INSTALL  installer  lib  vmware-install.pl
linux-fxiq:/tmp/test2/vmware-tools-distrib # ls                 
bin  doc  etc  FILES  INSTALL  installer  lib  vmware-install.pl
linux-fxiq:/tmp/test2/vmware-tools-distrib # ./*pl              
A previous installation of VMware Tools has been detected.      

The previous installation was made by the tar installer (version 4).                                                                  

Keeping the tar4 installer database format.

You have a version of VMware Tools installed.  Continuing this install will                                                           
first uninstall the currently installed version.  Do you wish to continue?                                                            
(yes/no) [yes] yes                                                

Uninstalling the tar installation of VMware Tools.

Stopping services for VMware Tools

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                                  done                                                               
   Virtual Printing daemon:                                        done                                                               
   Unmounting HGFS shares:                                         done                                                               
   Guest filesystem driver:                                        done                                                               

File /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangorc is backed up to                                                            
/usr/lib/vmware-tools/lib32/libconf/etc/pango/pangorc.old.1.      

This program previously created the file
/usr/lib/vmware-tools/libconf/etc/gtk-2.0/gtk.immodules, and was about to                                                            
remove it.  Somebody else apparently did it already.               

File /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangox.aliases is backed up                                                        
to /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangox.aliases.old.1.                                                               

File /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gdk-pixbuf.loaders is                                                            
backed up to                                                      
/usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gdk-pixbuf.loaders.old.1.                                                            

This program previously created the file
/usr/lib/vmware-tools/libconf/etc/pango/pangorc, and was about to remove it.                                                         
Somebody else apparently did it already.                           

File /etc/vmware-tools/vmware-user.desktop is backed up to
/etc/vmware-tools/vmware-user.desktop.old.1.               

File /usr/lib/vmware-tools/lib32/libconf/etc/fonts/fonts.conf is backed up to                                                         
/usr/lib/vmware-tools/lib32/libconf/etc/fonts/fonts.conf.old.1.   

This program previously created the file
/usr/lib/vmware-tools/libconf/etc/pango/pangox.aliases, and was about to remove                                                      
it.  Somebody else apparently did it already.                     

This program previously created the file
/usr/lib/vmware-tools/lib32/libconf/etc/pango/pango.modules, and was about to                                                         
remove it.  Somebody else apparently did it already.               

This program previously created the file
/usr/lib/vmware-tools/libconf/etc/gtk-2.0/gdk-pixbuf.loaders, and was about to                                                        
remove it.  Somebody else apparently did it already.               

File /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gtk.immodules is backed up                                                      
to /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gtk.immodules.old.1.                                                               

Restoring the kernel initrd image.:

Kernel image:   /boot/vmlinuz-2.6.31.12-0.2-desktop
Initrd image:   /boot/initrd-2.6.31.12-0.2-desktop
Root device:    /dev/sda2 (mounted on / as ext4)   
Resume device:  /dev/sda1                          
Kernel Modules: thermal_sys thermal scsi_transport_spi mptbase mptscsih mptspi ata_generic ide-core piix ide-pci-generic processor fan crc16 jbd2 ext4                                                   
Features:       block usb resume.userspace resume.kernel           
Bootsplash:     openSUSE (800x600)                                 
28141 块                                                           
File /etc/sysconfig/mouse is backed up to /etc/sysconfig/mouse.old.1.                                                                 

Shutting down HAL daemon                                done
Loading CPUFreq modules (CPUFreq not supported)            
Starting HAL daemon                                     done
The removal of VMware Tools 8.1.3 build-203739 for Linux completed
successfully.                                                      

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin]                                                  

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?                                                         
[/etc/init.d]                                                      

What is the directory that contains the init scripts?
[/etc/init.d]                                         

In which directory do you want to install the daemon files?
[/usr/sbin]                                                

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]                                      

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]                                      

The path "/usr/share/doc/vmware-tools" does not exist currently. This program                                                         
is going to create it, including needed parent directories. Is this what you                                                         
want? [yes] yes                                                   

The installation of VMware Tools 8.1.3 build-203739 for Linux completed                                                               
successfully. You can decide to remove this software from your system at any                                                         
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".                                                         

Before running VMware Tools for the first time, you need to configure it by                                                           
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want                                                        
this program to invoke the command for you now? [yes] yes         


Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                                  done                                                               
   Virtual Printing daemon:                                        done                                                               
   Unmounting HGFS shares:                                         done                                                               
   Guest filesystem driver:                                        done                                                               


The module vmmemctl has already been installed on this system by another                                                              
installer or package and will not be modified by this installer.  Use the flag                                                        
--clobber-kernel-modules=vmmemctl to override.                     

The module vmhgfs has already been installed on this system by another                                                               
installer or package and will not be modified by this installer.  Use the flag                                                        
--clobber-kernel-modules=vmhgfs to override.                       

The module vmxnet has already been installed on this system by another                                                               
installer or package and will not be modified by this installer.  Use the flag                                                        
--clobber-kernel-modules=vmxnet to override.                       

The module vmblock has already been installed on this system by another                                                               
installer or package and will not be modified by this installer.  Use the flag                                                        
--clobber-kernel-modules=vmblock to override.                     

The module vmsync has already been installed on this system by another                                                               
installer or package and will not be modified by this installer.  Use the flag                                                        
--clobber-kernel-modules=vmsync to override.                       

The module vmci has already been installed on this system by another installer                                                        
or package and will not be modified by this installer.  Use the flag                                                                  
--clobber-kernel-modules=vmci to override.                        

The module vsock has already been installed on this system by another installer                                                      
or package and will not be modified by this installer.  Use the flag                                                                  
--clobber-kernel-modules=vsock to override.                        

The module vmxnet3 has already been installed on this system by another                                                               
installer or package and will not be modified by this installer.  Use the flag                                                        
--clobber-kernel-modules=vmxnet3 to override.                     

The module pvscsi has already been installed on this system by another                                                               
installer or package and will not be modified by this installer.  Use the flag                                                        
--clobber-kernel-modules=pvscsi to override.                       



Detected X.org version 7.5.5.



The configuration file /etc/X11/xorg.conf can not be found. Do you want to                                                            
create a new one? (yes/no) [yes] yes                              

Shutting down HAL daemon                                done
Loading CPUFreq modules (CPUFreq not supported)            
Starting HAL daemon                                     done

X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux linux-fxiq 2.6.31.12-0.2-desktop #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 i686                        
Build Date: 02 November 2009  12:05:39PM                           
                                                                  
        Before reporting problems, check http://wiki.x.org         
        to make sure that you have the latest version.            
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,   
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.                                                                 
(++) Log file: "/tmp/vmware-config0/XF86ConfigLog.13444", Time: Wed Apr 21 09:09:40 2010                                             
(EE) Unable to locate/open config file: "/tmp/vmware-config0/XF86Config.13444"                                                        
(==) Using default built-in configuration (30 lines)               

X is running fine with the new config file.

Creating a new initrd boot image for the kernel.

Kernel image:   /boot/vmlinuz-2.6.31.12-0.2-desktop
Initrd image:   /boot/initrd-2.6.31.12-0.2-desktop
Root device:    /dev/sda2 (mounted on / as ext4)   
Resume device:  /dev/sda1                          
Kernel Modules: vmxnet vmxnet3 pvscsi thermal_sys thermal scsi_transport_spi mptbase mptscsih mptspi ata_generic ide-core piix ide-pci-generic processor fan crc16 jbd2 ext4                             
Features:       block usb resume.userspace resume.kernel           
Bootsplash:     openSUSE (800x600)                                 
28364 块                                                           
   Checking acpi hot plug                                          done                                                               
Starting VMware Tools services in the virtual machine:            
   Switching to guest configuration:                               done                                                               
   Guest operating system daemon:                                  done                                                               
   Virtual Printing daemon:                                        done                                                               

The configuration of VMware Tools 8.1.3 build-203739 for Linux for this running                                                      
kernel completed successfully.                                    

You must restart your X session before any mouse or graphics changes take
effect.

You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an X server session.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.

Enjoy,

--the VMware team
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-4-21 09:49:34 | 显示全部楼层
对了,我用的是本子不是台式机,总感觉安装vmware-tools过程中下面这一块有问题:
The configuration file /etc/X11/xorg.conf can not be found. Do you want to
create a new one? (yes/no) [yes] yes

Shutting down HAL daemon done
Loading CPUFreq modules (CPUFreq not supported)
Starting HAL daemon done

X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux linux-fxiq 2.6.31.12-0.2-desktop #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 i686
Build Date: 02 November 2009 12:05:39PM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/vmware-config0/XF86ConfigLog.13444", Time: Wed Apr 21 09:09:40 2010
(EE) Unable to locate/open config file: "/tmp/vmware-config0/XF86Config.13444"
(==) Using default built-in configuration (30 lines)

X is running fine with the new config file.

Creating a new initrd boot image for the kernel.

因为装到这儿一般应该让选择 屏幕分辨率,但是我的在这儿没让选择

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-4-21 11:22:33 | 显示全部楼层
可以肯定的是我的VMWARE-TOOLS for linux 肯定安装成功了,因为Unity按钮可以使用
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-4-21 16:20:21 | 显示全部楼层
有的网友(http://hi.baidu.com/slzlly/blog/ ... 38012f79.html)说
“要在执行一下vmware-config-tools.pl命令,然后默认就可以了“。我按照着做了一遍,还是不行!另外,vmware-config-tools.pl与vmware-install.pl有什么区别呀?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-4-21 20:46:55 | 显示全部楼层
这与客机系统版本内核有很大的关系,因为suse10.3版本经测试就可以
回复 支持 反对

使用道具 举报

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

本版积分规则

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