Linux Lite Forums

Software - Support => Other => Topic started by: Przemys?aw Wojtkun on June 08, 2022, 01:58:10 PM

Title: Unable to login after changing display scale.
Post by: Przemys?aw Wojtkun on June 08, 2022, 01:58:10 PM
I've a problem, I've moved from my previous Linux Mint install to Linux Lite 6.0 and I proceeded to configure everything how I like and I was forcibly stopped after changing display scale from 1.0 to custom 1.4. After doing that I was booted out to Lockscreen and when I try to log in it just boots me out to the Lockscreen again. I cannot change the setting even using xrandr command because I can't open terminal on the lockscreen, I don't know where the monitor settings are since I'm new to Linux Lite. I would really like to have display scaled to 1.4 if i can't it's a deal-breaker for me for this distribution.
Title: Re: Unable to login after changing display scale.
Post by: stevef on June 08, 2022, 02:34:37 PM
At the login screen press Ctrl+Alt+F2.  This should give you a non-gui login.  If you can log in here, it should allow you to enter any cli commands you may have available to undo the change.

Entering
Code: [Select]
startxWill try to start the GUI.
Title: Re: Unable to login after changing display scale.
Post by: Przemys?aw Wojtkun on June 08, 2022, 02:41:21 PM
At the login screen press Ctrl+Alt+F2.  This should give you a non-gui login.  If you can log in here, it should allow you to enter any cli commands you may have available to undo the change.

Entering
Code: [Select]
startxWill try to start the GUI.

I've tried restarting the GUI using startx, it just fails. At the end of Xorg.1.log there is
Code: [Select]
Segmentation fault at address 0x0
Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting

I can't use xrandr command if xorg server is not running right? How can I change the scaling setting then?
Title: Re: Unable to login after changing display scale.
Post by: stevef on June 08, 2022, 03:40:12 PM
Sorry, I don't know much about xrandr really.  I was thinking the display settings are in a hidden xml file in the home directory.

At the terminal try this command.

Code: [Select]
xfconf-query -c displays -l -v
The X & Y scale factors should be 1.000000 -  If the values you see are 1.4 you may try carefully hand editing this file

~./config/xfce/xfconf/xfce-perchannel-xml/displays.xml

Otherwise, if you have an earlier backup of your home directory (using deja-dup maybe), boot from live media and try to revert that file.

Title: Re: Unable to login after changing display scale.
Post by: Przemys?aw Wojtkun on June 08, 2022, 05:20:53 PM
Sorry, I don't know much about xrandr really.  I was thinking the display settings are in a hidden xml file in the home directory.

At the terminal try this command.

Code: [Select]
xfconf-query -c displays -l -v
The X & Y scale factors should be 1.000000 -  If the values you see are 1.4 you may try carefully hand editing this file

~./config/xfce/xfconf/xfce-perchannel-xml/displays.xml

Otherwise, if you have an earlier backup of your home directory (using deja-dup maybe), boot from live media and try to revert that file.

Thanks! That allowed me to at least get to desktop, what could have caused it to behave like that?