XmingのフォントパスはそもそもWindowsのディレクトリを指し示している。
フォント追加は以下のいずれかの方法。
- Windowsのディレクトリにフォントファイルをインストール
- coLinuxでフォントサーバを立ち上げ、Xmingで参照させる(Xming -fp tcp/192.168.0.40:7100 とか)
元々 C:\Windows/Fontsディレクトリは設定されているが、xfontselでは選択できない。謎。と言うことで今回は諦めた。フォント指定を手動でやればいけるか?
IO error reading <<filename>>: Operation not permittedWindowsのファイルを暗号化していると発生。途中のディレクトリが暗号化されていても良いので、当該ファイルの暗号化を解除する。
# The default kernel kernel=vmlinux cobd0="d:\coLinux\Debian-4.0r0-etch.ext3.1gb" #cobd0="d:\coLinux_ubuntu\Ubuntu-9.04.ext3.4gb.fs" # Swap device, should be an empty file with 128..512MB. cobd1="d:\coLinux_ubuntu\swap.img" cobd2="\Device\Cdrom0" #cobd3="d:\coLinux\oel-qemu.img" #cobd3="d:\coLinux_ubuntu\Ubuntu-9.04.ext3.4gb.fs" cofs0=C:\ cofs1=D:\ # Tell kernel the name of root device (mostly /dev/cobd0, # /dev/cobd/0 on Gentoo) # This parameter will be forward to Linux kernel. root=/dev/cobd0 # Additional kernel parameters (ro = rootfs mount read only) ro # Initrd installs modules into the root file system. # Need only on first boot. initrd=initrd.gz # Maximal memory for linux guest #mem=64 mem=512 # Slirp for internet connection (outgoing) # Inside running coLinux configure eth0 with this static settings: # ipaddress 10.0.2.15 broadcast 10.0.2.255 netmask 255.255.255.0 # gateway 10.0.2.2 nameserver 10.0.2.3 eth0=slirp # Tuntap as private network between guest and host on second linux device eth1=tuntap # Setup for serial device #ttys0=COM1,"BAUD=115200 PARITY=n DATA=8 STOP=1 dtr=on rts=on" # Run an application on colinux start (Sample Xming, a Xserver) #exec0=C:\Programs\Xming\Xming.exe,":0 -clipboard -multiwindow -ac"
auto lo eth0 eth1 iface lo inet loopback # primary network (slirp) iface eth0 inet static address 10.0.2.15 broadcast 10.0.2.255 netmask 255.255.255.0 gateway 10.0.2.2 # secandary network (tap-win32) iface eth1 inet static address 192.168.0.40 netmask 255.255.255.0 gateway 192.168.0.1
aptitude update
aptitude install wget
aptitude install language-pack-ja( http://cocelo.s201.xrea.com/wiki/index.php?Linux/coLinux/Ubuntu%209.04(Jaunty%20Jackalope)#u9d9ff3f)
"C:\Program Files\Xming\X0.hosts" localhost 192.168.0.40
wget -q https://www.ubuntulinux.jp/ubuntu-ja-archive-keyring.gpg -O- | sudo apt-key add - wget -q https://www.ubuntulinux.jp/ubuntu-jp-ppa-keyring.gpg -O- | sudo apt-key add - sudo wget https://www.ubuntulinux.jp/sources.list.d/jaunty.list -O /etc/apt/sources.list.d/ubuntu-ja.list sudo apt-get update
/etc/init.d/ntp stop
ntepdate 192.168.0.1
/etc/init.d/ntp start
cp -av bin dev etc home lib lost+found media opt root sbin srv sys tmp usr var /mnt/cobd0=c:\coLinux\newdisk.img