- install linux guest additions in virtual box
- Select from menu: Devices, Install Guest Additions... Ubuntu will detect a new CD inserted and mount it automatically.
- go to the terminal, run the VBoxLinuxAdditions.run as root
$ sudo /media/cdrom/VBoxLinuxAdditions-x86.run
- edit /etc/X11/xorg.conf using any text editor you're familiar with.
- Find section "Device" as follows:
Section "Device"
Insert additional setting so that the section "Device" will look as follows:
Identifier "Configured Video Device"
...
EndSectionSection "Device"
Identifier "Configured Video Device"
...
Driver "vboxvideo"
EndSection - Find section "Screen" as follows:
Section "Screen"
Modify value of Device and Monitor, and insert some additional setting before EndSection so that the section will look similar with the following (I set resolution 1024x768 here):
Identifier "Default Screen"
Device "VirtualBox graphics card"
Monitor "Generic Monitor"
...
EndSectionSection "Screen"
Identifier "Default Screen"
Device "VirtualBox graphics card"
Monitor "Generic Monitor"
DefaultDepth 24
....
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection - Finish, reboot.
Tuesday, March 31, 2009
How to change ubuntu resolution in Virtual Box
Today, I'm installing Ubuntu 8.04 in Virtual Box, with Vista as the host OS. I'm planning to use it as Qtopia development environment. After the installation is completed, I found that the maximum resolution I could set was only 800x600. After some googling, found the solution as follows:
Labels:
ubuntu
Friday, March 20, 2009
pppd segmentation fault
At work, I have to develop an embedded system sh3 with busybox and 2.6.12.6 kernel inside it. It is connected to gsm modem through ttySC1. After shutting down several times and rebooting, the pppd occasionally got segmentation fault. The suggestion from debian bug report solves my problem. It is pretty straightforward: Simply delete /var/run/pppd.tdb file (in my system, it is /var/run/pppd2.tdb).
That's all :)
That's all :)
Subscribe to:
Posts (Atom)