PDA

View Full Version : Ubuntu, VirtualBox, and OSX (Tiger) Intel


brothamann
November 14th, 2007, 10:22 AM
Hello I'm new to Ubuntu and VirtualBox, and I have a problem. My system is the following

Apple 15-inch: 2.4GHz MacBook Pro (Tiger)


2.4GHz Intel Core 2 Duo
1440 x 900 resolution
2GB memory
NVIDIA GeForce 8600M GT graphics with 256MB SDRAM


and

Apple Cinema HD Display (30" flat panel)


2560 x 1600 resolution


Now, I was able to install Ubuntu 7.10 via VirtualBox successfully, but the it will not go fullscreen.

I have install guest additions in VirtualBox and press Left Apple - F and the resolution is still 1024x768. After installing the guest additions in VirtualBox my graphics card is vboxvideo is this correct and the resolution is set 1024x768.

Am I skipping a step? Is there a way is to set the resolution to 1440x900 on my MacBook Pro and when its connected to my Cinema Display to set that to 2560x1600?

I'm lost please help...

asjdfwejqrfjcvm msz34rq33
November 14th, 2007, 12:07 PM
On the Ubuntu VM, run this in the command-line:sudo dpkg-reconfigure -phigh xserver-xorgJust make sure that you pick resolutions for both full-screen and windowed mode. ;)

brothamann
November 14th, 2007, 01:37 PM
Thanks, I'm able to get 1440x900 but not 2560x1600, and now I have no cursor.

What did I do wrong?

asjdfwejqrfjcvm msz34rq33
November 14th, 2007, 01:50 PM
Thanks, I'm able to get 1440x900 but not 2560x1600, and now I have no cursor.

What did I do wrong?Can you post the output of this command?cat /etc/X11/xorg.conf

brothamann
November 14th, 2007, 02:07 PM
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "vboxvideo"
BusID "PCI:0:2:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-72
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Modes "1440x900" "1280x960" "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"

# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
EndSection

asjdfwejqrfjcvm msz34rq33
November 14th, 2007, 02:35 PM
OK, here's your file with the correct resolution settings:# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "vboxvideo"
BusID "PCI:0:2:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-72
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Modes "2560x1600" "1440x900" "1280x960" "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"

# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
EndSectionSave this somewhere in your home folder, and then run this:sudo cat /path/to/file > /etc/X11/xorg.confThis command will take the contents of the edited file, and put them in the real xorg.conf file.
I hope it works.

brothamann
November 14th, 2007, 02:50 PM
First I want to say thanks for everything.

"2560x1600" did not work, but "1440x900" did. Now I have no cursor.

What's next?

asjdfwejqrfjcvm msz34rq33
November 14th, 2007, 02:55 PM
First I want to say thanks for everything.

"2560x1600" did not work, but "1440x900" did. Now I have no cursor.

What's next?That's to bad about the resolution. It could be that the VirtualBox driver simply can't support that high a resolution.

To get your mouse back, run this and tell me what it says.ls /etc/X11/

brothamann
November 14th, 2007, 03:01 PM
ls /etc/X11/


app-defaults
cursors
default-display-manager
fonts
rgb.txt
x
xinit
xkb
xorg.conf
xorg.conf~
xorg.conf.bak
xorg.conf.failsafe
xorg.conf.failsafe.bak
Xresources
xserver
Xsession
Xsession.d
Xsession.options
Xwrapper.config

asjdfwejqrfjcvm msz34rq33
November 14th, 2007, 03:23 PM
Try running this:cd /etc/X11/
sudo mv ./xorg.conf.bak ./xorg.confThat should put your mouse back.

Vongzilla
November 24th, 2007, 06:05 PM
I had the same issue with Virtualbox (changed resolution to 1440x1050 and mouse cursor disappeared). To fix this, edit your xorg.conf file and change the mouse driver from 'mouse' to 'vboxmouse':

Section "InputDevice"
Identifier "Configured Mouse"
Driver "vboxmouse"

asjdfwejqrfjcvm msz34rq33
November 24th, 2007, 07:00 PM
I had the same issue with Virtualbox (changed resolution to 1440x1050 and mouse cursor disappeared). To fix this, edit your xorg.conf file and change the mouse driver from 'mouse' to 'vboxmouse':

Section "InputDevice"
Identifier "Configured Mouse"
Driver "vboxmouse"Thanks, I didn't know that.