Second monitor messy display

The desktop don't start properly when a second monitor is plugged in at boot.
If I unplug the second monitor, restart, enter my login, the desktop display succesfully and then I can plug my second monitor. But I can't restart the computer with the second monitor plugged in without messing my desktop, the icons don't show up the bottom bar neither and the Garuda welcome app is really messy (duplicate icons, fonts not showing properly,etc)
If i open a terminal with alt+f2 and type plasmashell I get:

qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

thanks for a futur response


and post terminal in- and output from

inxi -Fza

as text!

Even if you personally think it is unnecessary.



Oh sorry, I'll be better next time master :pray:

jokes aside, thanks for the documentation

inxi -Fza

System:    Kernel: 5.13.1-179-tkg-bmq x86_64 bits: 64 compiler: gcc v: 11.1.0 
           parameters: intel_pstate=passive BOOT_IMAGE=/@/boot/vmlinuz-linux-tkg-bmq 
           root=UUID=524ce926-71b2-4391-a0da-38e495b65a37 rw rootflags=subvol=@ quiet splash rd.udev.log_priority=3 
           vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 resume=UUID=7d2aa10c-e398-4cf1-99e5-12b680e6af65 
           Desktop: KDE Plasma 5.22.3 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux 
           base: Arch Linux 
Machine:   Type: Laptop System: LENOVO product: 20CLA27BFR v: ThinkPad X250 serial: <filter> Chassis: type: 10 
           serial: <filter> 
           Mobo: LENOVO model: 20CLA27BFR v: SDK0E50510 WIN serial: <filter> UEFI-[Legacy]: LENOVO v: N10ET36W (1.15 ) 
           date: 06/19/2015 
Battery:   ID-1: BAT0 charge: 17.3 Wh (99.4%) condition: 17.4/23.2 Wh (74.8%) volts: 12.3 min: 11.1 model: SANYO 45N1773 
           type: Li-ion serial: <filter> status: Unknown 
           ID-2: BAT1 charge: 17.2 Wh (97.7%) condition: 17.6/23.2 Wh (75.6%) volts: 12.3 min: 11.1 model: SANYO 45N1775 
           type: Li-ion serial: <filter> status: Unknown 
CPU:       Info: Dual Core model: Intel Core i5-5300U bits: 64 type: MT MCP arch: Broadwell family: 6 model-id: 3D (61) 
           stepping: 4 microcode: 2F cache: L2: 3 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 bogomips: 18378 
           Speed: 2450 MHz min/max: 500/2900 MHz Core speeds (MHz): 1: 2450 2: 2471 3: 2718 4: 2295 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX unsupported 
           Type: l1tf mitigation: PTE Inversion 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort mitigation: Clear CPU buffers; SMT vulnerable 
Graphics:  Device-1: Intel HD Graphics 5500 vendor: Lenovo driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:1616 
           class-ID: 0300 
           Device-2: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 2-8:5 chip-ID: 5986:0366 class-ID: 0e02 
           Display: x11 server: X.Org 1.20.12 compositor: kwin_x11 driver: loaded: intel unloaded: modesetting 
           alternate: fbdev,vesa display-ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 507x285mm (20.0x11.2") s-diag: 582mm (22.9") 
           Monitor-1: DP2 res: 1920x1080 hz: 60 dpi: 92 size: 530x300mm (20.9x11.8") diag: 609mm (24") 
           OpenGL: renderer: Mesa Intel HD Graphics 5500 (BDW GT2) v: 4.6 Mesa 21.1.4 direct render: Yes 
Audio:     Device-1: Intel Broadwell-U Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:03.0 chip-ID: 8086:160c 
           class-ID: 0403 
           Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel 
           bus-ID: 00:1b.0 chip-ID: 8086:9ca0 class-ID: 0403 
           Sound Server-1: ALSA v: k5.13.1-179-tkg-bmq running: yes 
           Sound Server-2: JACK v: 0.125.0 running: no 
           Sound Server-3: PulseAudio v: 14.2 running: yes 
           Sound Server-4: PipeWire v: 0.3.31 running: no 
Network:   Device-1: Intel Ethernet I218-LM vendor: Lenovo driver: e1000e v: kernel port: 3080 bus-ID: 00:19.0 
           chip-ID: 8086:15a2 class-ID: 0200 
           IF: enp0s25 state: down mac: <filter> 
           Device-2: Intel Wireless 7265 driver: iwlwifi v: kernel port: efa0 bus-ID: 03:00.0 chip-ID: 8086:095b 
           class-ID: 0280 
           IF: wlp3s0 state: up mac: <filter> 
           IF-ID-1: wwp0s20u4i6 state: down mac: <filter> 
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 2-7:4 chip-ID: 8087:0a2a 
           class-ID: e001 
           Report: bt-adapter ID: hci0 rfk-id: 2 state: up address: <filter> 
Drives:    Local Storage: total: 238.47 GiB used: 56.02 GiB (23.5%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: MZ7LN256HCHP-000H1 size: 238.47 GiB block-size: physical: 512 B 
           logical: 512 B speed: 6.0 Gb/s rotation: SSD serial: <filter> rev: 2H0Q scheme: MBR 
Partition: ID-1: / raw-size: 229.67 GiB size: 229.67 GiB (100.00%) used: 56.02 GiB (24.4%) fs: btrfs dev: /dev/sda1 
           maj-min: 8:1 
           ID-2: /home raw-size: 229.67 GiB size: 229.67 GiB (100.00%) used: 56.02 GiB (24.4%) fs: btrfs dev: /dev/sda1 
           maj-min: 8:1 
           ID-3: /var/log raw-size: 229.67 GiB size: 229.67 GiB (100.00%) used: 56.02 GiB (24.4%) fs: btrfs dev: /dev/sda1 
           maj-min: 8:1 
           ID-4: /var/tmp raw-size: 229.67 GiB size: 229.67 GiB (100.00%) used: 56.02 GiB (24.4%) fs: btrfs dev: /dev/sda1 
           maj-min: 8:1 
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 50 (default 100) 
           ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda2 maj-min: 8:2 
           ID-2: swap-2 type: zram size: 7.47 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0 
Sensors:   System Temperatures: cpu: 49.0 C mobo: N/A 
           Fan Speeds (RPM): fan-1: 4133 
Info:      Processes: 200 Uptime: 1h 46m wakeups: 1 Memory: 7.47 GiB used: 4.3 GiB (57.6%) Init: systemd v: 249 
           tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1538 lib: 344 Shell: fish v: 3.3.1 
           running-in: konsole inxi: 3.3.05 

I'm still learning English but if my first message wasn't clear enough, I'm sorry.

My problem in a nutshell: I can't use Garuda if I plug in a second monitor before the login page.

Hi. I don't think I'll be able to help much, but I was just wondering if this problem occurred recently, e.g. with the latestet update (in that case you could try to rollback to the most recent working snapshot and maybe repeat the update, and/or start troubleshooting what was updated) and especially if you had the chance to check if it occurs also with other kernels.

@filo hello,
this problem has been around for a long time since the first time I installed garuda

Or: you could just use Windows 10 because it detects multiple monitors automatically and saves you a lot of time. It also has reliable updates. You can, of course, stick with Linux;
However, Microsoft has expressed renewed interest in Linux development and they are partnering up. In the end, it's your choice to make:
:pill: or :moneybag:

Do you mean Garuda and Arch and Linux distributions don’t have reliable updates?

1 Like

It could be also a KDE bug (I'm always astonished by how many bugs are in their list).
E.g. look at this one, maybe you can better search there.
(look especially at Comment 1)

I didn't write that.

Thanks, now I know I’m not the only one with this problem.

I tried 3 different kernel, the bug was still there

My other laptop is under Windows 10, but on this one I prefer to stay under linux


Hm, makes sense :wink:

1 Like

When starting with an external monitor attached, BIOS switches the Primary monitor to the external and messes up SDDM and KDE’s default display configuration.

There are startup scripts to use with SDDM to make it do what you want.
Try this, or check Archwiki for other options.
Read more on Multihead.


Thanks you sir !
for /etc/X11/xorg.conf.d/ for a laptop ,I used this config:

# wait 3
if xrandr | grep "$mon2 disconnected"; then
    xrandr --output "$mon2" --off --output "$mon1" --auto
    xrandr --output "$mon1" --off --output "$mon2" --auto

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.