|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
OpenBSD 7.1 resolution in VirtualBox
Hi,
Due to a problem with my wifi card (see http://daemonforums.org/showthread.p...2528#post72528), the only way I found to run my OpenBSD box with an internet access is to start Win10 (which is the only other system I have also installed on the box), then run OpenBSD as a Guest in VirtualBox directly from the HD, using the trick here: http://guillaumemuller1.free.fr/show...php?entry=1545 (as OpenBSD is installed on the same HD as Windows). This works pretty well in text mode. I managed to install / setup almost everyting I need. Unfortunately, when I start Xorg, it runs with a ~4000x~4000 resolution, which makes it very difficult to use on my 1600x900 screen. I've tried various tricks that worked in the past : - Forcing VBox's VM CustomVideoMode https://www.tumfatig.net/2019/custom...in-virtualbox/ - Use xrandr to change the resolution https://r0ngsh3n.github.io/common/ch...on-via-xrandr/ But it did not succeed. In particular the xorg.conf file I copied from the site results in "No Screen Found". And apparently Xorg --configure does not work on OpenBSD. And I don't remember how to setup Xorg manually :[ I tried to play with scaling, both in VBox and in Xorg, but it did not work. Does anyone have the same problem? Is there a solution? |
|
|||
For some ideas see http://daemonforums.org/showthread.php?t=11734
You can check /var/log/Xorg.0.log for clues why it trying such a high resolution.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
||||
The ArchWiki has a sample configuration file that adds new modelines (as generated by, for example, cvt(1)) and sets the preferred mode:
https://wiki.archlinux.org/title/Xra...ed_resolutions
__________________
Para todos todo, para nosotros nada |
|
|||
[SOLVED] with "> machine gop 1" before boot
Hi again,
Thanks for the pointers. I already had a look at xrandr and creating new modes, but with no success. By looking at /var/log/Xorg.0.log, I discovered the driver used is "wsfb", which made me assume that indeed xrandr would not work and I had to focus on the console. Thanks to the following pages: https://www.unitedbsd.com/d/271-wfsb/6 https://man.openbsd.org/boot.8 I discovered that I can set the console resolution at boot, using: Code:
> machine gop > machine gop <x> > boot Thanks everybody for your help!!! I thought it would take me ages to find a solution and finally it was a really easy one (as often with OpenBSD when you know where to look ). See you soon! |
Tags |
virtualbox guest, xorg |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help with DNS resolution | betweendayandnight | OpenBSD General | 0 | 13th July 2015 06:21 PM |
OpenBSD as host for VirtualBox | gpatrick | OpenBSD General | 15 | 9th May 2012 02:22 AM |
OpenBSD i386 snapshot & PAE on VirtualBox | aleunix | OpenBSD Installation and Upgrading | 2 | 1st March 2012 06:44 PM |
virtualbox+Openbsd+ports | harrykar | OpenBSD Packages and Ports | 7 | 16th June 2010 07:48 PM |
openBSD 4.5: success w/virtualbox 2.2.4 | s2scott | OpenBSD Installation and Upgrading | 18 | 1st July 2009 02:45 PM |