[SOLVED] Shell resolution? 30 June 2022, 16:37:46 I setup a Virtualbox VM for Artix for the sole purpose of learning nftables. The box is shell only, but the resolution is small. I have tried using GRUB to set higher resolutions to no avail. How do I set my TTY to a higher resolution? Last Edit: 05 July 2022, 19:12:06 by sephiroth
Re: Shell resolution? Reply #1 – 30 June 2022, 19:30:56 are all of these installed... maybe you have artix instead of dkms thats ok too... see pic belowalso is this relevant?https://forum.artixlinux.org/index.php/topic,4223.0.html
Re: Shell resolution? Reply #2 – 01 July 2022, 13:51:32 Since Artix is the guest on this laptop, I did indeed install the VirtualBox DKMS guest package. The rest are for hosts unless I am mistaken.I am not interested in fbset as that is for a framebuffer console. I saw it yesterday while looking for a solution. My issue may be a lack of knowledge in how GRUB works as well. I set the resolution in /etc/default/grub and ran update-grub, but the resolution does not change. I have had GRUB use 1080p on other systems without me needing to force it, so something is up here, but I am not sure what. Maybe we should start with getting GRUB into 720p? How can I do that?
Re: Shell resolution? Reply #3 – 01 July 2022, 14:49:48 OK, I figured it out. I was doing it right but for whatever reason, VBox only allows GRUB to use square (4:3 or 5:4) resolutions. I'll deal with that on my own. Using 1280x1024, 1024x768, 800x600, and even 640x480 works fine. Using 1024x768 right now. Thanks for the help!
Re: Shell resolution? Reply #4 – 01 July 2022, 15:06:23 Quote from: sephiroth – on 01 July 2022, 13:51:32How can I do that?no comment.
Re: Shell resolution? Reply #5 – 01 July 2022, 15:20:40 The Oracle extension allows you to adjust res from the VirtualBox instance menu
Re: Shell resolution? Reply #7 – 01 July 2022, 17:39:58 Quote from: sephiroth – on 01 July 2022, 13:51:32Since Artix is the guest on this laptop, I did indeed install the VirtualBox DKMS guest package. The rest are for hosts unless I am mistaken.I am not interested in fbset as that is for a framebuffer console. I saw it yesterday while looking for a solution. My issue may be a lack of knowledge in how GRUB works as well. I set the resolution in /etc/default/grub and ran update-grub, but the resolution does not change. I have had GRUB use 1080p on other systems without me needing to force it, so something is up here, but I am not sure what. Maybe we should start with getting GRUB into 720p? How can I do that?>>I am not interested in fbset as that is for a framebuffer console.Ok, how does that not solve your issue?Quote from: cat herders of linux – on 01 July 2022, 16:43:46also what about xrandr?That's for Xorg not TTYs.
Re: Shell resolution? Reply #9 – 01 July 2022, 18:57:56 Quote from: cat herders of linux – on 01 July 2022, 18:52:15Xorg can be run in a shellOk And? Is the subject matter Xorg?
Re: Shell resolution? Reply #10 – 01 July 2022, 20:07:07 If only you were as motivated to actually respond to the op and their needs.
Re: Shell resolution? Reply #11 – 02 July 2022, 11:00:57 Quote from: cat herders of linux – on 01 July 2022, 20:07:07If only you were as motivated to actually respond to the op and their needs.I would, but there is also something I wouldn't do that you do: giving out useless informationOP asked for TTYs, not Xorg. Last Edit: 02 July 2022, 11:25:53 by Lancia
Re: Shell resolution? Reply #12 – 02 July 2022, 11:55:57 https://www.youtube.com/watch?v=DNYWi1IPPl8no comment.
Re: Shell resolution? Reply #13 – 02 July 2022, 14:30:14 How about using ssh through host machine to guest 1 Likes
Re: Shell resolution? Reply #14 – 05 July 2022, 15:10:26 The solution was to set the VM to allow any resolution. That enabled widescreen. I then set GRUB2 to 1280x720x32 and all is good. GRUB2 and the OS itself now run in 720p60. I could not use xrandr because this is a shell only install as stated before. I was not interested in fbset because I am not using a plain framebuffer console.The command to enable any resolution instead of square ones (1600x1200 is a square one, BTW) is:Code: [Select]VBoxManage setextradata Global GUI/MaxGuestResolution anyTo have the VM report support for your preferred resolution you can do this:Code: [Select]VBoxManage setextradata "Your VM Name" CustomVideoMode1 "1280x720x32"It's as simple as that. It was never an Arch issue, it was VBox! 3 Likes