This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDM wrong resolution at startup

Tags: None
(comma "," separated)
User avatar
Tabris
Registered Member
Posts
29
Karma
0
OS

KDM wrong resolution at startup

Fri May 09, 2014 2:49 am
Hi! I have to screens connected always (vga and hdmi). The vga is the main screen and the hdmi one only for videos (secondary screen).

I added this line to /usr/share/config/kdm/Xsetup

Code: Select all
#! /bin/sh
# Xsetup - run as root before the login dialog appears

xrandr --output VGA1 --primary --mode 1600x900 --rate 60 --output HDMI2 --mode 1920x1080 --rate 59.9 --left-of VGA1


that works ok but AFTER login. When KDM appears is a giant 1920x1080 inside a 1600x900 screen, so I can't see a thing. I just type the password and hit enter. After that the second screens places to the left of the primary one. But the whole idea is to to that before kde shows up.

Also, related to that, I want plasma/kwin/whatever to always open windows on the primary screen, but it keeps opening stuff in the second screen. Even the kmix volume control which I can't drag back.

Thanks.


Image
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDM wrong resolution at startup

Fri May 09, 2014 10:47 am
Can you try using separate xrandr commands to setup each display, set the primary and then position them appropriately?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Tabris
Registered Member
Posts
29
Karma
0
OS

Re: KDM wrong resolution at startup

Fri May 09, 2014 3:02 pm
Like this?

Code: Select all
xrandr --output VGA1 --primary --mode 1600x900 --rate 60
xrandr --output HDMI2 --mode 1920x1080 --rate 59.9 --left-of VGA1


Image
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDM wrong resolution at startup

Sat May 10, 2014 12:13 am
Yes, like that. Did it have any effect?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Tabris
Registered Member
Posts
29
Karma
0
OS

Re: KDM wrong resolution at startup

Sat May 10, 2014 2:33 pm
Nope. I can see the splash but not KDM.


Image
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDM wrong resolution at startup

Mon May 12, 2014 6:20 am
It is probable that the KDM Greeter component isn't handling your multi screen setup properly unfortunately.
If you set it to use clone mode with a single resolution, does that behave appropriately?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Tabris
Registered Member
Posts
29
Karma
0
OS

Re: KDM wrong resolution at startup

Mon May 12, 2014 4:59 pm
I'll try but clone mode isn't useful at all.


Image


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]