Score:0

Dual monitors on login are working in a mirrored mode instead of be handled as extension

cn flag

I have a laptop and recently connected second monitor (VGA). The problem is when I first boot both monitors show same login screen (like in the mirroring mode).

After login in, both monitors are working as expected (the one is an extension of another). If I lock the screen the login screen appears only on one display.

I am using xfce and lightdm.

I guess the problem is with the boot order of some parts of my system. Like lightdm on boot doesn't know about settings of dual-monitor setup and acts by default.

Can anybody help to make lightdm works as expected on the boot?

David avatar
cn flag
Or it is how your hardware works. You say the problem goes away after you login.
ChanganAuto avatar
us flag
The way it is working is the expected way. Your settings are your user's settings, they come up after you login. PS - It's called "mirrored", not paralel.
gofr1 avatar
cn flag
@ChanganAuto Yes, you're right "mirroring", sorry. So nothing I can do with this?
gofr1 avatar
cn flag
@David Yes, goes away because I have my user settings I guess.
David avatar
cn flag
My Toshiba laptop does the exact same thing. As far as I am concerned nothing to fix. But that is just me.
gofr1 avatar
cn flag
@ChanganAuto Thanks for the pointers, I will dig in that direction!
Score:0
cn flag

I ended up adding this line in /etc/lightdm/lightdm.conf:

display-setup-script=xrandr --output eDP-1-1 --auto --output DP-1-1 --right-of eDP-1-1 --auto

Where eDP-1-1 is my laptop's display and DP-1-1 is second monitor. I made it hard-coded, but it can be automated.

The only bad outcome is after logging in there is a second when both monitors show white color.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.