I have a HDMI monitor. Running KDE Plasm desktop I attempted to run a old game under Wine and the resolution got screwed up. I tried to switch back the resolution to 1600x900 ( what I had been running) and i ended up with a black screen. Rebooting just brings up a black screen again and the only thing I can do is switch to root with a Ctrl+Alt+DEL and then enter Switch user and in root it display fine. But changing the monitor sections in it does not fix the problem when trying to boot to user. I can boot up with a VGA cable and the monitor works fine in user mode.
I suspect there is a configuration file that the system checks for User monitor resolution default and it is messed up. Does anyone know what file I should change or some way to force the system to re-detect my monitor and set proper modes?
Hi and welcome to the Forum
Check the file ~/.config/monitors.xml file may be your issue. If not, can you create a test user and log in as the test user to confirm if it’s at the user level or system level.
I’d guess the switch to a lower resolution for some reason increased the frequency (like in old CRT monitors?) and didn’t go back to 60Hz on HDMI native resolution. This used to give a black/blue screen. Or am I too old? https://forums.opensuse.org/images/icons/icon12.png
Is it normal when logging into IceWM instead of Plasma?
While the normal user is logged out of X, deleting his ~/.cache/ directory’s content might be all that is needed, or maybe deleting both that and ~/.config/monitors.xml at the same time.
I do not seem to have a .config/monitor file in my User home directory. I tried making a test user and was able to run through a boot with the HDMI cable into the user account. It worked without problem so I know it is likely a setting file.
I will look at the .cache/directory and see what I can find.
I am rusty on command line stuff so do not recall how I would leave X and than delete the user/.cache/directory file I looked at in Dolphin and it seem to just be a indication of last boot time
[Dolphin]
Timestamp=2019,11,3,21,24,12
Version=4
I think I solved it. home/.local/share/kscreen there were several files related to monitor settings. I deleted them and restarted with the HDMI cable connected. Worked