gdm3 resolution

Discussions about using Linux guests in VirtualBox.
Post Reply
mcsky2
Posts: 4
Joined: 6. Apr 2021, 10:25

gdm3 resolution

Post by mcsky2 »

Hello to all,
Is there a possibility to have a better resolution of gdm3 when we launch a linux VM (ubuntu/debian/mint/oracle linux)? We must be in 1024x800. And when you increase the window size, nothing changes. The installation of the extension pack is done. On the other hand the resolution of gnome increases with the size of the window. Is there a solution ?
Thanks
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: gdm3 resolution

Post by mpack »

mcsky2 wrote:The installation of the extension pack is done.
The extension pack has nothing to do with graphics. You need to install the Guest Additions. See chapter 4 of the user manual.
mcsky2
Posts: 4
Joined: 6. Apr 2021, 10:25

Re: gdm3 resolution

Post by mcsky2 »

I misspoke, I was talking about Guest Additions. It works when you disable gdm3 wayland in /etc/gdm(3)/custom.conf (WaylandEnable=false) but only after a connection. If you start a virtual machine and enlarge the window, gdm3 does not take the whole area.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: gdm3 resolution

Post by mpack »

Please provide a VM log file. Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.
mcsky2
Posts: 4
Joined: 6. Apr 2021, 10:25

Re: gdm3 resolution

Post by mcsky2 »

here is
Attachments
Oracle-2021-04-06-13-19-26.zip
(31.49 KiB) Downloaded 13 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: gdm3 resolution

Post by mpack »

Your VM seems fine to me. In fact it seems to contain fewer logged errors that my own (working) VM that I'm using for comparison. E.g. your log includes this line :-
00:51:59.562516 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=0000000000000000 w=2438 h=1402 bpp=0 cbLine=0x0 flags=0x2 origin=0,0
... which seems to me to indicate that the VM is resizing its display correctly, it is not (say) stuck on 800x600. There may be a setting in the guest OS that causes it to use a fixed size update rectangle regardless of the display size.

p.s. This topic does not belong in "Linux Hosts". Your host is Windows, not Linux. I will move the topic to "Linux Guests".
mcsky2
Posts: 4
Joined: 6. Apr 2021, 10:25

Re: gdm3 resolution

Post by mcsky2 »

Hello,
Thank you for moving my topic to the right folder. While browsing the web, I found a solution that consists in copying the monitor.xml file of a user and put it /var/lib/gdm3/.config.

cp ~/.config/monitors.xml /var/lib/gdm3/.config
chown gdm:gdm /var/lib/gdm3/.config/monitors.xml

It works but you lose flexibility in resizing the window. There will be no more adaptation of gdm which will be frozen at the size predefined by monitor.xml
Post Reply