Hello,
As root, open
/etc/kde/kdm/kdmrc, then in section
[X-*-Greeter], search for key
GreeterScreen. It should be commented and set to -1 by default. Uncomment it, set it to 1 and restart X.
Note that in some case (ex: reset of X), the greeter can be displayed on the wrong screen even with this setting. To fix that, the best solution is to set
GreeterScreen to -1 or to simply comment it, then create a file 10-monitors.conf in /etc/X11/xorg.conf.d/ with a content like as below :
Code:
Section "Monitor"
Identifier "<ID-OF-PRIMARY-MONITORY>"
Option "Primary" "true"
EndSection
Section "Monitor"
Identifier "<ID-OF-SECONDARY-MONITORY>"
Option "RightOf" "<ID-OF-PRIMARY-MONITORY>"
EndSection
Attention, do not forget to change the identifiers <ID-OF-PRIMARY-MONITORY> and <ID-OF-SECONDARY-MONITORY> to match the identifiers of your monitors. You'll find them by running xrandr -q (in bold in example below) :
Code:
Screen 0: minimum 8 x 8, current 3200 x 1080, maximum 16384 x 16384
VGA-0 connected 1280x1024+1920+0 (normal left inverted right x axis y axis) 338mm x 270mm
1280x1024 60.02*+ 75.02
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.94
DVI-D-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
1920x1080 60.00*+
1680x1050 59.95
1280x1024 60.02
1280x960 60.00
1280x720 60.00
1024x768 60.00
800x600 60.32
640x480 59.94
HDMI-0 disconnected (normal left inverted right x axis y axis)
Note that in some case, in might be required to add, in
/etc/X11/xorg.conf.d/10-monitors.conf, section(s) like as below to force the monitor(s) to use the native resolution by default :
Code:
Section "Screen"
Identifier "Primary-Screen"
Monitor "<ID-OF-MONITOR>"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "<NATIVE_RESOLUTION>" "<ALTERNATE_RESOLUTION>" ...
EndSubSection
EndSection
Attention, do not forget to change the identifiers <ID-OF-MONITOR> to match the identifier(s) of your monitor(s), and <NATIVE_RESOLUTION/ALTERNATE_RESOLUTION> to mach the right resolutions.
For instance, one of my Slackware computer has the following configuration :
Code:
# This configuration defines the display *LG W2242S* (on VGA1)
# as primary monitor with integrated LCD display (on LVDS1) on
# the right.
#
# The section 'Screen' ensures that monitor *LG W2242S* always use
# its native resolution by default. In case this monitor is replaced
# by another, this section will have to be modified accordingly.
Section "Monitor"
Identifier "VGA1"
Option "Primary" "true"
EndSection
Section "Monitor"
Identifier "LVDS1"
Option "RightOf" "VGA1"
EndSection
Section "Screen"
Identifier "Primary-Screen"
Monitor "VGA1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1680x1050" "1280x1024" "1152x864" "1024x768" "800x600"
EndSubSection
EndSection
Hope this helps.
--
SeB