Рет қаралды 1,457
Was finally able to make the switch to Linux! Simultaneous native Windows and Linux experience using Fedora 40, looking glass and moonlight/sunshine streaming. Will use the windows VM for gaming and for Visual Studio (I’m a dotnet dev). And Linux for everything else! This is so fun! @ChrisTitusTech thanks for the inspiration with your videos!
VM Bridge setup:
When creating the NIC for your vm, set it up to use the bridge you create from the link, and replace the first 3 numbers of the mac address from your a real hardware NIC to assist with bypassing anti-cheat.
www.server-world.info/en/note...
Looking Glass Setup:
looking-glass.io/docs/B7-rc1/...
I set mine up using the Standard shared memory file. Because of this, when I startup my pc, my vm cannot start due to permissions on the shared memory file. This can be fixed with the following commands:
sudo rm /dev/shm/looking-glass # remove the file so that the vm can start
sudo virsh start win11 # start the vm
sudo chmod 777 /dev/shm/looking-glass # allow the LG client (you) to access the file
I turned mine into a shell script to save me some time on startup, Will figure out how to automate this
Looking Glass Config
Create a .looking-glass-config file in your home directory. This will be loaded when you start looking glass without any command line args. You can map a keyboard shortcut such as Super+W that calls looking-glass-client in your System Keyboard settings.
Here is the reference page for setting up your file:
looking-glass.io/docs/B7-rc1/...
Screen Solutions (Dummy Plug alternatives).
You don't need a dummy plug. Probably.
If your screen has multiple inputs, and you can access a free port on the VM's Card, This is your simplest Solution. For looking glass, I plugged a DisplayPort Cable into my left monitor, Linux is using HDMI 1 on that monitor. This depends on how your monitor treats displayport connections on StandBy. In my case, The displayport connection stays active when the monitor is set to HDMI 1, Even when the HDMI is unplugged and the monitor is on Standby. (Fun fact, GSync is enabled in windows on this screen, and looking glass seems to be able to pass it along to Freesync/GSync in Linux)
If you do not have access to any ports, then you can install IddSampleDriver in the VM as a virtual monitor for the VM to use. This is what I am doing for the left Windows screen. Ensure to edit options.txt and add any specific resolutions that you need, install the driver and set it as the Primary display. Some graphics options are unavailable though as the "display" is not connected to the gpu directly, GSync is not available in this mode. The Non HDR Driver appears to be more Stable right now.
If you want to display your second monitor with Sunshine/Moonlight then you just need to configure sunshine to use the correct display.
And finally! Ifigure out that I could use Sunshine/Moonlight to use my tablet as a dsiplay for Linux. Connect an extra HDMI cable to an unused port on your Linux host's GPU, then configure Sunshine to share that display