Trouble with external monitors via docking station

Hello everybody,
Since some time now I’m having trouble with my Laptop configuration.

Laptop Model: Surface Pro
External Montitors: 3x Displays connected trough a docking station

If I’m connecting to the docking station the laptop display should be disabled and all three monitors enabled.

kscreen-doctor output:

Output: 1 eDP-1 disabled connected priority 0 Panel Modes: 0:3000x2000@60*! 1:1600x1200@60 2:1280x1024@60 3:1024x768@60 4:2560x1600@60 5:1920x1200@60 6:1280x800@60 7:2880x1620@60 8:2560x1440@60 9:1920x1080@60 10:1600x900@60 11:1368x768@60 12:1280x720@60 Geometry: 0,0 3000x2000 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: Automatic
Output: 2 DP-4 enabled connected priority 1 DisplayPort Modes: 0:1920x1200@60*! 1:1920x1080@60 2:1600x1200@60 3:1680x1050@60 4:1280x1024@60 5:1440x900@60 6:1280x960@60 7:1024x768@60 8:800x600@60 9:640x480@60 Geometry: 1200,447 1920x1200 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: Automatic
Output: 3 DP-5 enabled connected priority 2 DisplayPort Modes: 0:1920x1200@60*! 1:1920x1080@60 2:1600x1200@60 3:1680x1050@60 4:1280x1024@60 5:1440x900@60 6:1280x960@60 7:1024x768@60 8:800x600@60 9:640x480@60 Geometry: 3120,0 1200x1920 Scale: 1 Rotation: 8 Overscan: 0 Vrr: incapable RgbRange: Automatic
Output: 4 DP-6 enabled connected priority 3 DisplayPort Modes: 0:1920x1200@60*! 1:1920x1080@60 2:1600x1200@60 3:1680x1050@60 4:1280x1024@60 5:1440x900@60 6:1280x960@60 7:1024x768@60 8:800x600@60 9:640x480@60 Geometry: 0,0 1200x1920 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: Automatic

Currently I cannot save this configuration with a script without rebooting between configuration steps (with kscree-doctor or display configuration).

The script I’ve set up:

kscreen-doctor output.eDP-1.disable output.4.enable output.4.rotation.left output.4.position.0,0 output.2.enable output.2.rotation.none output2.position.1200,447 output.3.enable output.3.rotation.right output.3.position.3120,0 

The graphics card can only display 3 monitors - so I have to disable the laptop display.

Current “workflow” to get it working:

  • Connect the laptop to the dockingstation, boot
  • Disable laptop monitor in configuration, set up monitors
  • reboot
  • Re-Set monitors
  • Then it’s working

Thanks for any ideas!

bump - really no idea anyone?

Most likely you don’t need to reboot, but just restart the KDE-Session to apply.

systemctl restart display-manager.service

However, I have no idea why it behaves like you described.

Hey, thank you for your reply.
The supplied command will crash my wayland session and return to the login screen. I won’t be able to relogin and have to reboot the system.