Extensions with Debian 11?

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
notorab
Posts: 10
Joined: 6. Nov 2019, 07:48

Extensions with Debian 11?

Post by notorab »

Is anyone having success with Virtualbox on OSX with extensions on Debian 11?

I installed the extensions and note:

$lsmod|grep xbox
vboxsf 90112 0
vboxguest 450560 7 vboxsf

however I have View->Auto Resize Guest Display enabled and it does not appear I can increase the size of the Guest window and it is not being scaled correctly.

I also note I have enabled shared folders and they are are not being correctly mounted. I had similar problems with Debian 10 and worked around the issue by using HostOnly networking and using an NFS mount point from Mac OSX.

I'm wondering if this is a problem with OSX or a problem in general? I ask because I see write ups on folks who have been able to get the extensions working on Debian 11, which makes me wonder if it's a problem with OSX Ventura v13.3.1.

Any insight appreciated
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Extensions with Debian 11?

Post by scottgus1 »

This appears to be a Mac host OS question, not a Linux host. Moving to Mac Hosts.
notorab wrote:Virtualbox on OSX with extensions on Debian 11?
Virtualbox has an Extension Pack that gets installed in Virtualbox on the host, and Guest Additions installed in the VM. "Extensions" seems to be talking about the Extension Pack, but the features you want to work seem to be discussing the Guest Additions. Please clarify?

************************************

Start the VM from full normal shutdown, not save-state. Run until you see the problem happen, then shut down the VM from within the VM's OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.

Right-click the VM in the main Virtualbox window's VM list, choose Show in Explorer/Finder/File Manager. In the "Logs" subfolder, zip the VM's "vbox.log", and post the zip file, using the forum's Upload Attachment tab. (Configure your host OS to show all extensions so you can find the "vbox.log", not "vbox.log.1", etc.)
notorab
Posts: 10
Joined: 6. Nov 2019, 07:48

Re: Extensions with Debian 11?

Post by notorab »

Apologies, I'm talking about the Guest Additions, which I installed on Debian 11.
notorab
Posts: 10
Joined: 6. Nov 2019, 07:48

Re: Extensions with Debian 11?

Post by notorab »

Posting the log
Attachments
VBox.log.zip
Log
(39.86 KiB) Downloaded 151 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Extensions with Debian 11?

Post by scottgus1 »

If I read the log correctly, you have full 7.0.8 Guest Additions installed, and your display does seem to be responding to changes:
00:01:27.453274 VMMDev: Guest Additions capability report: (0x4 -> 0x5) seamless: yes, hostWindowMapping: no, graphics: yes
...
00:21:36.922362 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=00007f9ec2000000 w=800 h=600 bpp=32 cbLine=0xC80 flags=0x1 origin=0,0
00:26:12.612535 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=00007f9ec2400000 w=1616 h=1714 bpp=32 cbLine=0x1940 flags=0x1 origin=0,0
00:26:15.462965 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=00007f9ec2000000 w=1960 h=1604 bpp=32 cbLine=0x1EA0 flags=0x1 origin=0,0
00:26:42.602684 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=00007f9ec2000000 w=2012 h=1698 bpp=32 cbLine=0x1F70 flags=0x1 origin=0,0
00:39:58.008509 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=00007f9ec2000000 w=1838 h=1592 bpp=32 cbLine=0x1CB8 flags=0x1 origin=0,0
So far I don't see anything wrong. Maybe a screenshot of what you see could help, posted with the forum's Upload Attachment tab, like you did the log. Scale it down if it is too big.

Could you have the VM in Scaled Mode? No menu bar shows in Scaled Mode, HostKey-C tolggles the VM in and out of Scaled Mode.
notorab
Posts: 10
Joined: 6. Nov 2019, 07:48

Re: Extensions with Debian 11?

Post by notorab »

This is a screenshot with Auto Resize Guest Display enabled attached. Also, I have shared folders listed in the configuration and they are not being mounted.
Attachments
Screenshot with auto resize guest display
Screenshot with auto resize guest display
Screenshot 2023-05-31 at 12.44.16 PM.jpg (124.6 KiB) Viewed 1891 times
notorab
Posts: 10
Joined: 6. Nov 2019, 07:48

Re: Extensions with Debian 11?

Post by notorab »

It appears I can SHRINK the window in Auto Resize mode, but if I try to enlarge it bigger a grey border surrounds the Debian GUI. If I try to enlarge the window too big, the Debian GUI disappears.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Extensions with Debian 11?

Post by scottgus1 »

Try maxing out the video RAM.
notorab
Posts: 10
Joined: 6. Nov 2019, 07:48

Re: Extensions with Debian 11?

Post by notorab »

Maxing out the Video Ram solved the display problem! Thanks!

Now I'm still having problems with shared folders not mounting. Is there any way to debug this?
fth0
Volunteer
Posts: 5690
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Extensions with Debian 11?

Post by fth0 »

notorab wrote:if it's a problem with OSX Ventura v13.3.1
You're suffering from at least one known issue of VirtualBox 7.0.8 on macOS Ventura 13.3.1 hosts. Please try the VirtualBox test builds 7.0.9r157071 or newer.
notorab wrote:Now I'm still having problems with shared folders not mounting.
Your previous VBox.log file indicated a successful mount. Did you add your user to the vboxsf group in the Linux guest?
notorab
Posts: 10
Joined: 6. Nov 2019, 07:48

Re: Extensions with Debian 11?

Post by notorab »

Thanks! Shared folder problem solved. I had to add the user to the group 'vboxsf' and reboot.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Extensions with Debian 11?

Post by scottgus1 »

Great! Glad you're up and running.
Post Reply