|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Bare Metal VS Vertualization
I do not have the money or space to have multipole bare metal instances. Here in lies my main question. Does Virtualizing my instance of OpenBSD? Less of a contributing member of the userbase?
|
|
||||
No.
__________________
Sᴛᴀʏ ʜᴏᴏᴘʏ, ꜰʀᴏᴏᴅs, ᴀɴᴅ ᴋᴇᴇᴘ ɪᴛ ᴄᴏsᴍɪᴄ. |
|
|||
In 2014 I wrote a guide how to create OpenBSD Virtual Machines on a Linux box using KVM.
See Create OpenBSD guest for Linux KVM (Kernel-based Virtual Machine) with 'virt-install' With KVM you can run X Window in a VM. This is something that you cannot do yet using OpenBSDs native VMs
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Virtualisation with OpenBSD as host
This thread is interesting for anyone like me who is looking for a means of operating within the security of OpenBSD but also adding the ability to do Zoom or Widevine dependent streaming (Netflix/Prime etc.) via say a Linux guest OS.
In other words I'd be looking to do the reverse of what you J65nko have explained in your article What hypervisor would I need to run in OpenBSD to get a Linux distro up and running so as to Zoom and Stream whilst still protected (at base level) by OpenBSD? |
|
||||
There is only one hypervisor in OpenBSD: vmm(4). The FAQ has a virtualization chapter discussing it: http://www.openbsd.org/faq/faq16.html. Please take careful note: this hypervisor does not have a virtual graphics card, guests must use virtual serial consoles. Graphical applications are only available via network connections (X11 forwarding, VNC, etc.)
|
|
|||
Quote:
Now regarding the link, I've taken a look at it to understand the implications and I'm still unclear as its written with a higher level of tech speak than I'm used to. Can you help me understand it? The gist of what I'm getting is that I can't expect to run a Linux guest that will output the streaming content to the graphics cards (and thus screen) of my laptop. That to have any hope of outputting this kind of content I'll need it sent to another device over a network connection using X11 forwarding or VNC? How then do OpenBSD hosts even see the console or GUI of their Linux guests (whilst operating within them), if they can't output their processes to the screen for interaction purposes? This is rather puzzling... EDIT: I've just found this interesting thread regarding a similar concern (getting Netflix/Prime etc. to stream on a non dual booting OpenBSD system) Would running this Linux "Void" distro get around the issue? What about the suggestion of having a USB only linux "live" option per the second last reply starting "LIFEHACK". Is it easy to encrypt the HDD in OpenBSD as that poster suggests as a means of protecting the main OpenBSD host installation? Last edited by Entropic; 14th November 2022 at 04:56 PM. |
|
||||
There are two parts to your question, which I'll try to answer briefly below. Note that you've inadvertently "hijacked" the original thread from Flipper99, so I expect one of our mods to split this discussion off into its own thread, soon, to help keep forum discussions organized.
A. Graphics and consoles. The "console" is where the operator can input operational commands and/or see operational messages. For Unix-like systems, this isn't graphical in nature and console messages typically begin appearing long before a graphical subsystem (X11, Wayland) even gets started. For OpenBSD, the console shows bootloader messages, offers the operator interaction with with the bootloader, outputs the system message buffer during boot, and shows the output from rc(8) during a standard multi-user boot. The vmm(4) hypervisor offers only one type of console. A virtual serial connection. To my understanding, there are three ways for a guest OS that has no graphics card and only a serial console can communicate "graphically" and provide graphics output to the host (or, over a network, to some other host):
The discussion there appears to me to be mostly about dual booting, not running multiple OSes simultaneously. |
|
|||
Quote:
Quote:
Quote:
Option 2 sounds like the most viable option mainly because option 3 seems to imply creating security holes which is exactly why I'm moving to OpenBSD (to avoid these holes). So the next question is, if I'm looking to watch the streamed content (Say an SD Netflix stream) on an M2 macbook receiving its feed from the OpenBSD machine running on a 10 year old x86 laptop (i5) running the VNC server in this context, would it have a normal frame rate or just be unfeasibly slow? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can not Boot FreeBSD NetBSD in Bare Metal, UEFI | czachstd | NetBSD Installation and Upgrading | 5 | 28th July 2020 03:24 AM |
Bare Graphical DE for OpenBSD 6.5 | shep | Guides | 21 | 22nd October 2019 04:31 AM |
Bare Minimum Site-to-Site VPN on OpenBSD | ai-danno | Guides | 0 | 20th May 2008 12:45 AM |