Article 4TV4J kvm switch - force display config to stay connected even when monitor disconnected

kvm switch - force display config to stay connected even when monitor disconnected

by
chripy811
from LinuxQuestions.org on (#4TV4J)
I am having a problem with a kvm switch i bought, it works but with 1 problem

I currently have multi-monitors, and when i am using the kvm switch my display settings looks like this, which is correct

display-min.png
https://imgur.com/Tfdc67R

but when i press the kvm button, the first monitor goes away, like below

display2-min.png
https://imgur.com/0hjyu60

which is not a problem because i am not using that computer anymore,

then when i press the kvm switch button again to go back to the orignal desktop, my display settings revert to 2 monitors, which is great

display-min3.png
https://imgur.com/FMnKJMH

which is great, now i can go back to working on my computer

but....

i added more monitors, and it works fine, the 1 monitor always go away and comes back when i press the kvm button

the problem is , when i add more monitors(4 monitors, 2 top, 2 bottom),
that 1 monitor has some sort of glitch after coming back from kvm
the applications(such as firefox or file explorer) stick to edge of the monitor window(monitor 1), it only happens on 1 monitor 1, the monitor which the kvm is hooked up too,

my display settings mess up because the kvm makes the monitor disconnect and my display settings must configure itself back to 4 monitors

i tried,

sudo service lightdm force-reload
sudo service lightdm restart

and it reloads the display settings but it closes all of my applications almost like i logged in and out,
the displays are back to normal and no glitch, but it closed all my applications which is annoying

does anyone what is happening?

the only solutions i can think of is:

1) is there a way i can force the display settings configuration to stay unchanged even if i unplug a monitor or press the kvm button,

2) or is there a way i can refresh lightdm without it "logging in and out"
Attached Thumbnailsattachment.php?attachmentid=31789&stc=1& attachment.php?attachmentid=31790&stc=1& attachment.php?attachmentid=31791&stc=1& latest?d=yIl2AUoC8zA latest?i=bDZqrRatS_k:_oG5IrDOoTY:F7zBnMy latest?i=bDZqrRatS_k:_oG5IrDOoTY:V_sGLiP latest?d=qj6IDK7rITs latest?i=bDZqrRatS_k:_oG5IrDOoTY:gIN9vFwbDZqrRatS_k
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments