Boot Qubes into command line

I run a dual screen setup daily. Combining my Qubes laptop with another monitor. XFCE refuses to properly maintain the resolution and refresh for the monitor. Seems pretty much random settings every time I boot my system or the monitor goes into standby.

Because of this I would like to create the xorg.conf file. This has to be done from CLI, but whenever I shutdown LightDM, Qubes either hangs or black screens. So, I would like to boot Qubes into CLI to run the Xorg config command.

So far I’ve gathered that I have to change some settings in /etc/default/grub.txt, but I have no idea what to actually change.

Anyone?

Thanks

You can add init=/bin/bash rw to the linux parameters in GRUB, it will boot the system into a root shell with write access.

You can switch to another TTY using e.g. Ctrl+Alt+F2 and create the xorg.conf there, but I’m not sure if it’ll work.