Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo Guest Not Resizing
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
IceFreak2000
n00b
n00b


Joined: 04 Jan 2005
Posts: 26

PostPosted: Mon Jul 13, 2009 10:01 pm    Post subject: Gentoo Guest Not Resizing Reply with quote

OK, I apologise in advance for being a n00b, but I'm completely confused as to why this is happening.

I've installed an instance of Gentoo as a VirtualBox client running under Vista; I've got xorg-server, gnome-light and virtualbox-additions installed - xf86-input-virtualbox and xf86-video-virtualbox were pulled in automatically due to the INPUT_DEVICES and VIDEO_CARDS settings.

The mouse pointer integration is working fine, but auto-resizing guest window size functionality isn't - and I'm absolutely stuck. Can anyone help?

make.conf
Code:

CFLAGS="-O2 -pipe"
CXXFLAGS="-O2 -pipe"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="mmx sse sse2 X svg -qt3 -qt4 -arts -kde dbus gtk gnome hal avahi \
     mdnsresponder-compat"
MAKEOPTS="-j2"
INPUT_DEVICES="keyboard mouse virtualbox"
VIDEO_CARDS="vga virtualbox"


package.unmask
Code:

>=app-emulation/virtualbox-guest-additions-2.2.2


xorg.conf
Code:

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib64/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
        Load  "xtrap"
        Load  "record"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "vboxmouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        Identifier  "Card0"
        Driver      "vboxvideo"
        VendorName  "InnoTek Systemberatung GmbH"
        BoardName   "VirtualBox Graphics Adapter"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

_________________
"Life is like a sewer; what you get out of it depends on what you put into it" - Tom Lehrer
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Tue Jul 14, 2009 10:45 am    Post subject: Reply with quote

AFAIK the resize capability is a function of the host, not the guest - at least, it
is with Linux hosts. With them you have to install the client (?) software package
to get seamless mouse movements and resizeable windows. I don't know if
Windows is the same.

Will
Back to top
View user's profile Send private message
IceFreak2000
n00b
n00b


Joined: 04 Jan 2005
Posts: 26

PostPosted: Tue Jul 14, 2009 10:49 am    Post subject: Reply with quote

I'm fairly certain the problem isn't with my host OS (for once!); I've got an instance of Ubuntu installed using Virtualbox on the same system - resizing and mouse integration works perfectly.

I've got mouse integration working with the Gentoo installation, but resizing isn't working at all.
_________________
"Life is like a sewer; what you get out of it depends on what you put into it" - Tom Lehrer
Back to top
View user's profile Send private message
IceFreak2000
n00b
n00b


Joined: 04 Jan 2005
Posts: 26

PostPosted: Mon Jul 20, 2009 3:51 pm    Post subject: Reply with quote

I apologize in advance for bumping this thread, but I've still not managed to resolve this issue; any pointers please?
_________________
"Life is like a sewer; what you get out of it depends on what you put into it" - Tom Lehrer
Back to top
View user's profile Send private message
engineermdr
Apprentice
Apprentice


Joined: 08 Nov 2003
Posts: 297
Location: Altoona, WI, USA

PostPosted: Tue Jul 21, 2009 9:16 pm    Post subject: Reply with quote

I too am having the same problem with version 3.0.2 and earlier versions and would like to know the solution.
Back to top
View user's profile Send private message
engineermdr
Apprentice
Apprentice


Joined: 08 Nov 2003
Posts: 297
Location: Altoona, WI, USA

PostPosted: Thu Jul 23, 2009 3:00 am    Post subject: Reply with quote

I found I can run

Code:

VBoxClient --seamless
VBoxClient --resize
VBoxClient --clipboard


to get everything working. I'm going to add these to /etc/conf.d/local.start.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum