kvm-qemu-virtualization-guide
kvm-qemu-virtualization-guide copied to clipboard
Add no display manager support
Some folks (me included) don't use display managers like lightdm or gdm
I personally just execute good old xinit right after login (using .profile), other people use ly or tbsm
Point is not all use a graphical display manager. I ended up editing stop_display_manager to
function stop_display_manager {
pkill xinit
while pgrep xinit > /dev/null; do
sleep 1
done
}
Which works fine (keep in mind this is x11, wayland people should do something else) however I couldn't get restore_display_manager to work
Simply executing xinit doesn't do anything, I believe because it's not executed in a tty
The end result is whenever I shutdown my vm, I face a really scaled down version of my tty to the point all text becomes blurred

I can execute xinit or startx - and get back to my window manager just fine (even the tty restores its original resolution) but I'd rather my window manager be automatically launched
I will test with ttyecho and see what I can do
ttyecho worked, I've installed it via the aur and edited restore_display_manager to
function restore_display_manager {
ttyecho -n /dev/tty1 xinit
}
it opens my windows manager on tty7 instead of tty1 (where it originally was) but I'm nitpicking at this point