VirtualBox

Ticket #10054 (closed defect: invalid)

Opened 3 years ago

Last modified 11 months ago

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

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

Description (last modified by michael) (diff)

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

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

Change History

comment:1 Changed 3 years ago by DasFox

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

THANKS

comment:2 Changed 3 years ago by frank

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.

Changed 3 years ago by DasFox

Changed 3 years ago by DasFox

comment:3 Changed 3 years ago by DasFox

Files attached...

THANKS

Changed 3 years ago by DasFox

comment:4 Changed 3 years ago by DasFox

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

Changed 3 years ago by DasFox

comment:5 Changed 3 years ago by DasFox

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 Changed 3 years ago by michael

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 Changed 3 years ago by DasFox

How do I check that?

Thanks...

comment:8 Changed 3 years ago by michael

$ 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 Changed 3 years ago by DasFox

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

Changed 3 years ago by DasFox

comment:10 Changed 3 years ago by DasFox

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

Changed 3 years ago by DasFox

comment:11 Changed 3 years ago by DasFox

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 Changed 3 years ago by michael

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 Changed 3 years ago by DasFox

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 Changed 3 years ago by DasFox

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

THANKS

comment:15 Changed 3 years ago by michael

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

comment:16 Changed 12 months ago by VBoxGrl

Hi,

I was surfing the web when I ran across this report and I'm having the same issue with the gust display not resizing.

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, for now this is working...

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

For VirtualBox at system startup 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 my rc.local start up file to correct this, please let me know.

thanks

Last edited 12 months ago by VBoxGrl (previous) (diff)

comment:17 Changed 11 months ago by michael

  • 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 Changed 11 months ago by VBoxGrl

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 Changed 11 months ago by michael

  • Status changed from new to closed
  • Resolution set to invalid
  • Summary changed from Auto-Resize Guest Display Not Working For Slackware Guest to Auto-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.

www.oracle.com
ContactPrivacy policyTerms of Use