Bug 368542 - wrong login resolution
Summary: wrong login resolution
Status: RESOLVED NOT A BUG
Alias: None
Product: kdm
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-10 10:22 UTC by Cristian Tarsoaga
Modified: 2016-09-12 00:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cristian Tarsoaga 2016-09-10 10:22:30 UTC
I have configured kde settings to use a custom resolution (other than the default one)

when booting, kdm login still uses the default resolution

once logged in, everything is fine
after sleep, everything is fine

Reproducible: Always

Steps to Reproduce:
1. set custom resolution in kde settings
2. reboot
3. go to kdm login screen

Actual Results:  
default resolution is used at the first kdm login, inspite of my custom kde settings

Expected Results:  
kdm login should always use the custom resolution specified in kde settings
problem happens at the first kdm login only, after reboot (not after sleep/logout)


kubuntu 16.04, all updates included

as a workaround: I passed my custom monitor modeline in xorg.conf.d/50-monitor.conf to X, which solves the problem
Comment 1 Christoph Feck 2016-09-10 16:22:54 UTC
The KScreen component cannot change the xrandr settings before the session starts, because there is no global xrandr settings file.
Comment 2 Cristian Tarsoaga 2016-09-11 23:26:53 UTC
When I see kdm on screen, session is not yet started? Starts when? After login?
Comment 3 Cristian Tarsoaga 2016-09-11 23:28:09 UTC
And it cannot use xrandr dynamiccally to switch the modeline?
Comment 4 Christoph Feck 2016-09-12 00:42:48 UTC
There are ways to run scripts after the X server starts, but before the display manager starts. Please ask in a forum of your distribution which locations it uses. For example, openSUSE uses /etc/X11/xinit/xinitrc.d/