Top/article/Setting-to-install-Debian-on-VMware-over-Windows7
English | Japanese
English | Japanese

Menu

  • Top
  • Akihiko Yamaguchi 山口 明彦
  • Project プロジェクト
  • Text テキスト
  • Recent articles 最近の記事
  • Articles 記事一覧 (a to z)
  • Search 検索

Tags タグ †

  • [c++][bash][python][latex][php]
  • [linux][windows][mac][android]
  • [math][algorithm][idea][trick]
  • [liboctave][opencv][git][ros]
  • [setting][bug][general]
↑

Recent articles 最近の記事 †

2019-07-02
  • article/Display-Unix-Time
  • article/Synchronize-Linux-Time-to-Remote
2018-09-27
  • article/python-multimode-singleton
2018-09-02
  • article/rosinstall-git-default-remote
2017-07-28
  • article/SubMenu
2017-03-05
  • article/Import-a-different-version-of-OpenCV-in-Python
2015-08-17
  • article/DRC-finals-2015
2015-01-05
  • article/Upgrade-Android-to-Lollipop
2015-01-01
  • article/Kernel-panic-of-Linux-when-using-Xtion
  • article/Do-not-skip-freeing-data-when-using-tri-mesh-in-ODE
Access: 1/2731 - Admin
These search terms have been highlighted:[windows]

Setting to install Debian on VMware over Windows7

Debian を Windows7 上の VMware にインストールする場合の設定まとめ

[linux][windows][setting]
2010-05-07

VMware のできはとてもよろしいので,新しいPCにインストールするのと同じ感覚で Debian をインストールすることができた.しかし,キーバインドの設定など,若干トラブったので,まとめる.

環境 †

  • Vaio Z (VGN-Z93HS)
  • Windows7 (64bit)
  • VMware 上に Debian 5 (squeeze) をインストール
  • カーネルのバージョンは 2.6.32-3-686 (32bit)
  • デスクトップ環境は KDE4 (4.3.4)
↑

ネットワークの設定 †

  • VMware 側で Debian 用のネットワークアダプタの設定を「ブリッジ:物理ネットワークに直接接続」にするのがいいと思う
  • すると,特に Windows 側の設定を変更することなく Debian に ssh 接続できるようになる(もちろん,openssh-server をインストールしておく必要がある)
  • この場合,Windows と Debian で異なる IP を持つことになることに注意
↑

解像度の設定 †

  • デフォルトだと,解像度が 640x480 しかできない
  • KDE のシステム設定で変更しても,ログオフするともとに戻ってしまう
  • /etc/X11/xorg.conf を下のように書けばうまくいった(割とてきとう)
Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse" "CorePointer"
EndSection

Section "Files"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath        "unix/:7100"
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/local/share/fonts"
    FontPath        "/usr/share/fonts"
EndSection

Section "Module"
    Load           "bitmap"
    Load           "dbe"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "record"
    Load           "type1"
    Load           "vbe"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "jp106"
    Option         "XkbLayout" "jp"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "Emulate3Buttons" "true"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       1.0 - 1000.0
    VertRefresh     1.0 - 1000.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "vmware"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
  • VMware が「vmware-tools (名前はうろ覚え) をインストールしなさい」みたいなメッセージを出すので,インストールする.フルスクリーン表示ができるようになる
  • しかし,フルスクリーンにすると,フォントの DPI が変更されるらしく,フルスクリーン化の前後で起動したアプリケーション間で見た目のフォントサイズが異なる(腹立たしい)
  • KDE のシステム設定:外観:フォント:フォントのDPIを指定する:96 DPI のように設定するとうまくいく
↑

キーバインドを変更する †

  • まず Windows 上でレジストリをいじって Ctrl と CapsLock をスワップしておく(重要)
    • 参考: Windows VistaでCaps LockキーとCtrlキーを入れ替えるには(Windows7 でも同じ方法でいけた)
  • 余談だが,私は Windows7 上で yamy を起動していくつかのキーバインドを変更している(参考:Windows 7でCtrlとCapsLockを入れ替える方法).しかし,これは Debian には影響しない
  • Debian 上では xmodmap を使って,好きなようにキーバインドを設定する
  • NOTE: もし Windows 側で Ctrl と CapsLock をスワップせずに xmodmap でスワップさせようとすると,たぶん失敗する(同じ現象が報告されている.e.g.ubuntu on vmwareのインストールとキーマップの変更失敗)



Last-modified:2015-01-01 (Thu) 09:19:53 (3803d)
Site admin: Akihiko Yamaguchi.
Written by: Akihiko Yamaguchi.
System: PukiWiki 1.5.0. PHP 5.2.17. HTML conversion time: 0.011 sec.