VirtualBox

Opened 12 years ago

Closed 10 years ago

#10054 closed defect (invalid)

Auto-Resize Guest Display Not Working For Slackware Guest -> guest problem (Openbox)

Reported by: DasFox Owned by:
Component: guest additions Version: VirtualBox 4.1.8
Keywords: Slackware Support Cc:
Guest type: Linux Host type: Linux

Description (last modified by Michael Thayer)

Hi,

I'm running Arch x86 as the host, running Slackware 13.37 x86 as the guest in VirtualBox 4.1.8

In Slackware I only run as my desktop OpenBox 3.4.11.2 and I have the guest additions installed.

The 'Auto-Resize Guest Display' does not work, if I resize the window with my mouse, making it smaller or bigger, then click on 'Auto-Resize Guest Display', it does nothing. The only way I can get it to work is to log out of OpenBox, then log back in and then the window is resized.

This is really a pain, you can't resize the window while sitting on your desktop, so I take it, this is probably a lack of support for Slackware and I hope we can please get this fixed for Slackware and get better support for it.

THANKS

Attachments (6)

vboxadd-install.log (167.7 KB ) - added by DasFox 12 years ago.
VBox.log (54.0 KB ) - added by DasFox 12 years ago.
wallpaper_resize_problems.png (328.0 KB ) - added by DasFox 12 years ago.
small_wallpaper_off_centered.png (151.4 KB ) - added by DasFox 12 years ago.
vboxclient.txt (555 bytes ) - added by DasFox 12 years ago.
bootup_screen_size.jpg (261.8 KB ) - added by DasFox 12 years ago.

Download all attachments as: .zip

Change History (25)

comment:1 by DasFox, 12 years ago

I forgot to mention I compiled the latest kernel 3.1.5 and installed the guest additions for this kernel version...

THANKS

comment:2 by Frank Mehnert, 12 years ago

Still I would like to see the VBox.log file and the log file /var/log/vboxadd-install.log from the guest, please attach both files to this ticket.

by DasFox, 12 years ago

Attachment: vboxadd-install.log added

by DasFox, 12 years ago

Attachment: VBox.log added

comment:3 by DasFox, 12 years ago

Files attached...

THANKS

by DasFox, 12 years ago

comment:4 by DasFox, 12 years ago

Hi,

I enabled 3D Acceleration and now I can resize it, but when I drag the window around with the mouse to make it bigger or smaller and then click the 'Auto-Resize Guest Display' the Wallpaper is always not corrected, it will be not in position, also it will get torn too, depending on which way to resize it.

I've attached a screen shot to show the wallpaper split, when I made when small, then I made it larger.

Making a larger window causes the wallpaper to get split, making the window smaller cause the wallpaper to be off center...

THANKS

by DasFox, 12 years ago

comment:5 by DasFox, 12 years ago

I attached a screen shot called small_wallpaper_off_centered, this is what happens as I said when I make the window small, off centered wallpaper...

The only way for me to have the wallpaper look correct, I need to reset it after resizing...

I hope this can get fixed also for Slackware...

THANKS

comment:6 by Michael Thayer, 12 years ago

Can you check whether the process "VBoxClient --display" is running as your logged in (to X) user on the guest? It should be started automatically when an X session starts and control resizing of the guest desktop.

comment:7 by DasFox, 12 years ago

How do I check that?

Thanks...

comment:8 by Michael Thayer, 12 years ago

$ ps aux | grep VBoxClient

in a terminal should do the trick. If you don't see anything, try starting it as

$ VBoxClient-all

comment:9 by DasFox, 12 years ago

Hi,

ps aux | grep VBoxClient

sar       1386  0.5  0.2   5708  1864 ?        Sl   13:32   0:00 /usr/bin/VBoxClient --clipboard
sar       1395  0.0  0.2   5736  1680 ?        Sl   13:32   0:00 /usr/bin/VBoxClient --display
sar       1399  0.0  0.1   5680  1304 ?        Sl   13:32   0:00 /usr/bin/VBoxClient --seamless
sar       1486  0.0  0.1   2444   844 pts/0    S+   13:34   0:00 grep VBoxClient


VBoxClient-all

1386 ?        00:00:01 VBoxClient
1395 ?        00:00:00 VBoxClient
1399 ?        00:00:00 VBoxClient

THANKS

by DasFox, 12 years ago

Attachment: vboxclient.txt added

comment:10 by DasFox, 12 years ago

When I pasted the results they looked ok, but then after I submitted it, everything ran together, so I'm attaching a file, vboxclient.txt

THANKS

by DasFox, 12 years ago

Attachment: bootup_screen_size.jpg added

comment:11 by DasFox, 12 years ago

Hi,

Something else I wanted to mention since we are on the subject of screen sizes, is it possible to make the bootup screen bigger?

As a Slackware user, with experience I like to watch the bootup process to make sure everything is working ok, but with VirtualBox at present, this is impossible, the screen is to small.

I've attached a screen shot showing this;

bootup_screen_size.jpg

Hopefully there's something I can do, or can be done in the future, this is important to see the console booting...

THANKS

comment:12 by Michael Thayer, 12 years ago

If you want to make the bootup window physically bigger you can select scale mode. If you want a different resolution you can use standard Linux methods.

Can you provide me with a copy of the VM I can download, or some way of investigating this which won't require me to spend half a day setting up a Slackware guest?

comment:13 by DasFox, 12 years ago

A half day, I spent 4 days preparing this image to upload, LOL...

I figured I would get this image really in shape, just in case this can be used by VirtualBox as an image people can download and install, once a few things get worked out with it.

I think you'll be pretty impressed with that Slackware install, that's 10 years of Slackware experience! :)

I need somewhere to upload it that you can provide me, it's 1.5GB and I don't have any place to upload to...

THANKS

comment:14 by DasFox, 12 years ago

Hi michael, I'm still waiting for a reply from you, I need a place to upload the image to?

THANKS

comment:15 by Michael Thayer, 12 years ago

Sorry about that. I will send you an upload link by private e-mail.

comment:16 by VBoxGrl, 10 years ago

Hi,

I was srufing the web when I ran across this report and I'm having the same issue.

I'm using Slackware 14.1 x86_64 with VirtualBox OSE 4.3.10 I compiled in Slackware, and I'm running Slackware 13.37 x86 version as a guest.

When I start Slackware and log in I noticed that the VBoxClient-all is not running at startup, so when I click on Auto-resize Guest Display it is not doing anything.

I'm running Openbox in the Slackware guest, so for now to over come this problem I added into the ~./config/openbox/autostart file; /usr/bin/VBoxClient-all so that it will be started when I log into Openbox and I can resize the display and window...

I have the guest additions for 3.4.10 installed, so why isn't the VBoxClient-all automatically running?

For VirtualBox at system start up this is the only thing I have in the /etc/rc.d/rc.local startup file;

# Start vboxdrv if [ -x /etc/rc.d/rc.vboxdrv ]; then

/etc/rc.d/rc.vboxdrv start

fi

I hope this can be fixed in a future version, or if I need to add in something else for me rc.local start up file to correct this?

thanks

Version 0, edited 10 years ago by VBoxGrl (next)

comment:17 by Michael Thayer, 10 years ago

Description: modified (diff)

We place a script to start VBoxClient-all in a number of well-known global locations:

/etc/xdg/autostart /usr/share/autostart /etc/X11/Xsession.d /etc/X11/xinit.d /etc/X11/xinit/xinitrc.d

Perhaps you can find out whether the Slackware/Openbox combination knows about any of these, or has its own one? I don't think it is a good idea to modify user-local configuration files in the installer. /etc/rc.d/rc.local would not do the trick here as that starts things as root, not inside the user's X session.

comment:18 by VBoxGrl, 10 years ago

Hi,

Just a note for Oracle/VB Team Openbox 3.4.11.2 doesn't seem to work so great with xdg autostart.

So I updated to 3.5.0 and it works now, personally I was happy with 3.4.11.2 in VirtualBox, not sure why xdg autostart not working with this version in VB.

By the way, the desktop seems to resize ok as I drag the window around it auto resizes, but one thing I noticed is the wallpaper is never centered, any way I might be able to make it so the wallpaper also resizes and positions itself correctly?

Thank you...

comment:19 by Michael Thayer, 10 years ago

Resolution: invalid
Status: newclosed
Summary: Auto-Resize Guest Display Not Working For Slackware GuestAuto-Resize Guest Display Not Working For Slackware Guest -> guest problem (Openbox)

Thanks for the feedback. I'm afraid that the wallpaper position is a guest issue, so you would need to take it up with the Openbox developers. If things are otherwise working here I will close this ticket.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use