stockmind / gpd-pocket-ubuntu-respin

Collection of scripts and tweaks to adapt Ubuntu and Linux Mint ISO images to let them run smooth on GPD Pocket
351 stars 35 forks source link

GNOME 3: Re-login Screen not rotated properly in 17.10 (after upgrade from 17.04) #102

Open mmccool opened 6 years ago

mmccool commented 6 years ago

When you first boot, the login screen in 17.10 is oriented correctly (landscape). But if you log out, or if the system logs you out on its own (eg standby), then the re-login screen is rotated into portrait. It still works, and once you log back in the orientation is correct.

This happens whichever display manager you are using (Wayland or Unity; the latter is recommended as Wayland has some issues with display management at present). I should mention I deleted the fbcon=rotate:1 boot options as they were causing other problems. I also upgraded from a 17.04 install (as opposed to using a fresh 17.10 install ISO).

stockmind commented 6 years ago

Have you run "update.sh" script after upgrade? Are you using lightdm or gdm? I have no problem with LightDM, got problem you are facing only on GDM. Could you post output of latest problem-reporting script?

You can switch from GDM to LightDM either installing it

sudo apt-get install lightdm

if is missing from your system, or issuing (if already installed)

sudo dpkg-reconfigure lightdm

and selecting it when prompted.

Let me know, Thank you

stockmind commented 6 years ago

Didn't mention this before, but be sure to use correct arguments with update.sh script based on your primary Desktop Environment.

On GNOME you should run update.sh gnome and on other DE like Unity you should use update.sh without arguments. This will let the script to copy the correct monitors.xml file required to basic rotation to work. Anyway GDM is known to be a pain to rotate as it doesn't seems to honor the monitors rules.

preloptont commented 6 years ago

@stockmind seeing this on Mint 18.3 XFCE. I havent dug into the scripts yet, but where would one look to correct this? The initial logon screen from boot is oriented properly, only after lock does the screen rotate.

stockmind commented 6 years ago

@preloptont give a spin of update.sh script without arguments and reboot. Also what Display Manager are you using? If you use GDM or MDM, please try to switch to LightDM. Sometimes rotation may fail neverthless of good configurations, in those cases use the rotation utility i've provided in respins to rotate manually the screen. The rotation measures and daemons are not perfect and have pitfalls but most of the times works.