Open selivan opened 5 years ago
I managed to solve the problem with VBoxSVGA screen resizing. It took almost an hour. First, make sure that your kernel is built with CONFIG_DRM_VMWGFX and vmwgfx is loaded.
Second (most tricky part) - make sure that /usr/bin/VBoxClient --vmsvga is launched AS ROOT!!!! Otherwise it lacks some permissions. Now I just added it into system bootup scripts.
@vitalyrepin Nice job! Mentioned your comment in the article.
Thanks, this made the difference for me!
VBoxClient --vmsvga doesn't seem to work when I add it to systemd I don't know why.
@meisme-dev VBoxClient
is part of virtualbox-guest-x11
, it probably should be started from X session.
Are you sure your systemd service has access to your X server(DISPLAY
variable, user account for accessing X server socket, may be something else)?
Try running it from terminal in X session and check if it works from there.
I'm running lubuntu. I installed virtualbox-guest-* packages as noted above. and then switched to VBoxSVGA display controller. After a reboot I went to Preferences->LXQt Settings->Monitor Settings and selected a new resolution. Resolution immediately changed and I confirmed I wanted to keep the new settings.
What surprises me is that finding the right sequence of steps was not easy. Seems odd that this would be difficult at all. Anyone who would want to run a GUI front end to any OS probably doesn't want 800x600. Even on a command line this is pretty clunky.
Anyway, thanks to the above individuals for clarifying the correct approach.
Awesome!! Works for me!! Thanks for the hack!
@Meghana-12 you are welcome :)
I tried so many things and as vitalyrepin's VBoxClient foldern I do not have I just ran the app out of terminal with sudo lading to the demand for a boot from CD. But then after starting from menue the ezising works although the Vbox's window frame showing strange behavior.
Comments for: https://selivan.github.io/2019/01/31/virtualbox-linux-guest-autoresize-screen.html