Failed (fixed the script now) attempt to write a bash script which tries to make Xorg work with Parallels

So I’ve decided to make a systemd service, which launches a script that generates a custom X11 configuration file with an explicitly specified video card type (“vesa”) and monitor type “Generic 1024x768 @ 70Hz”) if OpenMandriva is booting inside Parallels Desktop. Originally, I had a problem with X11 crashing with assertion failed error, but I’ve found a way to fix this and now everything works.

I’m soon going to try to post this script on GitHub with RPM spec file, systemd service and the script itself. When I’ll do that I will post a link to the repository here.


Here is the link: