I messed up I think

Basically I was messing around with xrandr and trying to adjust my resolution to 1920 x 1080 and i did waylandenable=false and now when i log on it just shows a black screen with a flashing underscore i’ve went into the text only terminal and did sudo systemctl status sddm and it’s inactive (dead) does anyone know how i can fix everything and get my qubes to normal i have really important files for my job and i can’t afford to reinstall qubes could anyone provide guidance

Is this a vanilla Qubes OS install, or have you modified it?

Vanilla only thing i have changed is XFCE to KDE

Have you tried switching back to xfce at login to see if the settings you changed are not global ?

I’m new to qubes i’m not too sure how

After the luks unlock password entry screen, when you enter the password again to login, at the top right there is a drop-down with a wrench icon. Click it, if you are using kde it will be on Plasma X11 or Wayland. Select Xfce session then enter password and log in

The problem is i cannot enter qubes os at all i boot qubes and the only way i can sort of log in is with TTY mode this is what my screen looks like after booting

Try different grub options (screen before this one).

Try different kernel

Try nomodeset

You could try using a different login manager

Or erasing kde (more risky) to get it to revert to xfce

Okay we’re making progress i got to the login screen but when i log in it goes black then goes back to the login screen

Is there a way i can do a reset without losing my files

That happens whether logging into kde or xfce ? You could use tty cli after luks unlock to change the xrandr option back. Also I don’t use kde with wayland, I use kde with x11. I thought Wayland was buggy ?

i’m not sure whats going on i’m not sure how to fully describe my issue basically i got kde to work everything was fine until i messed with xrandr it wasn’t
working so eventually i seen WaylandEnable=false i did that rebooted and my screen showed that login screen after it did that i would try to log in and the screen would show a flashing underscore i used chat gpt and grok ai to help me troubleshoot and eventually i switched kernels i got excited seeing the qubes os regular login screen i typed in my disk password then it got to the full bar and it went black again like before tried more troubleshooting eventually i removed kde i forgot how and i disabled sddm and enabled lightdm and switched kernels now im at the point where i can access my login screen i see my user and when i log in it goes black then refreshes to the login page and its a loop i can access TTY but im no where near informed on what im doing and i dont see anyone else who faced the same issue i created a usb with qubes on my windows since im dual booting and it just has an install screen im looking to use qubes os normally but honestly its been 2 days since i messed it up i want my vault vm data atleast my keepassxc passwords once i have that reinstalling qubes os isn’t a problem to me but i have all my logins to my crypto accounts and etc on there and reinstalling without it isn’t a total option for me i’m hoping i can just reset the dom0 to default without data loss and go from there but i don’t see anything like it

Ok thanks for the extra info, it’s helpful

I’ll try to help (I don’t dual boot or boot from USB)

I would first try to backup the important data off the relevant qubes (before messing around more with recovery)

If you have vanilla qubes, then you use LVM. I don’t have experience with that, I use btrfs

But you can either use tty in dom0 to transfer off the files you need

https://dev.qubes-os.org/projects/core-admin-client/en/latest/manpages/qvm-backup.html

Or

Mount the storage in another computer (you’ll to navigate LVM )

sorry to be a burden but would i be able to format my drive and back up data onto my flash drive then do a reinstall

I wouldn’t feel 100% that that would work. Qubes has a more complicated file structure than regular Linux. Even backups I wouldn’t trust until it had been restored successfully to a new install. I’ve had backups fail to restore in qubes

I’d suggest you clone the drive before you start experimenting.

Could you tell me how please thank you for your kindness

You’d install clonezilla to a blank USB and then boot from that and clone from the qubes drive to another blank USB or SSD. You have to be careful that the destination is blank and that you aren’t writing to the qube drive.

If you are comfortable using DD it is very simple from live Linux but you need to be very careful with the destination (of= a file/location) and not a /dev/sdX (esp NOT the qubes drive). With this you create a image