Page 1 of 1

vboxclient autoresize not starting in openSuse 10

Posted: 16. Jun 2009, 14:34
by jacaru
Hello all

I have a minor problem with virtual box

Configuration:

Host: Vista SP1
Guest: OpenSuse 10 (no 3d acceleration available due to old kernel)
VBox version: 2.2.4

Problem in guest:

VBoxClient --autoresize does not start

VBoxClient --clipboard and --seamless start ok.

I have removed all resolution specification of the xorg.conf (but still no-go):

Code: Select all

# Sample xorg.conf from Ubuntu

Section "Device"
   Identifier   "Configured Video Device"
   Driver      "vboxvideo"
EndSection

Section "Monitor"
   Identifier   "Configured Monitor"
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Monitor      "Configured Monitor"
   Device      "Configured Video Device"
EndSection

Section "InputDevice"
        Identifier  "vboxmouse"
        Driver          "vboxmouse"
        Option          "CorePointer"
        Option          "Device"        "/dev/input/mice"
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"        0 0
        InputDevice     "vboxmouse"
EndSection
Is there any place to see any log or debug information of VBoxClient?

Thanks for any help you can give.

Re: vboxclient autoresize not starting in openSuse 10

Posted: 16. Jun 2009, 15:26
by Perryg
Run the "install guest additions" again since you have fixed the xorg.conf or use /etc/init.d/vboxadd setup to complie the GA for use on X
Watch closely for error messages in the terminal window. Furthermore the logs are located in /var/log/vboxadd-install.log
By the way the information you give states OpenSUSE but the xorg you show states Ubuntu. Are you sure that you have removed all the mode lines in the OpenSUSE xorg.conf?

Re: vboxclient autoresize not starting in openSuse 10

Posted: 16. Jun 2009, 18:35
by jacaru
Hello

The Ubuntu xorg.conf was one I was trying with that I took off some forum.

I followed your instructions. Still not working:

Code: Select all

/home/reedpc> ps -fe | grep VB
reedpc    3173     1  0 18:19 ?        00:00:00 /usr/bin/VBoxClient --clipboard
reedpc    3183     1  0 18:19 ?        00:00:00 /usr/bin/VBoxClient --seamless
This is the xorg.conf I ended up with after removing mode lines and then installing the guest additions:

Code: Select all

# /.../
# SaX generated X11 config file
# Created on: 2009-06-16T17:59:04+0200.
#
# Version: 7.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (7.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/local"
  FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/URW"
  FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/kwintv"
  FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath     "/usr/X11R6/lib/X11/fonts/uni:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/CID"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail" "on"
EndSection

Section "Module"
  Load         "dbe"
  Load         "type1"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
  Load         "v4l"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "es"
  Option       "XkbModel" "pc105"
  Option       "XkbRules" "xfree86"
EndSection


Section "InputDevice"
    Driver      "vboxmouse"
    Option      "CorePointer"
  Identifier   "Mouse[1]"
  Option       "Buttons" "7"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "ImExPS/2 Generic Explorer Mouse"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
  DisplaySize  406 305
  HorizSync    28-76
  Identifier   "Monitor[0]"
  ModelName    "1600X1200@60HZ"
  Option       "DPMS"
  VendorName   "--> LCD"
  VertRefresh  50-61
EndSection

Section "Screen"
  DefaultDepth 24
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "Vesa-BIOS Graphics"
  BusID        "0:2:0"
    Driver      "vboxvideo"
  Identifier   "Device[0]"
  Option       "usevnc" "no"
  VendorName   "VESA"
EndSection


Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection


Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
EndSection
This is the installation out:

Code: Select all

/media/VBOXADDITIONS_2_2_4_47978> sudo sh VBoxLinuxAdditions-x86.run
root's password:
Verifying archive integrity... All good.
Uncompressing VirtualBox 2.2.4 Guest Additions for Linux installation..............................................................................................................................................................................................................................
VirtualBox 2.2.4 Guest Additions installation
This system does not seem to have support for OpenGL direct rendering.
VirtualBox requires Linux 2.6.27 or later for this.  Please see the log
file /var/log/vboxadd-install.log if your guest uses Linux 2.6.27 and you still see this message.
Building the VirtualBox Guest Additions kernel module...
Building the shared folder support kernel module...
Installing the VirtualBox Guest Additions...

Successfully installed the VirtualBox Guest Additions.
You must restart your guest system in order to complete the installation.
The install is succesful; this is the only significant thing on vboxadd-install.log:

Code: Select all

/tmp/selfgz595323671/module/test_drm/test_drm.c:12:22: error: drm/drmP.h: No such file or directory
make[4]: *** [/tmp/selfgz595323671/module/test_drm/test_drm.o] Error 1
make[3]: *** [_module_/tmp/selfgz595323671/module/test_drm] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make: *** [vboxadd_test_drm] Error 2

Building the test kernel module vboxadd_test_drm failed.
Any more ideas?
Thanks.

Re: vboxclient autoresize not starting in openSuse 10

Posted: 16. Jun 2009, 18:44
by Perryg
It appears to have installed correctly with the exception of the 3D effects. You need to look at the machine tab and make sure that auto-resize is not gray and that you can click on it and change the color from plain to blue. It is active when it is blue.

Re: vboxclient autoresize not starting in openSuse 10

Posted: 16. Jun 2009, 18:49
by jacaru
Yes, it is not grey and I can turn it on (blue) and off (plain) with no apparent effect :(

Re: vboxclient autoresize not starting in openSuse 10

Posted: 16. Jun 2009, 18:53
by Perryg
Well if it is blue can you drag the box and increase the size?

What about the HOST + F to go to full screen? Does this not work?
By the way the HOST + F is a toggle and brings it back out of full screen.

Re: vboxclient autoresize not starting in openSuse 10

Posted: 16. Jun 2009, 19:28
by jacaru
When I drag the box the size is not increased. When i go full screen the size does *NOT* get full screen.

Re: vboxclient autoresize not starting in openSuse 10

Posted: 16. Jun 2009, 20:40
by Perryg
Is this what you used to prep the guest to build external kernel modules.

Code: Select all

sudo zypper install gcc make automake autoconf kernel-source kernel-syms

Re: vboxclient autoresize not starting in openSuse 10

Posted: 16. Jun 2009, 20:43
by baf
jacaru are you giving these commands from inside X as you ?

Re: vboxclient autoresize not starting in openSuse 10

Posted: 17. Jun 2009, 12:19
by jacaru
Perryg wrote:Is this what you used to prep the guest to build external kernel modules.

Code: Select all

sudo zypper install gcc make automake autoconf kernel-source kernel-syms
Yes, that exact command is the one I used.
baf wrote:jacaru are you giving these commands from inside X as you ?
Dont know exactly to which commands you refer. VBoxClient is run in whichever way the vbox guest additions installed it, which is within the X session startup using my own user. Anyway, I tried running manualy VBoxClient --autoresize from X terminal with/without sudo to no avail. Do you suggest starting up the X as root to see what happens?