I am running openSUSE Tumbleweed on a Fujitsu P701 (with integrated Intel graphics) notebook with a docking station and an external display connected with a VGA.
The problem is. that why I boot pc in a docking station with the lid closed (so with external display only) KDE login screen does not show up. However I am able to type my password blindly and confirm it. After it everything runs smoothly.
In .local/share/kscreen I have two config files: one of them includes config for enabled internal display and the second one for enabled external display (in this config file external display is marked as primary).
Desired situation would be if login screen was shown on an external display when notebook is docked in it’s docking station with a closed lid and on internal display when notebook is undocked and lid is open. (I rarely use both displays at the same time, so I am fine with switching internal one manually in Settings if needed).
I don’t know if its important but I use a xrandr script to set a correct resolution for my display. It runs on startup.
#!/bin/bash xrandr --newmode "1280x1028_60.00" 109.50 1280 1368 1496 1712 1028 1031 1041 1067 -hsync +vsync xrandr --addmode VGA-1 1280x1028_60.00 xrandr --output VGA-1 --mode 1280x1028_60.00
What I tried was modifying config files in .local/share/kscreen so that when internal display is disabled, external one will be recognized as a primary one. But it hasn’t changed anything. Removing them had no effect either.
Thank you for helping