VMPlayerã«åºã¥ãããã«ããŠãŒã¶ãŒã¯ãŒã¯ã¹ããŒã·ã§ã³ãäœæããéåžžãšã¯ç°ãªãæ¹æ³ã«ã€ããŠèª¬æããŸãã
ãã®ãœãªã¥ãŒã·ã§ã³ã¯åçšéçšçšã«éçºããããã®ã§ããã®åé¡ã®ãœãªã¥ãŒã·ã§ã³ãžã®ã¡ãã»ãŒãžãšããŠãè³Œå ¥ããæ©åšã®çŸåšã®ç¹æ§ã¯ãŠãŒã¶ãŒãšãŠãŒã¶ãŒã䜿çšãããœãããŠã§ã¢ã®ããŒãºãäžåããšè¿°ã¹ãããŸããã ãã¡ãããããã¯äž»ã«å žåçãªãªãã£ã¹ãã©ã³ã¯ãã³ãšå€ãã®åšèŸºãã¹ãã«é©çšãããŸãã ãŸããå®å šã«æ£åœåãããçç±ã«ããã管çè ãã¯ãŒã¯ã¹ããŒã·ã§ã³ã®æŽæ°èŠæ±ãæåŠããããŸãã¯æåŠããå¯èœæ§ãé«ã人ã®åé¡ã解決ããã®ã«ã圹ç«ã¡ãŸãã æ²ããããšã«ãããã¯èµ·ãããŸã...
ãœãªã¥ãŒã·ã§ã³ãé©çšã«å€ããããã«ãªãããã«ã次ã®èŠä»¶ãæ瀺ãããŸããã
- ãšã³ããŠãŒã¶ãŒã®ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ãšããŠãWindowsã¯ãã®ãŸãŸã«ããŠããå¿ èŠããããŸãã
- çæ³çã«ã¯ã2人ã®åŸæ¥å¡ã®ã·ã¹ãã ãŠãããã®ã³ã¹ãã¯ããã®æç¹ã§è³Œå ¥ããå žåçãªåŸæ¥å¡ã®ã³ã¹ãã«å¹æµããã¯ãã§ãã
- ãŠãŒã¶ãŒã®äœæ¥ã¯ã1å°ã®ã³ã³ãã¥ãŒã¿ãŒã䜿çšãããŠãããšããäºå®ã®ããã«ãèããé ããªã£ããäžå¿«ã«ãªã£ããããŠã¯ãªããŸããã
ããŠãå®éã«ã¯ãããžãã¹èŠä»¶ã¯æ確ã§ããããããœãªã¥ãŒã·ã§ã³ã«ç§»ãæãæ¥ãŸãã...
æè¡éš
éçºã¯çŸåšæ§ãããªãã©ã¡ãŒã¿ãŒïŒAMD Athlon 64 X2ãGeForce GT 440ãDDR II 4GbãHDD 320GBïŒãåããã¯ãŒã¯ã¹ããŒã·ã§ã³ã§å®æœãããŸãããçµæã¯ååã«åãå ¥ããããŸããããäžèšã®èŠä»¶ãæºããããã«æè¡ã³ã³ããŒãã³ããéžæããéã«ã¯ã以äžã®æšå¥šäºé ãèæ ®ããå¿ èŠããããŸãïŒ
- 2ã€ã®ã³ã¢ãæã€ããã»ããµ -åVMã«1ã€ãå²ãåœãŠãããŸãããã¡ãããææ°ã®ä»®æ³åãã¯ãããžã®ãµããŒããæãŸããå Žåã¯ããéãã¯ãŒã¯ã¹ããŒã·ã§ã³ã«è¿ãããã©ãŒãã³ã¹ãæåŸ ã§ããŸãã
- RAMã¯ç¹ã«é«äŸ¡ãªã³ã³ããŒãã³ãã§ã¯ãªããããåŸæããããšãªããè·å Žããšã«3Gbãèšç®ãããã¹ãã·ã¹ãã çšã«1Gbãèšç®ããæ¹ãè¯ãã§ãããã ãã ããç¹å®ã®ç¶æ³ã§ã¯ãåå Žæã§1.5 Gbã§åŠçã§ããå¯èœæ§ããããŸãã
- ä»®æ³ãã·ã³ãé 眮ãããããŒããã£ã¹ã¯ãã¯ãŒã¯ã¹ããŒã·ã§ã³ããšã«åå¥ã§ããããšãæãŸãããããã«ãããI / Oæäœã«ç¬ç«æ§ãäžããããä»®æ³ãã·ã³ã®çžäºå¹²æžãå°ãªããªããŸãã ã³ã¹ãåæžã®ç®æšãããé«ãåªå 床ã§ããå Žåããã®èŠä»¶ã¯çç¥ã§ããŸãã
- ãã¶ãŒããŒãã«ã¯ ãã§ããã°æ¢ã«2ã€ã®ãããªåºåãå¿ èŠã§ããããã«ãããå¥åã®ãããªã«ãŒããè³Œå ¥ããå¿ èŠããªããªããŸãã ãã ãããããªã«ãŒãã䜿çšãããå Žåãããã¶ãŒããŒãã«ãããªåºåããªãå Žåã¯ããã¡ããå€éšã䜿çšã§ããŸãã
åšèŸºæ©åšãã€ãŸãã¢ãã¿ãŒãããŒããŒããããŠã¹ã«é¢ãã泚æãããã€ããããŸããäžèŠå¥åŠã«èŠããŸãããå®è£ ã¯é£ãããªããã³ã¹ããããããŸãããããã¯ãœãªã¥ãŒã·ã§ã³èŠä»¶ãæºããããã«éèŠã§ãã
- ã¢ãã¿ãŒ ã¢ãã¿ãŒãéžæããå ŽåãDVIããã³VGAãããªåºåãåãããã¶ãŒããŒãã¯DVI-> VGAã¢ããã¿ãŒããµããŒãããªãããšã«æ³šæããŠãã ããã ãããã£ãŠã䜿çšå¯èœãªã¢ãã¿ãŒãšãããªåºåãäºãã«äžèŽããŠããããšã確èªããå¿ èŠããããŸãã
- ããŒããŒããšããŠã¹ ã ããã¯ããããã³ã¡ã³ãã§ã¯ãªãããããã®HIDããã€ã¹ã®éžæã«å¯Ÿããå¶éã§ãã ãŸãããã¹ãŠã®ããã€ã¹ãUSBã§ãªããã°ãªããŸããã 次ã«ãããããŒããŒãã®VIDïŒPIDãå¥ã®ããŒããŒãã®VIDïŒPIDãšäžèŽããŠã¯ãªããŸããã åãæ¡ä»¶ãããŠã¹ã«é©çšãããŸãã ç°¡åã«èšãã°ãããŒããŒãã¢ãã«ãšããŠã¹ã¢ãã«ã¯ç°ãªãå¿ èŠããããŸãã ãã®å¶éã¯ãVIDãšPIDã䜿çšããŠä»®æ³ãã·ã³éã§ããã€ã¹ãé åžãããšããäºå®ã«é¢é£ããŠããããã®æ¡ä»¶ãæºããããšã¯é£ãããªããããåãã¢ãã«ãæ¥ç¶ããå¯èœæ§ã¯æ€èšãããŠããŸããã
ããšãã°ããã¥ã¢ã«ã·ãŒãã®æšæºãšããŠæ¡çšããæ§æã瀺ããŸããIntelCore i3ãMBïŒDVI + VGAããªãŒãã£ãªãGLanïŒãHDD 500Gb x 2 ã
ãããã£ãŠãæè¡çãªéšåã¯èª¬æãããæ£åœåãããŸãã 次ã«ããœãããŠã§ã¢ã®è©°ã蟌ã¿ãšäœæ¥ã®ååã«ã€ããŠèª¬æããŸãã
æºåãã
ãããå§ããŸãããã ãã¥ã¢ã«ã·ãŒããäœæããã«ã¯ãããã€ãã®åºæ¬çãªã³ã³ããŒãã³ããæºåããå¿ èŠããããŸãã
ãã©ãããã©ãŒã
ãã¥ã¢ã«ã·ãŒãçšã®ãã©ãããã©ãŒã ãäœæããæåã®ã¹ãããã¯ãUbuntu Server 12.04 x64ã®ã€ã³ã¹ããŒã«ã§ãã ã·ã¹ãã ãããªãç°¡åã«ã€ã³ã¹ããŒã«ããåŸãæ®ãã®ã³ã³ããŒãã³ãã®æ©èœãä¿èšŒããããã±ãŒãžãæäŸãããšåæã«ãããã€ãã®æçšãªãŠãŒãã£ãªãã£ãæäŸããŸãã
apt-get install ...
å¿ èŠã«å¿ããŠããããªã«ãŒããã©ã€ããŒãã€ã³ã¹ããŒã«ããŸããapt-get install unclutter xinput libxcursor1 mc openssh-server binutils gcc x11-xserver-utils x11vnc xinetd alsa-base alsa-utils vim nodm fluxbox tofrodos ntfsprogs
ã€ã³ã¹ããŒã«åŸãã·ã¹ãã ã®èµ·åããŠãŒã¶ãŒã«ééçã§ããããã«ã·ã¹ãã ãæ§æããŸãããã¹ãã·ã¹ãã èªäœã®ã°ã©ãã£ãã¯ãã¶ã€ã³ã¯ç®ç«ãããããã«è¯ãããšã«ãå®å šã«ååšããªãããã«ããŸãã
èµ·åæã«Xã»ãã·ã§ã³ãèªåçã«éå§ããããã«èšèšãããnodmæ§æããå§ããŸãããã
/ etc / default / nodm
次ã«ã空ã®ã¯ãŒã¯ã¹ããŒã¹ãæŽçããããã«ãŠã£ã³ããŠãããŒãžã£ãŒãæ§æããŸãã ãããè¡ãã«ã¯ãfluxboxèšå®ã§ä»¥äžã®ãã©ã¡ãŒã¿ãŒãèšå®ããŸãã
/ etc / default / nodm
NODM_ENABLED=true NODM_USER=vm NODM_XINIT=/usr/bin/xinit NODM_XSESSION=/etc/X11/Xsession NODM_X_OPTIONS='vt7 -nolisten tcp' NODM_MIN_SESSION_TIME=60
/home/vm/.fluxbox/init
ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ãæºåãããLelikãæ ç»ãDiamond Handãããèšãããã«-ãã·ã§ããæºåãã§ããŸãããã·ã¹ãã ã¯ãã€ãºãã»ãããªãã§ããŒããããŸããã
/home/vm/.fluxbox/init
session.screen0.toolbar.visible: false session.screen0.workspaces: 1
次ã«ãVMWareã®å ¬åŒWebãµã€ãããVMPlayerã®ææ°ããŒãžã§ã³ãããŠã³ããŒãããŸãã ã€ã³ã¹ããŒã«ã¯éåžžã«ç°¡åã§ãããvmplayerãèµ·åããªãå Žåãã€ã³ã¹ããŒã«çŽåŸã«ãããã®ã€ã³ã¹ããŒã«ãå¿ èŠã«ãªãå ŽåããããŸã ã ããããä»®æ³ãã·ã³ã®æ倧ã®å¿çæ§ãéæããããã«ã
å°ããªãã¥ãŒãã³ã°ã·ã¹ãã ãšãã€ããŒãã€ã¶ãŒ
/ etc / vmware / config
/etc/sysctl.conf
/ etc / fstab
ãµã€ãºã®å€ã¯ãã€ã³ã¹ããŒã«ãããŠããRAMã®éã«äŸåããäž¡æ¹ã®ä»®æ³ãã·ã³ã«å²ãåœãŠãããéã«1 Gbãå ããå€ããå°ããããããšã¯ã§ããŸããã ããã¯ã以äžã§å®è¡ããããã¥ãŒãã³ã°ã«ãããã®ã§ãã
mainMem.useNamedFile="FALSE" tmpDirectory="/run/shm" prefvmx.useRecommendedLockedMemSize="TRUE" prefvmx.minVmMemPct="100"
/etc/sysctl.conf
vm.swappiness=0 vm.overcommit_memory=1 vm.dirty_background_ratio=5 vm.dirty_ratio=10 vm.dirty_expire_centisecs=1000 dev.rtc.max-user-freq=1024
/ etc / fstab
ãµã€ãºã®å€ã¯ãã€ã³ã¹ããŒã«ãããŠããRAMã®éã«äŸåããäž¡æ¹ã®ä»®æ³ãã·ã³ã«å²ãåœãŠãããéã«1 Gbãå ããå€ããå°ããããããšã¯ã§ããŸããã ããã¯ã以äžã§å®è¡ããããã¥ãŒãã³ã°ã«ãããã®ã§ãã
tmpfs /run/shm tmpfs size=8G
ã·ã¹ãã ç°å¢
次ã«ãã·ã¹ãã ç°å¢ãæºåããå¿ èŠããããŸãããŠãŒã¶ãŒãšããã€ãã®ãã©ã«ããŒãäœæããŸãã
- vmã¯ãnodmã«ãã°ã€ã³ããããããä»®æ³ãã·ã³ãèµ·åãããŠãŒã¶ãŒã§ãã
- / home / vm / user01ããã³/ home / vm / user02ã¯ããŠãŒã¶ãŒä»®æ³ãã·ã³ã®ãã©ã«ããŒã§ãã ã·ã¹ãã ã«2å°ã®ããŒããã©ã€ããçšæãããŠããå Žåã2çªç®ã®ããŒããã©ã€ãããããã®ãã©ã«ããŒã®ããããã«ããŠã³ãããå¿ èŠããããŸãã
ä»®æ³ã¯ãŒã¯ã¹ããŒã·ã§ã³
ä»®æ³ãã·ã³ã®äœæãšã·ã¹ãã ã®ã€ã³ã¹ããŒã«ã¯ããªãã«ä»»ãããŸãããã®ããã»ã¹ã¯ã»ãšãã©ã®èªè ã«ãªãã¿ããããšæããŸãã ããããç®æšã¯ãŠãŒã¶ãŒã®å¿«é©ãªä»äºã§ããããããŸã ããã€ãã®æšå¥šäºé ããããŸãã
- éåžžã«éå¹ççãªä»®æ³ãã£ã¹ã¯ãµãã·ã¹ãã ãååŸãããããä»®æ³ãã£ã¹ã¯ã¯ã·ã¹ãã ã«é¢ä¿ãªãSCSIã§ããå¿ èŠããããIDEãéžæããå¿ èŠã¯ãããŸããã
- æªäœ¿çšã®æ©åš ïŒããªã³ã¿ãŒããããããŒãã£ã¹ã¯ãã·ãªã¢ã«ããŒããªã©ïŒã¯ãä»®æ³ãã·ã³æ§æããåé€ããå¿ èŠããããŸãã
- VMWareããŒã«ã¯ãã²ã¹ãã·ã¹ãã ãå¹æçã«éçšããããã®åææ¡ä»¶ã§ãã
以äžã®ã¹ã¯ãªããã®éèŠãªèŠåïŒ
- äž¡æ¹ã®vmxãã¡ã€ã«ã®ååã¯workstation.vmxãšäºæ³ãããŸãã
- ä»®æ³ãã·ã³åã¯ãããããuser00ãšuser01ã§ãªããã°ãªããŸããã
ä»®æ³ã¯ãŒã¯ã¹ããŒã·ã§ã³ãæºåãããããããã®å Žæã«é 眮ãããåŸããã¥ãŒãã³ã°ãå®è¡ããåã³æ倧ã®ããã©ãŒãã³ã¹ãçµã蟌ã¿ãŸãã
/home/vm/user00/workstation.vmxããã³/home/vm/user01/workstation.vmx
/home/vm/user00/workstation.vmxããã³/home/vm/user01/workstation.vmx
mem.ShareScanTotal=0 mem.ShareScanVM=0 mem.ShareScanThreshold=8192 # sched.mem.maxmemctl=0 sched.mem.pshare.enable = "FALSE" mainMem.useNamedFile = "FALSE" MemTrimRate = "0" MemAllowAutoScaleDown = "FALSE"
ãã¹ãŠã®ã³ã³ããŒãã³ãã¯æºåããã³æé©åãããŠããããã¹ãŠããŸãšããŠããã€ãã®ã¹ãããŒã¯ãè¿œå ããŸãã
ã·ã¹ãã èµ·åæ§æ
ãã¥ã¢ã«ã·ãŒããéå§ããã«ã¯ã/home/vm/.fluxbox/startupã䜿çšã
/home/vm/.fluxbox/startup
ããã®å 容ã¯ãé çªã«ã³ã¡ã³ãããŠã以äžã«ç€ºããŸãïŒã¢ãã¿ãŒèšå®ã«æ³šæããŠãã ããïŒã
/home/vm/.fluxbox/startup
/home/vm/.fluxbox/startup
ã·ã¹ãã ã®ãã¹ãŠã®è©Šè¡ããªãã«ããŠãç»é¢ããåºåãããŸãã
ããã©ã«ãã§ã¯ã2å°ã®ã¢ãã¿ãŒãæã€ã·ã¹ãã ã¯ã¯ããŒã³ã¢ãŒãã§èµ·åããŸããããã¯ãäž¡æ¹ã®ã¢ãã¿ãŒã§åãç»åã衚瀺ããããšãã§ãã æ£ãã衚瀺ãæ§æããã«ã¯ãïŒ
ã®æ§æã®ä»£ããã«ïŒ
ãŠãŒãã£ãªãã£ã䜿çšããŸãã
åã¢ãã¿ãŒã§äœ¿çšå¯èœãªè§£å床ãååŸããã«ã¯ã
ã³ãã³ãã䜿çšããŸãã DVIåºåã·ã¹ãã ãHDMIãšããŠè¡šç€ºãããŠããããšã«æ³šæããå¿ èŠããããŸãã
äž¡æ¹ã®ã¢ãã¿ãŒã¯ãfluxboxã®èµ·åæã«èšå®ãããããã«ã¯æ¬¡ã®è¡ã䜿çšãããŸãïŒè¡ã®é åºãéèŠã§ãïŒããã¡ãããç¬èªã®å€ãå¿ èŠã§ãã
ã·ã¹ãã ã«ãŒãœã«ã¯å¿ èŠãããŸããããããèªäœã¯åžžã«è¡šç€ºããããŸãŸãªã®ã§ããã®ããã«ããŠãæ¶ããããšãã§ããŸãã
ã°ã©ãã£ã«ã«ã·ã§ã«ãèµ·åããä»®æ³ãã·ã³èªäœãèµ·åããçŽåŸ
ã·ã¹ãã ã®ãã¹ãŠã®è©Šè¡ããªãã«ããŠãç»é¢ããåºåãããŸãã
xset -dpms xset s off setterm -blank 0 setterm -powerdown 0
ããã©ã«ãã§ã¯ã2å°ã®ã¢ãã¿ãŒãæã€ã·ã¹ãã ã¯ã¯ããŒã³ã¢ãŒãã§èµ·åããŸããããã¯ãäž¡æ¹ã®ã¢ãã¿ãŒã§åãç»åã衚瀺ããããšãã§ãã æ£ãã衚瀺ãæ§æããã«ã¯ãïŒ
xorg.conf
ã®æ§æã®ä»£ããã«ïŒ
xrandr
ãŠãŒãã£ãªãã£ã䜿çšããŸãã
åã¢ãã¿ãŒã§äœ¿çšå¯èœãªè§£å床ãååŸããã«ã¯ã
xrandr -q
ã³ãã³ãã䜿çšããŸãã DVIåºåã·ã¹ãã ãHDMIãšããŠè¡šç€ºãããŠããããšã«æ³šæããå¿ èŠããããŸãã
äž¡æ¹ã®ã¢ãã¿ãŒã¯ãfluxboxã®èµ·åæã«èšå®ãããããã«ã¯æ¬¡ã®è¡ã䜿çšãããŸãïŒè¡ã®é åºãéèŠã§ãïŒããã¡ãããç¬èªã®å€ãå¿ èŠã§ãã
# VGA xrandr --output VGA1 --mode 1280x1024 # HDMI xrandr --output HDMI1 --mode 1920x1080 # HDMI VGA xrandr --output HDMI1 --left-of VGA1 # HDMI ( ) xrandr --output HDMI1 --primary
ã·ã¹ãã ã«ãŒãœã«ã¯å¿ èŠãããŸããããããèªäœã¯åžžã«è¡šç€ºããããŸãŸãªã®ã§ããã®ããã«ããŠãæ¶ããããšãã§ããŸãã
unclutter -idle 1 -root &
ã°ã©ãã£ã«ã«ã·ã§ã«ãèµ·åããä»®æ³ãã·ã³èªäœãèµ·åããçŽåŸ
exec fluxbox & fbpid=$! sleep 1 { /home/vm/user00/start & # VM00 /home/vm/user01/start & # VM01 } & wait $fbpid
以äžã¯ãä»®æ³ãã·ã³èªäœãèµ·åããããã®ã¹ã¯ãªããã§ããæåã«ãã¿ãŒã²ãããã·ã³ãæ¢ã«å®è¡ãããŠãããã©ããã確èªããŸãã 次ã«ãèµ·åèªäœã«
check_shutdown
ã¹ã¯ãªãããä»éããŸãããã®ã¹ã¯ãªããã¯ãVMããªãã«ãªã£ãçŽåŸã«å®è¡ãããŸãã äž¡æ¹ã®ãžã§ãããªãã«ãããšãã«ã³ã³ãã¥ãŒã¿ãŒã®é»æºããªãã«ããå¿ èŠããããã©ããã確èªããå¿ èŠããããŸãã
ä»®æ³ãã·ã³ãèµ·åããããã®ã¹ã¯ãªãã
/ home / vm / user00 /ã¹ã¿ãŒã
/ home / vm / user01 /ã¹ã¿ãŒã
/ home / vm / check_shutdown
ãã¹ã¯ãŒããå ¥åããã«
ãå®è¡ããã«ã¯ã
次ã®è¡ãè¿œå ããå¿ èŠããã
ã
if ps ax | grep -v grep | grep -P "vmplayer.*user00" > /dev/null then exit else /usr/bin/vmplayer -X /home/vm/user00/workstation.vmx && /home/vm/check_shutdown & fi
/ home / vm / user01 /ã¹ã¿ãŒã
if ps ax | grep -v grep | grep -P "vmplayer.*user01" > /dev/null then exit else /usr/bin/vmplayer -X /home/vm/user01/workstation.vmx && /home/vm/check_shutdown & fi
/ home / vm / check_shutdown
if ps ax | grep -v grep | grep vmplayer > /dev/null then exit 0 else sudo shutdown -h now fi
ãã¹ã¯ãŒããå ¥åããã«
sudo shutdown
ãå®è¡ããã«ã¯ã
/etc/sudoers
次ã®è¡ãè¿œå ããå¿ èŠããã
/etc/sudoers
ã
vm ALL=NOPASSWD: /sbin/shutdown
åé¢
次ã«ããžã§ãéã§ãªãœãŒã¹ãåé¢ãå§ããŸãã
ã¢ãã¿ãŒ
ããããç¬èªã®ã¢ãã¿ãŒã§ä»®æ³ãã·ã³ãèµ·åããã«ã¯ãfluxboxãŠã£ã³ããŠãããŒãžã£ãŒã®æ©èœã䜿çšããŸãããã®æ©èœã§ã¯ãèµ·åæã®ä»®æ³ãã·ã³ã®å Žæã®ã«ãŒã«ã
/home/vm/.fluxbox/apps
ãã¡ã€ã«ã§æå®ãããŸãã
/home/vm/.fluxbox/apps
/home/vm/.fluxbox/apps
# VMPlayer user00 [app] (title=.*user00.*) # 2 [Head] {2} # [Deco] {NONE} # [Minimized] {yes} [end] # VMPlayer user00 [app] (title=.*user01.*) # 1 [Head] {1} # [Deco] {NONE} # [Minimized] {yes} [end] # Other applications [app] (title=.*) [Jump] {no} # [Workspace] {1} [Position] (CENTER) {0 0} [Layer] {12} [end]
VMPlayerã¯æå°åãããŠèµ·åããŸããããã¯ããŠãŒã¶ãŒã«VMPlayerã·ã§ã«ã®èµ·åã衚瀺ãããªãããã«ããããã§ãã ãã ãããã®å¹æãæåŸãŸã§æ©èœãããã«ã¯ãVMPlayerã®èšå®ã§ãé»æºæå ¥åŸã«ãã«ã¹ã¯ãªãŒã³ã¢ãŒãã«å ¥ãããªãã·ã§ã³ã確èªããããåçã®æ¹æ³ãšããŠ
gui.viewModeAtPowerOn = "fullscreen"
ãã©ã¡ãŒã¿ãŒãèšå®ãã
gui.viewModeAtPowerOn = "fullscreen"
ããã
workstation.vmx
ã
NVidiaãŸãã¯Radeonãããªã«ãŒããããããã©ã€ããŒãã€ã³ã¹ããŒã«ããå Žåã ã3Dã°ã©ãã£ãã¯ã¹ãå éããããªãã·ã§ã³ããã§ãã¯ããããšã§ãä»®æ³ãããªããã€ã¹ã«å¯Ÿããã¢ã¯ã»ã©ã¬ãŒã¿ãŒã®3Dã¢ã¯ã»ã©ã¬ãŒã¿ãŒæ©èœãå®å šã«äœ¿çšã§ããŸãã
workstation.vmx
ã§ã¯ã
mks.enable3d = "TRUE"
ãã©ã¡ãŒã¿ãŒããããæ åœããŸãã
ããŒããŒããšããŠã¹
ãããã®HIDããã€ã¹ãé åžããããã«ãVMPlayerã¯å°çšã®USBæ©åšããã£ããã£ã§ããŸãã ããã€ã¹ãé åžããåã«ã
lsusb
ãŠãŒãã£ãªãã£ã䜿çšããŠVIDãšPIDã
lsusb
ãŸãã ããã€ã¹ã®ãã¹ãŠã®èå¥åãèŠã€ãã£ãããå
workstation.vmx
次ã®ãã©ã¡ãŒã¿ãŒãæžã蟌ã¿
workstation.vmx
ã
/home/vm/user00/workstation.vmxããã³/home/vm/user01/workstation.vmx
/home/vm/user00/workstation.vmxããã³/home/vm/user01/workstation.vmx
# vmmouse.present = "FALSE" usb.generic.allowHID = "TRUE" svga.noHWCursor = "TRUE" # c VID=0458 PID=010e usb.quirks.device0 = "0x0458:0x010e allow" usb.autoConnect.device0 = "0x0458:0x010e" # c VID=0566 PID=3107 usb.quirks.device1 = "0x0566:0x3107 allow" usb.autoConnect.device1 = "0x0566:0x3107"
USB
ãã¹ãŠã®USBããã€ã¹ã¯2ã€ã®ã«ããŽãªã«åé¡ã§ããŸããæ°žç¶çã«æ¥ç¶ãããŠãããã®ãšãæäœäžã«æ¥ç¶ãããŠãããã®ã§ãã
æä¹ çã«æ¥ç¶ããããã®ã«ã¯åé¡ã¯ãããŸããããããã¯ãåæ§ã®
usb.autoConnect.device
N
ãã©ã¡ãŒã¿ãŒãšããŠã¹ãšããŒããŒãã®æ¥ç¶ã«äœ¿çšããã
lsusb
ãŠãŒãã£ãªãã£ã䜿çšããŠã察å¿ããworkstation.vmxã«ç»é²ãããŸãã
æäœäžã«USBããã€ã¹ãæ¥ç¶ããã«ã¯ã2ã€ã®ãªãã·ã§ã³ããããŸãã æåã®ãªãã·ã§ã³ã¯ããã¹ãŠã®USBããã€ã¹ã1å°ã®ãã·ã³ã«ã®ã¿ã¹ããŒãããå Žåã§ãã ãããè¡ãã«ã¯ããã®ãã·ã³ã®workstation.vmxãã¡ã€ã«ã§ããã©ã¡ãŒã¿ãŒ
usb.generic.autoconnect=TRUE
èšå®ããä»ã®ãã©ã¡ãŒã¿ãŒã§ãããã
usb.generic.autoconnect = "FALSE"
ãŸãã
ãŠãŒã¶ãŒãèªåã§æ¥ç¶ããªããUSBããã€ã¹ãé åžã§ããããã«ãã2çªç®ã®ãªãã·ã§ã³ã¯ãUSB over IPãã¯ãããžãŒã䜿çšããããšã§ãã ãã®æ¹æ³ã¯å€å°è²»çšãããããŸãããåé¡ã¯è§£æ±ºããŸãã ãã®åé¡ã¯æ¬¡ã®ããã«è§£æ±ºãããŸãããµãŒããŒéšåã¯ãã¹ãã«ã€ã³ã¹ããŒã«ãããUSBããã€ã¹ãå ±æããã¯ã©ã€ã¢ã³ãã¯ã²ã¹ãã·ã¹ãã ã«ã€ã³ã¹ããŒã«ãããŸãã æ®å¿µãªããããªãŒãã³ãœãŒã¹ã®usb / ipãããžã§ã¯ãã¯ç²éã§ããããšãå€æãã蚱容ã§ããçµæãéæã§ããŸããã§ããã ç·æ¥ã®ããŒãºã«ã¯ãåžè²©ã®è£œåã䜿çšã§ããŸããããšãã°ãLinuxãªãã€ã¬ã¯ã¿ïŒãã®éšåã¯ç¡æïŒãšUSBãªãã€ã¬ã¯ã¿ã¯ã©ã€ã¢ã³ãïŒããã«ã¯è²»çšãããããŸãïŒã䜿çšããŸããã
æåŸã®ã¿ãã
ãœãªã¥ãŒã·ã§ã³ãå®äºããã«ã¯ã次ã®ã·ããªãªãæ©èœããã¯ãã§ãã
- ã·ã¹ãã ãŠãããããªã³ã«ãããšãä»®æ³ãã·ã³ãèªåçã«èµ·åããŸãã
- é£æ¥ããè·å Žãæ©èœããŠããå Žåã§ããåã¯ãŒã¯ã¹ããŒã·ã§ã³ã®ãªã³/ãªããåãæ¿ããããšãã§ããŸãã
- ãã¹ãŠã®ãžã§ãããªãã«ãããšãã·ã¹ãã è£ çœ®ããªãã«ãªããŸãã
ãã€ã³ã1ããã³3ã¯ãäžèšã®ã¹ã¯ãªããã䜿çšããŠå®è£ ãããŸãã ãã€ã³ã2ã¯éšåçã«å®è£ ãããŠããŸãã ä»®æ³ãã·ã³ã®1ã€ããªãã«ããŠãã2çªç®ã®ä»®æ³ãã·ã³ã¯åäœãç¶ããŸãã ãããããã·ã³ãåã³ãªãã«ããæ¹æ³ã¯ïŒ 質åã¯éåžžã«ãšã¬ã¬ã³ãã«è§£æ±ºãããŸãããã®ããã«ãä»®æ³ãã·ã³ãèµ·åããããã«é»æºãã¿ã³ïŒããã¯ã·ã¹ãã ãŠãããã«ãããã¿ã³ïŒãåããŸãã ãããè¡ãã«ã¯ã
/home/vm/.fluxbox/keys
ãã¡ã€ã«ã«ããã€ãã®è¡ã
/home/vm/.fluxbox/keys
ãŸãã
/home/vm/.fluxbox/keys
/home/vm/.fluxbox/keys
124 :Exec /home/vm/user00/start & /home/vm/user01/start 133 :Exec /home/vm/user00/start & /home/vm/user01/start
ãã®æ§æã®åŸããŠãŒã¶ãŒã¯éåžžã©ããèªåã®è»ã®é»æºãå ¥ããŸãã
çµæ
ãœãªã¥ãŒã·ã§ã³å šäœãæ瀺ããããšããŸãããããã§ã«å€§ãããªããããèšäºãæ£ããããªãããã«è©³çŽ°ãçç¥ããŸããããã¥ã¢ã«ã·ãŒãã®çµã¿ç«ãŠã劚ããªãããšãé¡ã£ãŠããŸããæ¬åœã«ãã®ãããªæ¬²æ±ãããã°ãçµã¿ç«ãŠããã»ã¹äžã«çãããã¹ãŠã®è³ªåã«çããæºåãã§ããŠããŸãã
å€ãã®èšå®ãšææ³ã¯æ¢ã«äœ¿çšå¯èœã§ãããšããäºå®ã«ãããããããããããèŠã€ããããšã¯ç°¡åãªäœæ¥ã§ã¯ãªãã£ãã®ã§ãç¡æ¡ä»¶ã«æ£åœåãããçç±ã§åãå ¥ããããªããœãªã¥ãŒã·ã§ã³ãèŠã€ãã人ã«ãšã£ãŠãèšäºã圹ç«ã€ããšãé¡ã£ãŠããŸãã
ã©ã®ããã«æ©èœããŸããïŒ
ãœãªã¥ãŒã·ã§ã³ã¯æ¬åœã«æ©èœããŸãã ãã¥ã¢ã«ã·ãŒããã«ãã¯å®éã«ã¯æå°åãããŠããŸãã ã·ã¹ãã ã®ã€ã³ã¹ããŒã«åŸãã¹ã¯ãªããã¯è¿œå ã®ããã±ãŒãžvmplayerãã€ã³ã¹ããŒã«ããåè¿°ã®ãã¹ãŠã®æ§æãšã¹ã¯ãªãããã³ããŒããŸãã ä»®æ³ãã·ã³ã¯ãåã«ããŽãŒã«ãã³ãã³ãã¬ãŒããã䜿çšããŠè€è£œãããŸãã æçµçã«ãå°ã調æŽããå¿ èŠããããŸããã¢ãã¿ãŒã®æ£ãã解å床ãèšå®ããåºå®ããã€ã¹ãæ¥ç¶ããUSBã§ã®äœæ¥ãæ§æããŸãã
ã·ã¹ãã ã®å¿çæ§ã¯ãã»ãšãã©ã®åŸæ¥å¡ã«ãšã£ãŠèš±å®¹ç¯å²ãè¶ ããŠããŸãã ãã¡ãããäžè¬çãªäœ¿çšã¯è¡ããŸãããããã®ãœãªã¥ãŒã·ã§ã³ãæé©ãªçµç¹ãšãžã§ãã®æŽæ°ã«é¢ããå€ãã®è³ªåãéããŸããã
ãæž èŽããããšãããããŸãããããããããããããšãé¡ã£ãŠããŸãã