Ubuntu – Choose lightdm login screen location in multi monitor setup

lightdm

How can I set the location for the login screen with lightdm in a multi monitor setup.

If have two monitors (1920×1080) + (1920×1200) and currently after I boot the login is shown on the left (smaller) monitor. I would like to view it only on the right (bigger) monitor.

Switching the cables on the graphics card did not help, and I have already made the bigger screen my primary screen using xrandr:

xrandr --output DVI-1 --primary #big screen

After login my panel is on the primary screen but the login screen itself is shown on the other smaller screen. How can I configure lightdm to display the login only on the bigger screen.

Best Answer

At least with Ubuntu 16.04, which includes lightdm-gtk-greeeter 2.0.1, the following entry in /etc/lightdm/lightdm-gtk-greeter.conf can be used to fix the initial position of the login dialog on a certain monitor:

[greeter]
active-monitor=0

The xrandr workaround didn't work here, too.